Ping MOTD
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
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.
@ThisUsernameIsMine
You're right I'll upload another version with the fix. :)
Hmm, after doing some testing i've noticed that the last motd of my config never gets displayed :S
Great plugin! keep it up genius!
@user_587959
I haven't been able to reproduce it, could you pastebin me a copy of the error. :)
Awesome plugin!
Anyone else getting this
11:18:33 PM CONSOLE: [SEVERE] Could not pass event ServerListPingEvent to PingMOTD v0.8 ??
Vedio My http://youtu.be/JUqmaZm57_U
ty for the update Death_marine! :)
@navbarry
Actually it is pretty small in comparison to other plugins.
Is this plugin cpu/ram intensive?
@joehot200
There is an error with the plugin on your server though. Today.
I will say, its not quite totally random.
I have 132 MOTD's.
I have theese MOTD's
- '&eWelcome to ze Endcraft!' - '&eWelcome to le Endcraft!' - '&eIll fait du Endcraft!' - '&eWelcome to da Endcraft!' - '&eWelcome to the Endcraft!' - '&eWelcome to an Endcraft!' - '&eWelcome to some Endcraft!' (Crazy MOTD's, i know, but whats endcraft if it isnt crazy? :D)
I refreshed and kept refreshing for over 5 minutes, and i did not see any of them.
@minecraft_pro_demon
This works fine with me, i am using this, and if you add the server "endcraft.net" to your list (my server) you will see i have 132 MOTD's, all using different colours.
@minecraft_pro_demon
It still works with 1.4.7
Edit: "Restrictions: Cannot use colors, trust me I tried to add/code it even every way I could think of." color codes are working..... this is my current config:
update?
@deleted_9101167
Why would you need a restriction for the amount of messages?
hahaha this plugin is still AWESOME! its so cool :D i currently have 56 MOTD's!
Following things don't work for me, sadly: /pingmotdset produces unknown command (/pingmotdadd works, change this in the plugin description please)
/pingmotdreload does not reload the config
Oh yeah, and could you also add the
messagenum: 5
option in the config again?
Loving this plugin!
@Death_marine
You modified the config format. That's why it doesn't work.
EDIT: And /pmotdreload doesn't reload the config
@Death_marine
Can you please make it where you can delete messages?