A
lightweight plugin to
hide
command
suggestions
and
tab autocompletions
.
Works on 1.8 - 1.21.X
This plugin was made with help from Grok 2/3 and ChatGPT.
Dependency: If you're using this plugin on 1.8 - 1.12 it needs ProtocolLib - 5.2.0 or newer . ( 1.13+ does not need ProtocolLib ).
Commands:
It only has 1 command
/commandhider reload (To reload the plugin config).
Permissions:
commandhider.admin (To use /commandhider reload - Defaults: OP)
commandhider.TabCompletionFilter.exempt (To be exempt from this filter - Defaults: OP)
Disclaimer this plugin uses Bstats, more info on BStats.org
How does it work?
This plugin works as a filter, all command suggestions and tab autocompletions are hidden, except for the ones in the whitelist.
It has a default whitelist which affects everyone unless the player has OP or the permission specified above.
It also has an option to add custom permissions with custom whitelists so players in different groups can have a separate list of suggested commands and tab autocompletions.
The main use case for this plugin is to make your server more secure, hiding commands from players won't let them check which plugins are loaded by just pressing TAB to check the command list.
IMPORTANT: This plugin does NOT block the execution of commands, it only hides them, you should still use a permissions management plugin like Luckperms.
Config.yml
Support this plugin!
Works on 1.8 - 1.21.X
This plugin was made with help from Grok 2/3 and ChatGPT.
Dependency: If you're using this plugin on 1.8 - 1.12 it needs ProtocolLib - 5.2.0 or newer . ( 1.13+ does not need ProtocolLib ).
Commands:
It only has 1 command
/commandhider reload (To reload the plugin config).
Permissions:
commandhider.admin (To use /commandhider reload - Defaults: OP)
commandhider.TabCompletionFilter.exempt (To be exempt from this filter - Defaults: OP)
Disclaimer this plugin uses Bstats, more info on BStats.org
How does it work?
This plugin works as a filter, all command suggestions and tab autocompletions are hidden, except for the ones in the whitelist.
It has a default whitelist which affects everyone unless the player has OP or the permission specified above.
It also has an option to add custom permissions with custom whitelists so players in different groups can have a separate list of suggested commands and tab autocompletions.
The main use case for this plugin is to make your server more secure, hiding commands from players won't let them check which plugins are loaded by just pressing TAB to check the command list.
IMPORTANT: This plugin does NOT block the execution of commands, it only hides them, you should still use a permissions management plugin like Luckperms.
Config.yml
Code (YAML):
[/COLOR
]
# CommandHider plugin config - 1.2
# Messages
messages:
reload_success : "&dCommandHider &econfiguration reloaded &asuccessfully&e."
no_permission : "&cYou do not have permission to use this command."
# TabCompletionFilter - If disabled this won't do anything.
# If enabled all commands will disappear from command suggestions and tab autocompletion except for the ones in the
# whitelist, adding a command will also add all subcommands automatically.
# This filter won't affect players with OP or if they have the permission commandhider.tabcompletionfilter.exempt
TabCompletionFilter:
enabled : true
# This whitelist will affect all players unless they have OP, the exempt permission or a custom whitelist
# permission, where "include_default" is set to "false".
default_whitelist :
- "spawn"
- "msg"
- "tell"
- "warp"
- "tpa"
- "tpaccept"
# Here you can add custom permissions to add or limit more the whitelist for some players.
# If "include_default" is set to "true" it means that players with this permission will be affected by the default whitelist + that whitelist.
# If set to "false" they will only be affected by the custom whitelist.
# You can avoid using custom whitelists by just leaving "custom_whitelists: []" and deleting them if you had any.
# You can also add as many custom whitelists as you want.
custom_whitelists : [ ]
# Custom whitelists examples.
# - permission: "commandhider.custom.1"
# commands:
# - "customcommand_1"
# - "customcommand_2"
# include_default: true
# - permission: "commandhider.custom.2"
# commands:
# - "onlycustomcommand"
# include_default: false
# End of config.
# CommandHider plugin config - 1.2
# Messages
messages:
reload_success : "&dCommandHider &econfiguration reloaded &asuccessfully&e."
no_permission : "&cYou do not have permission to use this command."
# TabCompletionFilter - If disabled this won't do anything.
# If enabled all commands will disappear from command suggestions and tab autocompletion except for the ones in the
# whitelist, adding a command will also add all subcommands automatically.
# This filter won't affect players with OP or if they have the permission commandhider.tabcompletionfilter.exempt
TabCompletionFilter:
enabled : true
# This whitelist will affect all players unless they have OP, the exempt permission or a custom whitelist
# permission, where "include_default" is set to "false".
default_whitelist :
- "spawn"
- "msg"
- "tell"
- "warp"
- "tpa"
- "tpaccept"
# Here you can add custom permissions to add or limit more the whitelist for some players.
# If "include_default" is set to "true" it means that players with this permission will be affected by the default whitelist + that whitelist.
# If set to "false" they will only be affected by the custom whitelist.
# You can avoid using custom whitelists by just leaving "custom_whitelists: []" and deleting them if you had any.
# You can also add as many custom whitelists as you want.
custom_whitelists : [ ]
# Custom whitelists examples.
# - permission: "commandhider.custom.1"
# commands:
# - "customcommand_1"
# - "customcommand_2"
# include_default: true
# - permission: "commandhider.custom.2"
# commands:
# - "onlycustomcommand"
# include_default: false
# End of config.
Support this plugin!
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.8, 1.9, 1.10
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Command Hider is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 1,327 times (via Spigot). Download it and open it directly in the game.