JoinLeave (加入离开消息设置-简单实用)
Native Minecraft Version: 1.19
Tested Minecraft Versions: 1.8-1.20
Languages Supported: English/Dutch
这是一个基本的插件,功能还在不断更新中。这个插件只使用配置文件和内置命令,可以让你更改加入和离开服务器时的提示消息。
功能
- 可更改加入/离开消息
- 内置命令
- 首次加入消息
- 加入时的标题提示
- 加入时的烟花效果
- 加入时的声音效果
- 具有权限的玩家加入时可以隐藏
- 对所有人禁用完整的加入/离开消息
- 使用Essentials插件的昵称替代Minecraft玩家名称
- 添加自定义语言支持
命令
- `/joinleave reloadconfig` - 重新加载配置
- `/joinleave set join | /joinleave set leave` - 使用这些命令可以更改加入/离开消息(如果您希望在消息中包含玩家名称,请使用%player%)
- `/joinleave show join | /joinleave show leave` - 查看当前加入/离开消息
配置文件
Config.yml
yaml
Join: '[&a+&r] &6The player &6&l%player% &6has joined the server!'
Leave: '[&c-&r] &6The player &6&l%player% &6has left the server!'
First-Join-Message: true
First-Join: '[&a+&r] &6The player &6&l%player% &6has joined for the first time!'
Language: EN
CommandPrefix: Join-Leave
Title-Onjoin: true
Hide-Players-With-Perms: false
Disable-Join-LeaveMessage: false
Fireworks-onJoin: true
Sound-onJoin: true
Use-Essentials: false
Lang.yml
yaml
Languages:
EN:
NoPermissions: You're not allowed to use this command!
NoSubCommand: Please fill in a sub command!
CommandDoesntExist: This command doesn't exist!
SetJoinMessage: Join message has been set to
ShowJoinMessage: This is at this moment the join message
SetLeaveMessage: Leave message has been set to
ShowLeaveMessage: This is at this moment the leave message
NL:
NoPermissions: Je hebt niet de juiste permissies om dit command uit te voeren!
NoSubCommand: Vul een subcommando in!
CommandDoesntExist: Dit subcommando bestaat niet!
SetJoinMessage: Het join bericht is gezet naar
ShowJoinMessage: Op dit moment is de join message
SetLeaveMessage: Het leave bericht is gezet naar
ShowLeaveMessage: Op dit moment is de leave message
权限
- joinleave.silentjoin(玩家拥有此权限时,他加入服务器时不会出现加入消息)
- joinleave.silentleave(玩家拥有此权限时,他离开服务器时不会出现离开消息)
- joinleave.set(设置加入/离开消息所需的权限)
- joinleave.show(查看加入/离开消息所需的权限)
- joinleave.help(使用帮助命令所需的权限)
常见问题解答
- 错误代码:java.lang.NullPointerException: Cannot invoke "String.replaceAll(String, String)" because "this.message" is null。这个错误在2.4.1及以上版本中已经修复。
- 如何添加新语言?请到Lang.yml文件,复制EN中的内容,并粘贴到NL版本下,并进行翻译。在config.yml中将Language更改为你所添加的语言代号(如DE表示德语)。
- 为什么在连接时听不到声音?可能是输入了Minecraft未识别的声音,请检查控制台输出以查看错误信息。
- 更新插件后出现错误?可能是配置文件无法兼容新版本,尝试删除旧配置文件并让插件生成新配置文件。
- 加入服务器时某项功能出现默认输入?可能是调整配置文件时输入错误,请查看控制台输出以确认错误。
如需帮助或有其他疑问,请联系Spigot用户kurkentrekker。
(请忽略以下包含的推广信息)
JoinLeave (加入离开消息设置-简单实用)
可用版本为:|1.8|1.9|1.10|1.11|1.12|1.13|1.14|1.15|1.16|1.17|1.18|1.19|1.20
收录