Overview xPLHider is a sophisticated Minecraft plugin that allows server administrators to control which commands are visible and executable by players. The plugin offers comprehensive command hiding capabilities with three powerful management systems:
Permission-Based Command Hiding - Hide commands based on the permissions a player has.
World-Based Command Hiding - Control which commands are available in specific worlds.
Region-Based Command Hiding - Define command restrictions for specific regions (with WorldGuard integration).
All three systems support both
blacklist (hiding specific commands) and
whitelist (only allowing specific commands) modes, providing maximum flexibility for server administrators. The region-based system seamlessly integrates with WorldGuard to automatically detect which region a player is in and apply the relevant command restrictions.
Features
Command Hiding: Hide specific commands from players.
Tab Completion Control: Prevent hidden commands from appearing in tab completion.
Execution Blocking: Prevent players from executing hidden commands.
Hex Color Support: Use hex colors in all messages.
Permission-Based Hiding: Hide commands based on player permissions.
World-Based Hiding: Hide commands in specific worlds.
Region-Based Hiding: Hide commands in specific regions.
Custom Command Aliases: Create and manage custom aliases for commands.
Command Analytics: Track and analyze command usage statistics.
Full Configuration: Customize all aspects of the plugin.
Commands Core Commands
/xplhider reload - Reload the plugin configuration.
/xplhider hide <command> - Hide a specific command.
/xplhider unhide <command> - Unhide a previously hidden command.
/xplhider list - List all currently hidden commands.
/xplhider help - Display the help menu.
Specific Hiding Commands
/permhide add <permission> <command> - Hide a command for players with a specific permission.
/permhide remove <permission> <command> - Unhide a command for players with a permission.
/permhide list [permission] - List all hidden commands for a permission.
/permhide clear <permission> - Clear all hidden commands for a permission.
/worldhide add <world> <command> - Hide a command in a specific world.
/worldhide remove <world> <command> - Unhide a command in a specific world.
/worldhide list [world] - List all hidden commands in a world.
/worldhide clear <world> - Clear all hidden commands in a world.
/worldprofile - Display command restriction profiles for all worlds.
/regionhide add <region> <command> - Hide a command in a specific region.
/regionhide remove <region> <command> - Unhide a command in a specific region.
/regionhide list [region] - List all hidden commands in a region.
/regionhide clear <region> - Clear all hidden commands in a region.
/plughide hide <plugin> - Hide all commands from a specific plugin.
/plughide unhide <plugin> - Unhide all commands from a specific plugin.
/plughide list [plugin] - List commands from a plugin.
Alias Management
/alias add <alias> <command> - Add a custom command alias.
/alias remove <alias> - Remove a custom command alias.
Usage Guide Command Hiding To hide a command from players:
/xplhider hide gamemode
To unhide a previously hidden command:
/xplhider unhide gamemode
Command Aliases To add a new alias:
/alias add day time set day
This will create an alias "day" that will execute "time set day" when used.
To remove an alias:
/alias remove day
To list all available aliases:
/alias list
Aliases can also be configured directly in the config.yml file:
command-aliases: "spawn": "spawnpoint" "tphome": "tp ~ ~ ~" "day": "time set day" "night": "time set night" "heal": "effect give @s minecraft:instant_health 1 10"
This structured document ensures clarity, making it easy to understand and use the xPLHider plugin.