CustomWelcomeMessage

一个用于自定义加入/离开消息的简单插件。

资源图片
# **CustomWelcomeMessage 插件** ## **插件显示自定义玩家加入/离开消息** ### **插件也可在 [SpigotMC.org](https://www.spigotmc.org/resources/customwelcomemessage.120213)!** ### **自版本 2.0.0 起,您可以在 1.16.5+ (而不是 1.18.2+) 上使用此插件** **下载目标:** ✅ 50 下载 ✅️ 100 下载 (✅ 在 SpigotMC 上) ❌ 200 下载 (✅ 在 SpigotMC 上) ❌ 250 下载 (✅ 在 SpigotMC 上) ❌ 300 下载 (✅️ 在 SpigotMC 上) ❌ 500 下载 (✅️ 在 SpigotMC 上)
插件功能 - 自定义加入消息 - 自定义离开消息 - 玩家加入服务器时执行命令 (2.2.0版本新增) - 针对高级会员的自定义加入消息 - 针对高级会员的自定义离开消息 - 自定义唯一加入消息 - 个人加入消息 - 玩家加入时清除聊天 - 支持十六进制颜色 (请阅读 config.yml!!!) - 插件变量 - 检查更新
Config.yml ``` # {PLAYER} - 玩家 # {ONLINE} - 服务器在线玩家数量 # {UNIQUE_PLAYERS} - 唯一玩家数量 # 使用 \n 换行 # 您可以在互联网上生成 HEX 颜色,此插件使用的 HEX 类型为“Legacy”。 # 例如 &x&D&E&B&D&F&F&lWelcome 表示 Welcome 以淡紫色显示 # 发送给加入服务器的玩家的消息 personal-join-message-setting: true personal-join-message: "&a&lWelcome &2&l{PLAYER}&a&l!" # 播放给加入服务器的玩家的声音 personal-join-playsound: true personal-join-sound: "ENTITY_EXPERIENCE_ORB_PICKUP" # 您可以在这里找到任何声音:https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html personal-join-sound-volume: 1.0 # 默认值为 1.0 personal-join-sound-pitch: 1 # 播放声音的速度。1.0 是正常速度,0.5 是正常速度的一半,2.0 是正常速度的 2 倍 # 显示给加入服务器的玩家的标题 personal-join-show-title: true personal-join-title: "&x&D&E&B&D&F&F&lWelcome" personal-join-subtitle: "&6Welcome, {PLAYER}" personal-join-title-fadein: 20 # 进场时间,以 tick 为单位。1 秒 = 20 tick personal-join-title-fadeout: 20 personal-join-title-stay: 100 # 标题淡入后显示多久 # 发送给加入服务器的玩家的空白消息,以清除聊天 personal-clear-chat: true clear-chat-lines-amount: 100 # 玩家加入服务器时发送的空白行数 # 发送给所有玩家,当玩家加入或离开服务器后的消息 global-join-message: "&8[&2+&8] &f{PLAYER}" global-leave-message: "&8[&4-&8] &f{PLAYER}" # 只有 {PLAYER} 占位符在这里有效 join-commands: - "give {PLAYER} minecraft:gold_ingot" - "effect give {PLAYER} minecraft:absorption 30" command-usage: "&6Usage: &e/cwm " plugin-reloaded: "&aPlugin reloaded!" no-permission: "&4&lSORRY! &cYou don't have permission to run this command!" # 检查插件更新 check-updates: true # 玩家第一次加入服务器时发送给所有玩家的消息 unique-player-join: true unique-player-join-message: "&b&l{PLAYER} &fjoined the server for the first time!" # 如果玩家具有自定义权限,则发送给所有玩家的自定义加入消息 premium-join-message: true premium-join-message-list: cwm.vip: "&e&lVIP &f{PLAYER} &7has joined the server!" cwm.admin: "&c&lADMIN &f{PLAYER} &7has joined the server!" cwm.owner: "&4&lOWNER &f{PLAYER} &7has joined the server!" # 如果玩家具有自定义权限,则发送给所有玩家的自定义离开消息 premium-leave-message: true premium-leave-message-list: cwm.vip: "&e&lVIP &f{PLAYER} &7has left the server!" cwm.admin: "&c&lADMIN &f{PLAYER} &7has left the server!" cwm.owner: "&4&lOWNER &f{PLAYER} &7has left the server!" ```
### **命令:** - /cwm reload - /cwm info ### **变量:** - {PLAYER} - 玩家的昵称 - {ONLINE} - 服务器上的玩家数量 - {UNIQUE_PLAYERS} - 唯一玩家数量 ### **权限:** - cwm.usage (用于 /cwm reload 和 /cwm info 命令) ![Stats](https://bstats.org/signatures/bukkit/CustomWelcomeMessage.svg)