
Maintenance Manager is the ultimate maintenance plugin which makes maintenances times on your server way easier! For the moment, it provides several exclusivities I havn't found anywhere else. It is very simple to use and to configure (even if the configuration is optionnal). I want to make it the best maintenance plugin for Bukkit!
Current version: 2.2
/maintenance is the main command. You'll have to add the following arguments:
Aliases: /mmode , /maint
maintenance.*: Give acces to all MaintenanceManager commands.
maintenance.maintenance: Allows to start or stop a maintenance.
maintenance.maintenance.cancel: Allows to cancel a scheduled maintenance.
maintenance.backup: Allows to use the /maintenance backup command.
maintenance.access: Allows to enter the server during maintenance mode (and don't be kicked when the maintenance begin)
maintenance.reload: Allows to reload the config file.
maintenance.manage.plugins: Allows to disable or enable plugins.
maintenance.cpu: Allows to use the /cpu command.
maintenance.ram: Allows to use the /ram command.
Of course, OP players have these permissions.
By default, the config file looks like this:
#---------- MAINTENANCEMANAGER CONFIGURATION ----------# maintenanceModeOnStart: false remainingSeconds: 0 maxPlayersOnMaintenance: 10 disabledPlugins: [] #----------------------# #General messages # #----------------------# maintenanceStart: '&2&o&lMaintenance time!' maintenanceEnd: '&6&o&lMaintenance finished!' maintenanceMessage: '&c&nThe server is currently under maintenance. Come back later.' kickMessage: '&c&nThe server is currently under maintenance. Come back later.' loginMessage: '&6&o&lThe server is currently in maintenance mode!' cpuUsage: '&3CPU usage : &2&l<cpu>%' ramUsage: '&3RAM usage : &2&l<ram%>% || <ram> MB' #----------------------------------------------------# #----------------------------------------------------# #----------------------# #MOTD related # #----------------------# maintenanceMOTD: '&6&o&lMaintenance mode...' maintenanceWithDurationMOTD: '&6&o&lMaintenance mode...<n>&2&l<minutes> &r&eminutes remaining!' maintenanceWithDurationMOTDLessThanOneMinute: '&6&o&lMaintenance mode...<n>&2Less than one minute remaining!' #----------------------------------------------------# #----------------------------------------------------# #----------------------# #Schedule related # #----------------------# scheduleMessage: '&5&oMaintenance in &4&l<minutes> &5&ominutes!' scheduleMessageSeconds: '&5&oMaintenance in &4&l<seconds> &5&oseconds!' scheduleCanceled: '&a&oThe scheduled maintenance have been canceled!' scheduleLessThanOneMinute: '&5&oMaintenance in less than one minute!' #----------------------------------------------------# #----------------------------------------------------# #----------------------# #Plugins management # #----------------------# pluginDisabled: '&6&l<plugin> &a&osuccessfully disabled!' pluginEnabled: '&6&l<plugin> &a&osuccessfully enabled!' #----------------------------------------------------# #----------------------------------------------------# #----------------------# #Backup related # #----------------------# backingUpMessage: '&e&oBacking up. The server will lag briefly.' backupSuccess: '&2&o&lBackup success!' #----------------------------------------------------# #----------------------------------------------------# #----------------------# #"Already" messages # #----------------------# maintenanceAlreadyLaunched: '&cThe server is already in maintenance mode.' noMaintenanceLaunched: '&cMaintenance mode is already off.' noMaintenanceScheduled: '&cNo maintenance scheduled...' maintenanceAlreadyScheduled: '&cA maintenance is already scheduled.' alreadyBackingUp: '&cPlease wait the end of this backup before backing up again!' #----------------------------------------------------# #----------------------------------------------------# #----------------------# #Error messages # #----------------------# inputErrorSchedule: '&cThe time value for schedule must be an integer!' inputErrorDuration: '&cThe time value for duration must be an integer!' pluginManagementArgumentErrorDisable: '&cPlease name the plugin you want to disable!' pluginManagementArgumentErrorEnable: '&cPlease name the plugin you want to enable!' #----------------------------------------------------# #----------------------------------------------------#
Note: You can use the "<n>" tag to break the line.
To set your custom icon for maintenances, just put an image named maintenance-icon.png in the main folder of your server. The default one auto-creates if the plugins doesn't find any maintenance-icon.png in that folder. Note: Your icon must be a 64X64 png image!
Advice: If you don't want to change the icon, copy-paste server-icon.png and rename it into maintenance-icon.png
Important: If your server is running without icon, maintenance-icon.png will be displayed even out of a maintenance!
To add colors to your texts, just put '&' and a character from 0-9 and a-f before the words you want to color. Please refer you to this page to know formatting codes.
To set up Maintenance Manager, simply download the jar file and put it into "plugins" folder. And now enjoy the uniqueness of MaintenanceManager!
Take a look at the code here.
Your opinion is important for me! Please write a comment below and let me know what you think, what you would like to see in the plugin or what you would like to change! Please report me any bug you have. :) I want to make the best maintenance plugin for Bukkit, and to do that, I need your feedback! Thank you for your time.
If you really enjoy this plugin and you want to reward me for my work, please donate! I would be very grateful!