Maintenance Module
Here you can see all the info you need abuot the maintenance module.
Last updated
Here you can see all the info you need abuot the maintenance module.
Last updated
Main command > /maintenance <on|off|add|remove|addd|Kickall>
<
Permissions:
easystaff.maintenance.* -> all permissions for maintenance
easystaff.maintenance.toggle -> turn on/off the maintenance
easystaff.maintenance.add -> add a player to the maintenance whitelist
easystaff.maintenance.remove -> remove a player from the maintenance whitelist
easystaff.maintenance.kickall -> kick everyone that is not on the whitelist
Sometimes you will see arguments <> means that it is required otherwise the command will just give a error and () is optional.
Enable Maintenance:
To enable maintenance you do /maintenance on
. That will enable maintenance and if you are not on the list off whitelisted players you cannot join.
You can edit the message in the config.yml:
Disable Maintenance:
To disable maintenance you do /maintenance off
. That will disable the maintenance and everyone can join again.
Add players to the Maintenance whitelist:
To add players to the maintenance whitelist you do /maintenance add <player>
. When maintenance is enabled these players can join. When you join the server while maintenance being enabled and you are on the whitelist you get this message:
[Staff] You have joined while maintenance being enabled
You can also add players to whitelist in the config.yml
Remove players from the Maintenance whitelist:
To remove players from the maintenance whitelist you do /maintenance remove <player>
. Now the can't join when maintenance is enabled
Kick all players online:
To kick everyone that is not on the maintenance whitelist you do /maintenance kickall
this will kick everyone that is not on the maintenance whitelist.
Full config: