CustomWelcomeMessage 插件
插件显示自定义玩家加入/离开消息
自版本 2.0.0 起,你可以在 1.16.5+(而非 1.18.2+)上使用此插件
下载目标:
✅50 次下载
✅️100 次下载(✅ 在 SpigotMC 上)
❌200 次下载(✅ 在 SpigotMC 上)
❌250 次下载(✅ 在 SpigotMC 上)
❌300 次下载(✅️ 在 SpigotMC 上)
❌500 次下载(✅️ 在 SpigotMC 上)
插件功能
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&l欢迎 &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 为两倍速
# 显示给加入服务器玩家的标题
personal-join-show-title: true
personal-join-title: "&x&D&E&B&D&F&F&l欢迎"
personal-join-subtitle: "&6欢迎,{PLAYER}"
personal-join-title-fadein: 20 # 时间单位为刻(ticks)。1 秒 = 20 刻
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: "&6用法:&e/cwm <info | reload>"
plugin-reloaded: "&a插件已重载!"
no-permission: "&4&l抱歉!&c你没有权限运行此命令!"
# 检查插件更新
check-updates: true
# 当玩家首次加入服务器时,发送给所有玩家的消息
unique-player-join: true
unique-player-join-message: "&b&l{PLAYER} &f首次加入服务器!"
# 如果玩家拥有自定义权限,则发送给所有玩家的自定义加入消息
premium-join-message: true
premium-join-message-list:
cwm.vip: "&e&lVIP &f{PLAYER} &7已加入服务器!"
cwm.admin: "&c&l管理员 &f{PLAYER} &7已加入服务器!"
cwm.owner: "&4&l所有者 &f{PLAYER} &7已加入服务器!"
# 如果玩家拥有自定义权限,则发送给所有玩家的自定义离开消息
premium-leave-message: true
premium-leave-message-list:
cwm.vip: "&e&lVIP &f{PLAYER} &7已离开服务器!"
cwm.admin: "&c&l管理员 &f{PLAYER} &7已离开服务器!"
cwm.owner: "&4&l所有者 &f{PLAYER} &7已离开服务器!"
命令:
变量:
- {PLAYER} - 玩家昵称
- {ONLINE} - 服务器上的玩家数量
- {UNIQUE_PLAYERS} - 唯一玩家数量
权限:
- cwm.usage (用于 /cwm reload 和 /cwm info 命令)
CustomWelcomeMessage plugin
Plugin shows custom player join/leave message
Plugin is also available on SpigotMC.org!
Since version 2.0.0 you can use plugin on 1.16.5+ (instead of 1.18.2+)
Downloads goal:
✅50 downloads
✅️100 downloads (✅ on SpigotMC)
❌200 downloads (✅ on SpigotMC)
❌250 downloads (✅ on SpigotMC)
❌300 downloads (✅️ on SpigotMC)
❌500 downloads (✅️ on SpigotMC)
Plugin features
-
Custom join message
-
Custom leave message
-
Executing commands, when a player joins the server (Added in 2.2.0)
-
Custom join message for premium ranks
-
Custom leave message for premium ranks
-
Custom unique join message
-
Personal join message
-
Chat clear on join
-
Hex support (read config.yml!!!)
-
Plugin variables
-
Update check
Config.yml
# {PLAYER} - player
# {ONLINE} - amount of players online on the server
# {UNIQUE_PLAYERS} - amount of unique players
# use \n to make new line
# you can generate HEX color on the internet, the type of HEX using in this plugin is "Legacy".
# For example &x&D&E&B&D&F&F&lWelcome is saying Welcome in light-purple color
# messages sent to player who joins the server
personal-join-message-setting: true
personal-join-message: "&a&lWelcome &2&l{PLAYER}&a&l!"
# sound played to player who joins the server
personal-join-playsound: true
personal-join-sound: "ENTITY_EXPERIENCE_ORB_PICKUP" # you can find any sound here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
personal-join-sound-volume: 1.0 # default is 1.0
personal-join-sound-pitch: 1 # speed of playing sound. 1.0 is normal, 0.5 is half of normal speed and 2.0 is 2 times faster than normal speed
# title displayed to player who joins the server
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 # time in ticks. 1 second = 20 ticks
personal-join-title-fadeout: 20
personal-join-title-stay: 100 # how long should title stay after fade in
# blank messages sent to player who joins the server to clear the chat
personal-clear-chat: true
clear-chat-lines-amount: 100 # amount of blank lines to send when player joins the server
# messages sent to all players, after a player joins or leaves the server
global-join-message: "&8[&2+&8] &f{PLAYER}"
global-leave-message: "&8[&4-&8] &f{PLAYER}"
# Only {PLAYER} placeholder works here
join-commands:
- "give {PLAYER} minecraft:gold_ingot"
- "effect give {PLAYER} minecraft:absorption 30"
command-usage: "&6Usage: &e/cwm <info | reload>"
plugin-reloaded: "&aPlugin reloaded!"
no-permission: "&4&lSORRY! &cYou don't have permission to run this command!"
# checks for plugin updates
check-updates: true
# message sent to all players, when a player joins the server for the first time
unique-player-join: true
unique-player-join-message: "&b&l{PLAYER} &fjoined the server for the first time!"
# custom join messsages sent to all players, if a player has a custom permission
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!"
# custom leave messsages sent to all players, if a player has a custom permission
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!"
Commands:
Variables:
- {PLAYER} - player's nickname
- {ONLINE} - amount of players on the server
- {UNIQUE_PLAYERS} - amount of unique players
Permissions:
- cwm.usage (for /cwm reload and /cwm info command)
评论 0
登录后参与评分
还没有评论,来抢沙发吧