Home›Java›Mods›ButtonMaintenance
Provide simple maintenance utility at the press of a single button (or multiple, if desired).

Start by using the `/getmaintenancebutton <ID>` command, in order to receive the Maintenance Mode button.
Use the command `/getrestorebutton <ID>` in order to receive the button that exits the Maintenance Mode.

The configuration allows you the following:
- Op/Deop the player
- Switch the gamemode from survival to creative
- Retain the survival gamemode in order to keep your survival experience intact
- Execute additional commands from the console using the `%player%` placeholder, which replaces that string with the name of the player pressing the button

If you want to add commands to be executed when the buttons are being pressed, simply add them to the respective button list in the config, like this:

Code (Text):
Maintenance commands:
    - "give %player% minecraft:wooden_axe 1"
    - "any"
    - "other"
    - "commands"
 
If you want to remove buttons, use the commands `/unregistermaintenancebutton <ID>` and `/unregisterrestorebutton <ID>`, and the buttons will be destroyed automagically.


This plugin was made as a free commission, and so I haven't invested the time into testing every single dot and comma. If you find any bugs, or have any suggestions at all, please use the `Discussions` tab, and I'll honour them.

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

ButtonMaintenance is a free Minecraft Java mod. Compatible with Minecraft 1.21. Downloaded 32 times (via Spigot). Download it and open it directly in the game.

Explore more