跳到正文

ServerEssentials

A Server side mod for Fabric servers implementing some widely-known commands in bukkit servers.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

It is a server mod for fabric. (Currently support Chinese only. However you can edit config/Essentials/translation.json)

It implements tpa, tpahere, tpaccept, tpdeny, home, sethome, delhome, back (partly implemented) , warp, setwarp, delwarp, afk, ping, fly, hat, sit.

It has additional command essperm to make vanilla command use luckperms permission and edit operators’ oplevel.

Configurations

  • config/Essentials/config.json
  • sitEnabled = true
  • Allow players to sit on stairs.
  • gameLogEnabled = false
  • Ignore this, experiment feature
  • dropSkullOnDeath = true
  • Drop victims’ skull when killed by a player.
  • config/Essentials/manpages
  • Here we store help messages for players to view via /man
  • For /man command.fly, we will search for config/Essentials/manpages/command/fly/_index.txt. If that was not found, we will try to find config/Essentials/manpages/command/_notfound.txt and then config/Essentials/manpages/_notfound.txt.
  • For /man, we will search for config/Essentials/manpages/_index.txt
  • See the file format below.

Manpages Format

We use \tagname(args){body} or \tagname{body} as to mark up.
to use { in message, you should write \{, so as other characters

Formatting codes

The formatting code (often seen in bukkit servers as &1 &e &r etc) is use as the tagname.

\n{hi} # underline 'hi'
\1{test}\2{test} # same as &1test&2test in bukkit

The color tag and The format tag

You want this to use hex colors

\color(red){this text is red}
\color(#231093){this text is #231093}
\format(underline){------} # we support obfuscated, bold, strikethrough, underline, italic

The run_command, suggest_command, copy_to_clipboard tag

This will add click actions to the text

\run_command(/man command.fly){See the manpage `fly`}
\suggest_command(/tell CaveNightingale){Send personal message to CaveNightingale}
\copy_to_clipboard(content to copy){click here to copy}

The i, p or line, page tag

Used for mutilines pages, they are the same

The first line \i{}
The second line \line{}
The third line

Tags about the command

Good morning, \sourceEntity{}. #sourceEntity is replaced with the player who execute the command
The page `\wantedEntry{}` is not found, so you are seeing this message. #wantedEntry is replaced with the argument of `/man` command

常见问题

ServerEssentials 支持哪些 Minecraft 版本?

ServerEssentials 支持 Minecraft Java 版 1.18.2,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

ServerEssentials 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分