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 Jun 27, 2013\o/ Woo Just noticed the v3.0 Upload.
I gotta say it's working great! Thanks for adding my suggestions c:
I'll definitely be using this plugin for my server for a long long time, that is of course if you keep it updated ;D
Pato really is TheBest :)
-
View User Profile
-
Send Message
Posted Jun 26, 2013@Roytjuh99
Im working on it. Also on the delay command.
-
View User Profile
-
Send Message
Posted Jun 25, 2013Can you please add that the server is on maintenance mode when you toggle it, and also after a reboot from your sever?
-
View User Profile
-
Send Message
Posted Jun 24, 2013When do you think the update will be out?
-
View User Profile
-
Send Message
Posted Jun 24, 2013Thanks For The 260 Downloads!
-
View User Profile
-
Send Message
Posted Jun 24, 2013New version awaiting aproval! sorry, but delay command isn't added. Still need to work on it. getting some errors with it.
-
View User Profile
-
Send Message
Posted Jun 24, 2013@revilosmith1999
Ok.
@mrfloris
Java Version?
-
View User Profile
-
Send Message
Posted Jun 23, 2013I get the same error message on vanilla+latestBukkit with no other plugins;
as @smiggle0404
-
View User Profile
-
Send Message
Posted Jun 23, 2013Ok thanks, and it doesn't matter now I fixed it :)
-
View User Profile
-
Send Message
Posted Jun 23, 2013@revilosmith1999
First comment, what do you mean
Second Comment, will be adding it
-
View User Profile
-
Send Message
Posted Jun 23, 2013Another suggestion: When the server restarts it will stay in maintenance mode, maybe an option in the config
-
View User Profile
-
Send Message
Posted Jun 23, 2013Ok, when I restart the server the config resets? No error in the console?
-
View User Profile
-
Send Message
Posted Jun 23, 2013NEW UPDATE Almost Finished! Just tweaking the delay command. Random MOTD, aliases, Inform an admin when a player tries to join COMPLETE!
-
View User Profile
-
Send Message
Posted Jun 23, 2013@PatoTheBest
Thanks amazing plugin!
-
View User Profile
-
Send Message
Posted Jun 22, 2013@smiggle0404
Which Java version are you using'
@rolandostar
No problem. I'll be trying to add it. I'm finishing the delay code and the aliases are finished. Inform is finished too.
-
View User Profile
-
Send Message
Posted Jun 21, 2013@PatoTheBest
Sorry for the late reply, just noticed the edit.
What I mean is multiple changing server Motd. Take a look at MotdRox for example, what this plugin does is to have multiple Motds and they change each time the refresh button is pressed.
Because ServerMaintenance gets on top of this kind of plugins (Which is great) It'd be nice to have that feature in your plugin too.
Honestly this is the thing that I'd love so much to see developed next.
-
View User Profile
-
Send Message
Posted Jun 21, 2013why do i get this when i try to launch my server? =( Everything else is updated fine 2013-06-22 11:28:28 [SEVERE] Could not load 'plugins/ServerMaintenance.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: org/pato/servermaintenance/Main : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.loadPlugins(CraftServer.java:239) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.<init>(CraftServer.java:217) at net.minecraft.server.v1_5_R3.PlayerList.<init>(PlayerList.java:55) at net.minecraft.server.v1_5_R3.DedicatedPlayerList.<init>(SourceFile:11) at net.minecraft.server.v1_5_R3.DedicatedServer.init(DedicatedServer.java:106) at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:382) at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.UnsupportedClassVersionError: org/pato/servermaintenance/Main : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:249) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173) ... 9 more
-
View User Profile
-
Send Message
Posted Jun 20, 2013@rolandostar
Thanx For The Feedback! Will be working on new updates! What do you mean on the Suggestion 2?
-
View User Profile
-
Send Message
Posted Jun 20, 2013@PatoTheBest
Awesome, downloaded and tested for a bit.
Here's some feedback and suggestions:
Anyway great plugin overall! I'll be following your work.
-
View User Profile
-
Send Message
Posted Jun 20, 2013Nice :D