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!
-
View User Profile
-
Send Message
Posted Sep 23, 2013@Randoro93
Sorry for late reply, Are you using Java 7 (not Java 6)? If you are, is there any other plugin that handles MOTD? If you are not sure, List all of your plugins.
-
View User Profile
-
Send Message
Posted Sep 23, 2013Got this error.
http://pastebin.com/8vUFh1wG
-
View User Profile
-
Send Message
Posted Sep 11, 2013@EvilWosby
Will add it later, but will require ProtocolLib. Might make a new project as an extension for this plugin for protocol messages and modify online players int.
-
View User Profile
-
Send Message
Posted Sep 8, 2013Is it possibe that you can add like You know if a server is out-dated etc, and you see 1.5.2(If the server is 1.5.2) On the left of the connection bars well if you can make it say MAINTENANCE or a configurable message that would be great!
I know this is possible because theres a plugin that can edit that.
-
View User Profile
-
Send Message
Posted Sep 1, 2013@MyNameIsHariK
Thanks!
-
View User Profile
-
Send Message
Posted Sep 1, 2013@PatoTheBest
You Sir, Is awesome for making a brillian plugin ;)
-
View User Profile
-
Send Message
Posted Aug 3, 2013feedback would be apreciated
800 downloads :o
-
View User Profile
-
Send Message
Posted Jul 20, 2013700 Downloads! You Guys Are AWESOME!
-
View User Profile
-
Send Message
Posted Jul 15, 2013@Bjarnootjuh
Replace the %s With %t (sorry but %t stands for time in my plugin)
-
View User Profile
-
Send Message
Posted Jul 15, 2013@PatoTheBest
I changed it in the config, it now looks like:
And this is what I get: http://gyazo.com/759f39373e5549656dd46dbb4cece8d1
-
View User Profile
-
Send Message
Posted Jul 14, 2013@Bjarnootjuh
Did It Work?
-
View User Profile
-
Send Message
Posted Jul 13, 2013@Bjarnootjuh
Try and replace %s with %t
-
View User Profile
-
Send Message
Posted Jul 13, 2013@Bjarnootjuh
Try and replace %s with %t
-
View User Profile
-
Send Message
Posted Jul 13, 2013Delay command works, but the countdown doesn't. It says: ... %s seconds!. And if it goes into maintenance mode, nobody is kicked.
-
View User Profile
-
Send Message
Posted Jul 11, 2013New Version Is Available!
-
View User Profile
-
Send Message
Posted Jul 11, 2013Delayed command COMPLETE! Sorry but it was really hard to make it because I had to make a repeating task to subtract a second from the countdown every 20 ticks and check if the config contains the integer that matches the countdown so it can broadcast the seconds, and I had to make a delayed task so it can cancel the repeating task after the countdown reaches to 0. So yeah, that part is complete. Im working on the custom message from config (Maintenance Mode In %t Seconds) and save the mode when you restart your server. Thanks for taking your time to read this.
-Pato
-
View User Profile
-
Send Message
Posted Jul 9, 2013I`m Back! NEW VERSION FOR 1.6 IN DEVELOPMENT!
-
View User Profile
-
Send Message
Posted Jul 5, 2013@revilosmith1999
Are you using Java 7? Sorry for the late reply.
-
View User Profile
-
Send Message
Posted Jul 3, 2013Could you update to work with 1.6 please!?
-
View User Profile
-
Send Message
Posted Jun 28, 2013@rolandostar
Thanks! I'm on vacations again so I'll be working on the plugin in about a week. Meanwhile, I'll be checking comments frequently. Thanks again!
-Pato