ServerMaintenance
This Plugin whitelist the server with a custom kick message and a custom MOTD! This will require Java7!
____________________________________________________________________________
Features
- Custom Welcome MOTD
- Custom Maintenance MOTD
- Custom kick message when trying to log in while maintenance mode is on
- When the player is logged in and the admin turns on the maintenance mode and the player gets kicked (same kick message is used for when they try to log-in)
- Color Code Support on every custom message
- NEW Custom stop messages
- NEW New line support on config with something NEWLINE something else
- NEW Command to automatically download latest version
- Update Checker
____________________________________________________________________________
Installation
- Download the latest file
- Drag and drop the plugin in your server's plugins folder
- Start the server
- Stop the server
- Edit the config
- Start it up and enjoy! :)
____________________________________________________________________________
Commands and Permissions
Command | Function | Permission |
---|---|---|
/maintenance toggle | Toggles The Maintenance Mode | servermmaintenance.toggle |
/maintenance toggledelay | Toggles The Maintenance Mode With Delay! | servermmaintenance.toggle |
/maintenance add <PlayerName> | Add a player to the exempt list | servermmaintenance.player.add |
/maintenance remove <PlayerName> | Removes a player from the exempt list | servermmaintenance.player.remove |
/maintenance reload | Reloads the configuration | servermmaintenance.reload |
/maintenance stop | Stops the server completely | servermmaintenance.stop |
/maintenance update | Updates to the newest version | servermmaintenance.update |
*No Command | Can Login while maintenance mode is on | servermmaintenance.bypass |
*No Command | Recieve a notification when an update is availabe | servermmaintenance.update |
*No Command | All Permissions | servermmaintenance.* |
Help page is available when no command is found.
____________________________________________________________________________
Configuration
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | #Custom Welcome MOTD (Multi-MOTD Support) WelcomeMOTD: - '&6Server &5Hello' - '&4Server: &aAnother MOTD!' #Use the Welcome MOTD useWelcomeMOTD: true #Custom Maintenance MOTD (Multi-MOTD Support) MaintenanceMOTD: - '&8Server: &9Maintenance!' - '&7Server: &1Another maintenance Message!' #Use Maintenance MOTD useMaintenanceMOTD: true #The Kick Message KickMessage: '&4Server Is Under Maintenance!' #This will broadcast the message for the delay command the seconds before the delay is over BroadcastTime: - 1 - 2 - 3 - 4 - 5 - 10 - 15 - 30 - 60 #The format of the seconds BroadcastSecondsMessage: '&4Maintenance Mode In %t Seconds!' #The format of the second BroadcastSecondMessage: '&4Maintenance Mode In %t Second!' #The format of the minute BroadcastMinuteMessage: '&4Maintenance Mode In %t Minute!' #Global message when the servermaintenance mode enables BroadcastOnMaintenanceEnableMessage: '&4Server Is Now In Maintenance Mode' #Global message when the servermaintenance mode disables BroadcastOnMaintenanceDisableMessage: '&bServer Is No Longer In Maintenance Mode' #This will check for updates CheckForUpdates: true #Use only the exempt list UseExemptOnly: false #Don't change this. It will automatically change enabled: true #-NEW- Message when server stops StopMessage: '&6Server Has Stopped! NEWLINE Come Back Later &l:)'! |
____________________________________________________________________________
Video
Youtube Tutorial in Spanish
Send me a link if you want your video here.
____________________________________________________________________________
To-Do
- Reload Message
- Use MOTD Boolean
- Kick all ops except if they are on the allowed-players file (toggled)
____________________________________________________________________________
If you want to suggest something, post below! If you have a comment about this plugin whether you like it or not, post below!
@BurnedRice280
Ok, i'll add an option in the config of how high should the priority be.
@EnergizerBEAST1
I had that issue I recommend that you delete your motd from the properties and leave it blank also make sure that this plugin is your only motd plugin you have installed because it might interfere with other plugins, I had a plugin called colouredmotd and deleted it since it would interfere with this one
@EnergizerBEAST1
I'll check out that bug, meanwhile downgrade and maybe that'll fix the problem.
I have a little problem, of maybe a suggestion, because I don't know of this is a bug, or if it's normal.
When I set a custom MOTD in the config, and reload ServerMaintenance, it shows the MOTD good, but when I reload the server, it will get the MOTD from server.properties
I was thinking, that I can use the plugin for a custom MOTD too, but if it is like this, it won't work good. ;)
If this is like normal, have I the suggestion to add it like this. If it is a bug, then, here you have it. :)
Sorry if I have a bad English, I'm Dutch.
@BurnedRice280
I was checking every single line of code. Well, I'm glad that fixed the issue.
@PatoTheBest
I solved this issue i updated TagAPI, Essentials, and my bukkit to their latest builds and that did the trick
@PatoTheBest
I love this plugin but thats the only thing i hate about it, i really need this fixed
@PatoTheBest
I tried that and when server restarts it gets reset
@BurnedRice280
Try to change the config while the server is running and then do /m reload.
Im having an issue where i have it all set up how i want it then when i restart my server the config resets itself to default, happens on every restart i do
@EterniaNetworks
I will try and add that. I never worked with ProtocolLib so that would be interesting.
@PatoTheBest
Would be awesome if you could add pingmessages with protocolLib. Otherwise amazing plugin!
@xIPad3Zockerx
If you mean Protocol Messages, that would require ProtocolLib.
Please ad a pingmessage :D
@RednecksFTW
For now and if you don't know already vanilla MOTD has multiline using \n in server.properties
Looking forward to the update Pato.
@PatoTheBest
Ok thank you.
@RednecksFTW
The next update will include on the MOTD because right now you can only see it on the kick message. When the new version comes out, don't worry, just do /maintenance update to update.
@PatoTheBest
When I use NEWLINE, It does not show up as a new line. It just says NEWLINE on the MOTD. Can you fix this please?
@rolandostar
Thank you for a more in-depth answer.
The next release is ready. It will include new lines in the kick message by typing something NEWLINE something else in the config. It will be compiled with the latest craftbukkit beta build 1.7.2 and it contains some fixes in the default config. I am just bug testing it and I hope I don't break the auto-updater because on the new version I fixed some bugs in the updater and also changed from Floats to Integers. I am open for more suggestions.
Kind Regards,
-Pato
@StupidMunky4316
Just to expand on the answer provided by the author, the plugin works as it is described in the page, furthermore if your question was meant to ask if the plugin works with the latests builds of craftbukkit for 1.7.2, that too is a yes. If you'd like to request any feature or any additional questions the author is pending of the comments all the time.