Home›Java›Mods›MaintBlock
MaintBlock
ModsJava

MaintBlock

Minecraft Java mod. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
[​IMG]
When you're doing maintenance on your server, you don't want players joining and messing everything up, or seeing features before they are released, do you? With MaintBlock, you can choose who leaves and joins when maintenance mode is activated, just like a far more intuitive, easily enabled and disabled whitelist. MaintBlock features 3 modes with which to select who can leave and join while maintenance mode is on:
If a joining player does not meet the constraints of the selected blocking mode, they will be kicked before they even see the inside of the server, with a customized message, available for editing in the config.

[​IMG]
Current:
Planned:

[​IMG]
======[MaintBlock Help]======
/maint toggle | Toggles maintenance on or off.
/maint mode [mode] | Sets the block mode.
/maint message {message} | Sets the kick message.
/maint whitelist | Whitelist control commands.
/maint reload | Reloads the configs.
Click to expand...
/maint toggle:
arguments: None
description: Toggles maintenance mode on or off.
permissions required: maintblock.master
example: /maint toggle

/maint mode:
arguments: mode[permissions, whitelist, op]
description: Sets the blocking mode of MaintBlock. If no mode is supplied, will return the current mode.
permissions required: maintblock.master
example: /maint mode whitelist

/maint message:
arguments: message{&[0-9,a-f] - color codes, %player% - player's name, %n% - new line}
description: Sets the message players are kicked with.
permissions required: maintblock.master
example: /maint message &eThis server is currently under maintenance. %n%&4Sorry, %player%!

/maint whitelist:
arguments: command{add, remove, list, reset}
description: Lists or executes operations on the whitelist.
permissions requred: maintblock.master
example: /maint whitelist; /maint whitelist add 127.0.0.1

/maint whitelist add:
arguments: add{playername, IP}
description: Adds specified player or IP to whitelist.
permissions required: maintblock.master
example: /maint whitelist add Tudedude; /maint whitelist add 127.0.0.1

/maint whitelist remove:
arguments: remove{playername, IP}
description: Removes specified player or IP from whitelist.
permissions required: maintblock.master
example: /maint whitelist remove Tudedude; /maint whitelist remove 127.0.0.1

/maint whitelist list:
arguments: none
description: Lists all entries in the whitelist, by pages of 10.
permissions required: maintblock.master
example: /maint whitelist list

/maint whitelist reset:
arguments: none
description: Resets the whitelist to empty.
permissions required: maintblock.master
example: /maint whitelist reset

/maint reload:
arguments: none
description: Reloads the configuration files.
permissions required: maintblock.master
example: /maint reload

[​IMG]
MaintBlock only requires two permissions to be used; maintblock.bypass and maintblock.master. The maintblock.bypass node allows the player who holds it to join when the server is using the permissions mode, or when the server is using the whitelist mode and whitelist-strict is set to false. The maintblock.master node gives the same effects as the maintblock.bypass node, as well as allows the user to edit most of the configuration options from ingame, using the /maint command.
[​IMG]
The generated config file has the following information in it, which can freely be changed.:
block-enabled: false
block-mode: whitelist
whitelist-strict: true
whitelist:
- Tudedude
- 127.0.0.1
kick-message: '&eSorry, %player%, this server is under maintenance.%n%&6Come back later!'
Click to expand...

[​IMG]
v1.0:
Released on Spigot, supporting permissions, whitelist, and op modes.
Support for playername or IP whitelisting is added.

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.

MaintBlock is a free Minecraft Java mod. Downloaded 154 times (via Spigot). Download it and open it directly in the game.

Explore more