1 246
收录服务器
1 703
注册
44 474
玩家
Custom Join / Leave message 自定义加入/离开消息
加入留言、留言、离开、加入、自定义
作 者 ivo
发布时间 2018年7月31日
支持核心 Spigot
原生版本
支持版本 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
点此下载

JoinLeave 插件允许服务器管理员自定义玩家加入和离开服务器时的消息,包括首次加入消息、标题显示、烟花效果、声音效果等。它还支持根据权限隐藏玩家,禁用全部加入/离开消息,并使用 Essentials 插件的昵称。插件提供了多种配置选项和语言支持,方便服务器进行个性化设置。


🎉

JoinLeave 插件

⭐支持的 Minecraft 版本

  • 原生 Minecraft 版本: 1.19
  • 测试 Minecraft 版本: 1.8 - 1.20

✨特性

  • 可自定义的加入/离开消息
  • 游戏内命令
  • 首次加入消息
  • 加入时显示标题
  • 加入时燃放烟花
  • 加入时播放声音
  • 根据权限隐藏玩家
  • 禁用所有玩家的加入/离开消息
  • 使用 Essentials 插件的昵称
  • 添加自定义语言

⌨️命令

  • /joinleave reloadconfig - 重载配置文件
  • /joinleave set join <message> - 设置加入消息 (使用 %player% 显示玩家名)
  • /joinleave set leave <message> - 设置离开消息 (使用 %player% 显示玩家名)
  • /joinleave show join - 显示当前加入消息
  • /joinleave show leave - 显示当前离开消息

⚙️配置

Config.yml


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


Languages:
  EN:
    NoPermissions: You re not allowed to use this command!
    NoSubCommand: Please fill in a sub command!
    CommandDoesntExist: This command doesnt 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 及更高版本中修复。

如何添加语言?

  1. 打开 Lang.yml 文件。
  2. 复制以下内容:
    
    EN: 
        NoPermissions: You re not allowed to use this command!
        NoSubCommand: Please fill in a sub command!
        CommandDoesntExist: This command doesnt 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
    
  3. 粘贴到 NL 版本下面。
  4. EN 更改为你想要的语言代码,例如 DE
  5. 翻译加粗的文字。
  6. config.yml 文件中,将 Language: EN 更改为 Language: DE
  7. 重启/重载服务器或使用命令 /joinleave reloadconfig

为什么命令后显示 null?

在配置中输入了无法识别的语言。检查 Lang.ymlConfig.yml 文件,确保输入了正确的语言代码 (例如 ENNL,而不是 NEENLL)。

为什么开启声音后连接时听不到任何声音?

可能输入了 Minecraft 无法识别的声音。检查控制台是否有错误消息。如果存在,请参考 Minecraft Sound List 查找可用的声音。注意,声音名称区分大小写。

更新插件到新版本后出现错误?

可能是因为没有更新配置文件。尝试删除旧的配置文件,让插件创建一个新的。

加入服务器时,其中一个加入功能显示标准输入?

可能是配置中输入错误。检查控制台是否有错误消息,并根据错误消息进行调整。

插件在 1.18 上无法工作,但在旧版本上可以?

可能运行了错误的 Spigot/Paper 版本。可以尝试使用旧版本 Minecraft 构建的版本,该版本具有与此插件最旧版本相同的功能。

🚀未来更新计划

  • 玩家首次加入时发送特殊声音
  • GUI 界面用于启用/禁用设置
  • 为特定玩家创建自定义加入消息
  • 版本检查器 (用于警告/检查是否运行旧版本或有 Bug 的版本)

如果您有任何建议,请在 Discord 上联系我!

统计数据通过 bStats 收集,这是一个为 Minecraft 软件收集匿名数据的开源服务。 您可以在 plugins/bStats/config.yml 中选择退出。