使用自定义消息欢迎玩家加入你的服务器,并在他们死亡时显示自定义死亡信息!
更多描述
当玩家加入你的服务器时,你是否总是手动输入“欢迎回来”?现在不必再这样了!ServerWelcome 可以为你自动完成这一操作。你可以配置自己的消息来欢迎老玩家回归,甚至可以为首次加入服务器的新玩家设置一条专属的欢迎语!当玩家首次加入时,它会显示你自定义的消息,以及一个可选的预设消息,告知新玩家他是第几位加入服务器的成员,例如:“欢迎,[玩家名]!你是第 56 位加入我服务器的玩家!”
新功能!ServerWelcome 现已实现死亡信息功能!是否曾想过拥有自定义的死亡提示,却厌倦了为了这个目的而额外下载一个插件?现在无需再为此烦恼,ServerWelcome 已为你搞定。你可以自定义死亡信息,或者如果你对默认的死亡信息满意,只需禁用自定义选项,即可像往常一样正常使用 ServerWelcome!
功能特性
- 显示加入服务器的玩家总数!(详见“更多描述”最后一行)
╔════════════════╦════════════╦══════════════╦═════════════════════════╗
║ Command ║ Permission ║ Default Perm ║ Description ║
╠════════════════╬════════════╬══════════════╬═════════════════════════╣
║ /sw ║ sw ║ OP ║ 显示加入服务器的玩家 ║
║ ║ ║ ║ 总数 ║
╠════════════════╬════════════╬══════════════╬═════════════════════════╣
║ /sw offline ║ sw ║ OP ║ 显示当前离线的玩家数量 ║
║ ║ ║ ║ ║
╠════════════════╬════════════╬══════════════╬═════════════════════════╣
║ /sw dm enable ║ sw ║ OP ║ 启用死亡信息 ║
╠════════════════╬════════════╬══════════════╬═════════════════════════╣
║ /sw dm disable ║ sw ║ OP ║ 禁用死亡信息 ║
╚════════════════╩════════════╩══════════════╩═════════════════════════╝
配置说明
默认的 config.yml 文件内容如下:
########################
# ServerWelcome #
# By Ollirules #
########################
# 你的服务器名称。用于广播消息。
# 不允许使用颜色代码
serverName: 'My Server'
# 玩家首次加入服务器时收到的消息。
# 允许使用颜色代码
# 注意:%PLAYERNAME% 将被替换为玩家的名称!
joinFirstMessage: '&2Welcome to my server %PLAYERNAME%!'
# 玩家再次加入服务器时收到的普通消息。
# 允许使用颜色代码
# 注意:%PLAYERNAME% 将被替换为玩家的名称!
joinMessage: '&3Welcome Back %PLAYERNAME%!'
# 当玩家首次加入时,是否显示他是第几位加入服务器的玩家
showPlayerCount: true
# 是否向全服广播新玩家的加入序号。
broadcastPlayerCount: true
# 是否显示自定义死亡信息。
deathMessageEnable: true
# 自定义死亡信息。
# 允许使用颜色代码
# 注意:%PLAYERNAME% 将被替换为玩家的名称!
deathMessage: '&b%PLAYERNAME% &chas died a gruesome and painful death!'
错误
如果发现任何错误,请留下评论、私信我或提交工单。我会尽快解决!
如果您在服务器上使用此插件,请私信我您的服务器 IP 和欢迎消息,我将挑选最酷的欢迎消息,并将您的服务器 IP 添加到插件描述中!!
Welcomes players to your server with a customizable message and diplays a custom death message when they die!
More Description
When a player joins your server do you always type "Welcome Back", well no more! ServerWelcome does exactly that for you. Configure your own message to welcome back your players and even a customized message to welcome players to your server for the first time! When a player joins for the first time, it will display your customized message and an optional pre-set message that shows the new player what player he is to have joined the server, e.g. Welcome, name! You are the 56 player to have joined my server!
NEW! ServerWelcome has now implemented death messages! Ever wanted to have custom death messages, but tired of having to download and extra plugin just to do that! Well no more, ServerWelcome has you covered, as now you can customise your death messages, or if you are happy with the default death messsages, then just disable the custom one and enjoy ServerWelcome like normal!
Features
- Customised welcome message!
- Customised first join message!
- NEW! Toggleable custom death messages!
- Shows how many players have joined the server! (See last line of More Description)
- See how many players have joined your server altogether, with one command!
Whats New!
- Two new commands to enable and disable death messages!
- Updated plugin to MC 1.11!
Commands & Permissions
╔════════════════╦════════════╦══════════════╦═════════════════════════╗
║ Command ║ Permission ║ Default Perm ║ Description ║
╠════════════════╬════════════╬══════════════╬═════════════════════════╣
║ /sw ║ sw ║ OP ║ Shows how many people ║
║ ║ ║ ║ have joined the server ║
╠════════════════╬════════════╬══════════════╬═════════════════════════╣
║ /sw offline ║ sw ║ OP ║ Shows how many people ║
║ ║ ║ ║ are offline ║
╠════════════════╬════════════╬══════════════╬═════════════════════════╣
║ /sw dm enable ║ sw ║ OP ║ Enables death messages ║
╠════════════════╬════════════╬══════════════╬═════════════════════════╣
║ /sw dm disable ║ sw ║ OP ║ Disbales death messages ║
╚════════════════╩════════════╩══════════════╩═════════════════════════╝
Configuration
The default config.yml looks like this:
########################
# ServerWelcome #
# By Ollirules #
########################
# The name of your server. Used in broadcast messages.
# Colour Codes Not Allowed
serverName: 'My Server'
# The message the player recieves when joining the server for the first time.
# Colour Codes Allowed
# NOTE: %PLAYERNAME% will be replaced with the players name!
joinFirstMessage: '&2Welcome to my server %PLAYERNAME%!'
# The normal message the player recieves when joining the server again.
# Colour Codes Allowed
# NOTE: %PLAYERNAME% will be replaced with the players name!
joinMessage: '&3Welcome Back %PLAYERNAME%!'
# When a player joins for the first time, whether it will show what player number he is to join the server
showPlayerCount: true
# Whether the server broadcasts a new players player number.
broadcastPlayerCount: true
# Whether the custom death message will be displayed or not.
deathMessageEnable: true
# The custom death message.
# Colour Codes Allowed
# NOTE: %PLAYERNAME% will be replaced with the players name!
deathMessage: '&b%PLAYERNAME% &chas died a gruesome and painful death!'
Bugs
Any bugs, please leave a comment, PM me or leave a ticket. I will try to sort them out as soon as possible!
If you use this plugin in you server, PM me your server IP and welcome message and i will pick the coolest welcome message and put your server IP in the plugin description!!
评论 0
登录后参与评分
还没有评论,来抢沙发吧