WelcomeRulezz - 简单的欢迎/登录消息及 /rules 命令
版本:v0.6
WelcomeRulezz 是一个非常简单的插件,用于添加欢迎消息和 /rules 命令。自 v0.4 起增加了 /commands 命令。
如果本发布主题中有任何遗漏,请告知我。
v0.4 版本运行并不完美,请下载 v0.6 或更高版本。
描述中的链接始终是最新版本。
更多信息与下载!
功能:
- 玩家加入服务器时显示游戏内消息
- /rules 命令用于显示服务器规则
- /WelcomeMe 命令再次显示登录消息
- /Commands 命令用于显示服务器命令列表
- 支持权限控制
- 提供 WelcomeMessage.yml 和 Rules.yml 文件以便轻松配置
- 自动创建目录
- 可自定义颜色
- 支持变量
即将推出的功能:
配置说明:
- 非常简单,只需在 .yml 文件中输入您想要的消息即可。您在其中输入的所有内容都将发送给您的玩家。
- 如果您不想使用 /rules 命令或不希望显示登录消息,只需将对应的 .yml 文件留空即可。
权限节点:
- welcomerulezz.welcomeme(对应 /WelcomeMe 命令)
- welcomerulezz.rules(对应 /rules 命令)
- Welcomerulezz.commands(对应 /commands 命令)
颜色代码:
- "&f" = 白色 (WHITE)
- "&e" = 黄色 (YELLOW)
- "&d" = 淡紫色 (LIGHT_PURPLE)
- "&c" = 红色 (RED)
- "&b" = 青色 (AQUA)
- "&a" = 绿色 (GREEN)
- "&9" = 蓝色 (BLUE)
- "&8" = 深灰色 (DARK_GRAY)
- "&7" = 灰色 (GRAY)
- "&6" = 金色 (GOLD)
- "&5" = 暗紫色 (DARK_PURPLE)
- "&4" = 暗红色 (DARK_RED)
- "&3" = 暗青色 (DARK_AQUA)
- "&2" = 暗绿色 (DARK_GREEN)
- "&1" = 暗蓝色 (DARK_BLUE)
- "&0" = 黑色 (BLACK)
如果您想要彩色文本,只需在您希望着色部分的文本前输入相应的颜色代码即可。
例如,如果您希望欢迎消息为:“欢迎来到我的服务器!请阅读 /rules”
并且您希望“欢迎来到”为绿色,“MyServer!”为金色,“请阅读”为绿色,“/rules”为暗蓝色,则您需要输入:
&a Welcome to &6 MyServer! &a Please read the &1 /rules
变量:
- {player} = 玩家名称;
- {online_players} = 当前在线玩家数量;
- {server_name} = 服务器名称;
- {max_players} = 服务器允许的最大玩家数量;
- {player_health} = 玩家生命值;
- {date} = 当前日期;
- {time} = 当前时间。
如果您希望在登录消息中添加变量,只需输入您想要的变量名即可。
例如:当玩家 Britney 登录服务器时,您想对她说:“欢迎 Britney!请阅读 /rules”
您需要在 .yml 文件中输入:"Welcome {player}! Please read the /rules "
更新日志:
WelcomeRulezz - Simple Welcome/Login Message + a /rules command
Version: v0.6
WelcomeRulezz is a very simple plugin to add a Welcome Message and a /rules command. + /commands command since v0.4
If there is something I've missed in this release topic, please let me know.
v0.4 isn't working perfect,... Please dowload v0.6 or later
The link in description is always the latest version.
More info and Download!
Features:
- in Game Message when someone joins the server
- /rules command to display server rules
- /WelcomeMe to display the LoginMessage again
- /Commands to display the server commands
- permissions support
- WelcomeMessage.yml + Rules.yml file for easy configuration
- Auto creates directory
- Configurable Color
- Variables
Upcoming Features:
- in-Game command to change the message/rules
config:
- Couldn't be easier, just type the message you want in the .yml files. Everything you type in there, will be sent to your players.
- If don't want the /rules command or if you don't want the login message, just leave the .yml file blank.
Permission nodes:
- welcomerulezz.welcomeme (/WelcomeMe command)
- welcomerulezz.rules (/rules command)
- Welcomerulezz.commands (/commands command)
Color Codes:
- "&f" = WHITE
- "&e" = YELLOW
- "&d" = LIGHT_PURPLE
- "&c" = RED
- "&b" = AQUA
- "&a" = GREEN
- "&9" = BLUE
- "&8" = DARK_GRAY
- "&7" = GRAY
- "&6" = GOLD
- "&5" = DARK_PURPLE
- "&4" = DARK_RED
- "&3" = DARK_AQUA
- "&2" = DARK_GREEN
- "&1" = DARK_BLUE
- "&0" = BLACK
If you want colors, just type the Color code before the part of the text you want in that color.
For example if you want to have a welcomemessage: "Welcome to MyServer! Please read the /rules"
And you want "Welcome to" in green , "MyServer!" in gold, "Please read the" in green and "/rules" in dark blue, you have to type:
&a Welcome to &6 MyServer! &a Please read the &1 /rules
Variables:
- {player} = Name of the player;
- {online_players} = Number of the players online for the moment;
- {server_name} = Name of your server;
- {max_players} = The maximum amount of players allowed to the server;
- {player_health} = The players health;
- {date} = The current date;
- {time} = The current time.
If you want to add variables to your Login Message, just type the variable you want.
For example: When a player Britney logs in to the server, and you want to say her: "Welcome Britney! Please read the /rules "
You have to type in the .yml file: "Welcome {player}! Please read the /rules "
Changelog:
- v0.5 added Colors + bug fix
- v0.1 first working version
评论 0
登录后参与评分
还没有评论,来抢沙发吧