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!
Hopefully it will be approved tommorrow. Had some problems with some files.
@rolandostar
Weird.
@PatoTheBest
Yeah I noticed that option.
O_o Weird, I got a new e-mail for file update and it's no longer available. I was able to download it earlier though. Well, I'll wait some more until its approved for real.
@rolandostar
By the way, you can disable the check for updates on the config.
@rolandostar
Its not approved, I don't know why you can download it. The update checker error is because there are n files approved, so it cannot compare the lates version with the current one.
Woo! Approved :D Downloading now.
@PatoTheBest
Hey, everything works great, except that when checking for updates it sends an error in console, here it is: http://pastebin.com/R6jqR8Wr
First Beta Build Release! Just got to wait until they approve it.
Gonna try to release a beta jar today, but color codes may be or may not be added to this version.
umm about a week or two (gone for vacations from june 8 to june 14)
@PatoTheBest
ok this looks good how long do you think it will take you?
The base code is done! Commands and permissions need to be added!