Commands and Permissions
Commands
Section titled “Commands”-
global-banThe root command for the Global Ban mod.
Usage/global-ban <subcommand> [arguments] -
global-ban reloadReloads the configuration files for the Global Ban mod.
Usage/global-ban reload -
global-ban importImports data into the Global Ban mod. Optionally cleans up old data.
Usage/global-ban import [cleanup boolean] -
global-ban banlistDisplays the list of banned players and IPs.
Usage/global-ban banlist [page integer] -
banlistDisplays the list of banned players and IPs.
Usage/banlist [page integer] -
kickKicks a player from the server.
Usage/kick <player> [reason] -
banBans a player from the server.
Usage/ban <player> [reason] -
tempbanTemporarily bans a player from the server.
Usage/tempban <player> <duration> [reason] -
ban-ipBans an IP address from the server.
Usage/ban-ip <ip> [reason] -
tempban-ipTemporarily bans an IP address from the server.
Usage/tempban-ip <ip> <duration> [reason] -
unbanUnbans a player from the server.
Usage/unban <player> -
unban-ipUnbans an IP address from the server.
Usage/unban-ip <ip> -
pardonPardons a player from the server.
Usage/pardon <player> -
pardon-ipPardons an IP address from the server.
Usage/pardon-ip <ip>
Overridden Vanilla Commands
Section titled “Overridden Vanilla Commands”The following vanilla commands have been overridden to use the global-ban system instead of the vanilla ban system. This allows for a more seamless experience for server owners and players, as they can use the same commands they are used to, but with the added functionality of the global-ban system.
To continue using the vanilla commands, you can use the minecraft: prefix before the command. For example, to use the vanilla ban command, you would use /minecraft:ban <player> [reason].
| Vanilla Command | Replaced with |
|---|---|
ban | minecraft:ban |
ban-ip | minecraft:ban-ip |
banlist | minecraft:banlist |
kick | minecraft:kick |
pardon | minecraft:pardon |
pardon-ip | minecraft:pardon-ip |
Permissions
Section titled “Permissions”The following permission nodes can be used to control access to the various commands and features of the global-ban system. These permission nodes can be used with any permission management system, such as LuckPerms, to control access to the commands and features of the global-ban system.
| Permission Node | Description |
|---|---|
global_ban.see_known_accounts | Allows Admins to see all known accounts for a player when they connect. |
global_ban.see_bans | Allows Admins to see bans when they happen, and when they are applied. |
global_ban.can_ban_admins | Allows Admins to ban other Admins. |
global_ban.block_punishments | Blocks all punishments from being applied to the player. |
global_ban.command.global_ban | Allows Admins to use the /global-ban command. |
global_ban.command.global_ban.reload | Allows Admins to use the /global-ban reload command. |
global_ban.command.global_ban.import | Allows Admins to use the /global-ban import command. |
global_ban.command.kick | Allows Admins to use the /kick command. |
global_ban.command.ban | Allows Admins to use the /ban command. |
global_ban.command.temp_ban | Allows Admins to use the /tempban command. |
global_ban.command.ban_ip | Allows Admins to use the /ban-ip command. |
global_ban.command.temp_ban_ip | Allows Admins to use the /tempban-ip command. |
global_ban.command.unban | Allows Admins to use the /unban command. |
global_ban.command.unban_ip | Allows Admins to use the /unban-ip command. |
global_ban.command.pardon | Allows Admins to use the /pardon command. |
global_ban.command.pardon_ip | Allows Admins to use the /pardon-ip command. |
global_ban.command.ban_list | Allows Admins to use the /global-ban banlist & /banlist commands. |