Ping MOTD
Ping MOTD 处理程序
这是一个插件,允许用户设置多条消息,当服务器被 Ping(刷新)时随机显示其中一条(点击刷新会生成另一条消息)。此 MOTD 在玩家加入之前显示给玩家。它不是欢迎信息,也不会在游戏中显示。
命令
- /pmotd
- 显示当前版本
- /pmotd add (message)
- 权限: pingmotd.add
- 设置要显示的消息
- 例如: /pmotd add &6Welcome!
- /pmotd view [page#]
- 权限: pingmotd.del
- 显示所有当前正在使用的消息
- /pmotd del [id#]
- 权限: pingmotd.del
- 从列表中移除一条消息
- /pmotd reload
- 权限: pingmotd.reload
- 重新加载配置文件
更新日志
v0.0.1
上传功能版本
v0.0.2
添加了随机消息功能
重构了设置和查看功能
更改了命令
v0.0.3
少量代码清理
v0.0.4
适配 1.1 事件处理器
v0.0.5
添加了 /pingmotdreload 命令
修复小问题/清理代码
v0.0.6
大量清理代码
调整配置以实现更简单高效的系统。
v0.7
为彩色消息添加了取色符 ("&") 颜色代码。
(仅在 1.4.2 构建版中有效)
v0.8
现在支持权限控制,并进行了大规模清理
待办事项
暂无想法,你有建议吗?请在下方评论。
配置
示例: config.yml
Messages: - '&3WelcometotheServer' - 'Informationcanbefoundhere!' - '&4Thisserveruses&cPingMOTD!' - 'Enterifyoudare!' - 'Ilikecheese,:P'
这只是一个示例,不过所有这些配置都可以在游戏中完成。
(提示:我在编写此插件时未对 PingMOTD 支持的消息数量进行限制:它可以处理 1 到 100000 条或任何合理的数量。只需通过 add 命令添加或编辑 config.yml 即可。)
一如既往,这里没有任何垃圾软件。
Ping MOTD
Ping MOTD Handler
This is a plugin that allows the user use multiple messages that will change on random when the server is pinged (Clicking Refresh will spawn another message). This MOTD is displayed to the Player before they join. This is not a welcome message or displayed in game.
Commands
- /pmotd
- Displays Current Version
- /pmotd add (message)
- perms: pingmotd.add
- Sets displayed message
- ex: /pmotd add &6Welcome!
- /pmotd view [page#]
- perms: pingmotd.del
- Shows all of the current messages in use
- /pmotd del [id#]
- perms: pingmotd.del
- Removes a messages from the list
- /pmotd reload
- perms: pingmotd.reload
- Reloads the configuration
ChangeLog
v0.0.1
Uploading Functional Version
v0.0.2
Added abilty for random messages
Reworked set and view
Changed Commands
v0.0.3
Minor Code Cleanup
v0.0.4
Updated for 1.1 Event Handler
v0.0.5
Added /pingmotdreload
Minor issues/Cleanup
v0.0.6
Cleaned up a whole lot.
Adjusted configuration for more simple and effective system.
v0.7
Added ampersand ("&") color codes for colored messages.
(Will only work in 1.4.2 builds)
v0.8
Now with permissions, and massively cleaned
TODO
Out of ideas, Got any? Comment below.
Configuration
Example: config.yml
Messages: - '&3WelcometotheServer' - 'Informationcanbefoundhere!' - '&4Thisserveruses&cPingMOTD!' - 'Enterifyoudare!' - 'Ilikecheese,:P'
This is an example however all these configurations can be made in game.
(Hint: I wrote this with no restriction to the amount of messages PingMOTD will work with: 1 to 100000 or whatever makes sense. Just either add via add command or edit config.yml)
As always no bloatware found here.
下载 Ping MOTD
下载 Ping MOTD
下载 Ping MOTD
下载 Ping MOTD
下载 Ping MOTD
下载 Ping MOTD
下载 Ping MOTD
下载 Ping MOTD
v0.8
现在支持权限,并进行了大规模清理
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧