
ServerCountdown 是什么?
ServerCountdown 允许你设置服务器开放的特定日期。在该日期到达之前,任何尝试连接的玩家都会被踢出,并显示一条可自定义的消息,告知距离服务器开放还有多少时间!
为什么我应该使用 ServerCountdown?
如果你希望以特定时间开始你的 SMP(单人多人混合模式)服务器,此插件旨在实现这一目标。此外,它能清晰地传达服务器何时启动。
配置
要配置此模组:
- 将 CombatLog 放入你的 plugins 文件夹中并启动服务器
- 导航至 plugins/CombatLog/config.yml
- 使用你选择的文本编辑器打开该文件
- 完成后保存文件
- 运行 /sc reload 重新加载配置
注意:支持使用 '§' 进行颜色编码
Prefix(前缀)
插件发送聊天消息时使用的前缀。默认值为 "[§bServer§3Countdown§r] "。
Messages(消息)
此部分中的每一项都是插件发送给聊天窗口或控制台的消息。
部分消息也支持使用 '\n' 来表示换行。
变量支持使用 %var_name% 格式,具体文档请参见 config.yml 内部说明。
Time(时间)
输出为 %time% 的时间以及 KickMsg 和 ConsoleKickMsg 具有高度可定制性。所有功能均在 config.yml 中有详细文档说明。
ClosedUntil
此值最好保持原样,并通过 /sc start <dd.MM.yyyy> <HH:mm:ss> 进行配置。
/sc 命令
/sc reload
重新加载所有配置文件,并在服务器关闭时踢出玩家。
/sc start <dd.MM.yyyy> <HH:mm:ss>
设置服务器开放的时间。
TLTR:
- <dd.MM.yyyy> 欧洲日期格式
- <HH:mm:ss> 时间
详细信息:
- dd 是月份中的第几天(需要为 2 位数字)
- MM 是一年中的月份(需要为 2 位数字)
- yyyy 是年份(需要为 4 位数字 [最小值 1970])
- HH 是一天中的小时(需要为 2 位数字)
- mm 是一小时中的分钟(需要为 2 位数字)
- ss 是一分钟中的秒数(需要为 2 位数字)
/open
立即开启服务器。(将开放时间设置为 "01.01.1970 00:00:00")

What is ServerCountdown?
ServerCountdown allows you to set a specific date on which the server opens. Until that date is reached, any players who try to connect are kicked with a customizable message of how much time is left until the server opens!
Why should I use ServerCountdown?
If you want to start your SMP at a specific time, this plugin aim to achieve that. Additionally, it easily communicates when your server will start.
Config
To configure this mod:
- Start the server with CombatLog in your plugins folder
- Navigate to plugins/CombatLog/config.yml
- Open the file with a text editing program of your choice
- Save the file once you're done
- Run /sc reload to reload the configuration
Note: colors are supported using '§'
Prefix
The prefix for chat messages send by the plugin. The default value is "[§bServer§3Countdown§r] ".
Messages
Each entry in this section is a message send by the plugin to either the chat or the console.
Some messages also support '\n' for newlines.
Variables are supported using %var_name% and are documented inside config.yml.
Time
The time outputted as %time% is the KickMsg and ConsoleKickMsg is highly customizable. All features are documented inside the config.yml.
ClosedUntil
This value is best left untouched and configured trough /sc start <dd.MM.yyyy> <HH:mm:ss>
/sc
/sc reload
Reloads all config files and kicks players if the server is closed.
/sc start <dd.MM.yyyy> <HH:mm:ss>
Sets the time the server opens at.
TLTR:
- <dd.MM.yyyy> European Date
- <HH:mm:ss> Time
Details:
- dd is the day of the month (needs to be 2 digits)
- MM is the month of the year (needs to be 2 digits)
- yyyy is the year (needs to be 4 digits [min 1970])
- HH is the hour of the day (needs to be 2 digits)
- mm is the minute of the hour (needs to be 2 digits)
- ss is the second of the minute (needs to be 2 digits)
/open
Opens the server immediately. (Sets the time to open on to "01.01.1970 00:00:00")
评论 0
登录后参与评分
还没有评论,来抢沙发吧