Block Subcommands While Allowing the Parent Command
Restrict Specific Subcommands
Some commands have subcommands (like /command subcommand). You can block specific subcommands while leaving the parent command accessible.
Steps:
1. Identify the subcommand you want to block (for example, /tp teleport or /give player)
2. Add the subcommand to your whitelist restrictions by specifying the full subcommand path
3. Configure the plugin to block completion and execution of that specific subcommand
4. Players attempting the blocked subcommand will be denied, but can still use other subcommands under the parent command
Test Subcommand Blocking
Have a player with access to the parent command try the blocked subcommand. They should receive a denial message. Verify they can still use other subcommands of the same parent command. This ensures you're only restricting the specific subcommand, not the entire command family.