Ping MOTD

Ping MOTD

16.2k Downloads

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.

Ping MOTD on Github

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
https://github.com/deathmarine/PingMOTD/commit/dbbf4fb007df2113fc4a0b98bbca4e1fbf03cec8

TODO

Out of ideas, Got any? Comment below.

Configuration

Example: config.yml

Messages:
- '&3Welcome to the Server'
- 'Information can be found here!'
- '&4This server uses &cPingMOTD!'
- 'Enter if you dare!'
- 'I like cheese, :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.