@@ -14,7 +14,6 @@ creating a cleaner experience for players while still allowing the commands to b
1414
1515Usage: ` /command hide <command> `
1616Hides a command from tab completion.
17- Supports wildcards for bulk operations.
1817
1918** Examples:**
2019```
@@ -32,10 +31,14 @@ Supports wildcards for bulk operations.
3231/command hide <aqua>"*:*"</aqua>
3332```
3433
34+ <Callout type = " warning" >
35+ Using ` /command hide "*" ` will hide literally ** ALL** commands, including ` /command ` itself.
36+ Use ` /command reveal "*" ` to quickly restore all hidden commands.
37+ </Callout >
38+
3539### Reveal a Command
3640Usage: ` /command reveal <command> `
3741Makes a previously hidden command visible again in tab completions.
38- Supports wildcards for bulk operations.
3942
4043** Examples:**
4144```
@@ -53,73 +56,7 @@ Supports wildcards for bulk operations.
5356/command reveal <aqua>"*:*"</aqua>
5457```
5558
56- ## Wildcard Support
57-
58- Commander supports powerful wildcard patterns for bulk command operations:
59-
60- ### Wildcard Patterns
61-
62- - ` * ` - Matches any command name
63- - ` *:* ` - Matches any namespaced command (commands with colons)
64- - ` prefix:* ` - Matches all commands with a specific namespace prefix
65- - ` *suffix ` - Matches all commands ending with a specific suffix
66-
67-
68- <Callout type = " warning" >
69- Using ` /command hide "*" ` will hide literally ** ALL** commands, including ` /command ` itself.
70- Use ` /command reveal "*" ` to quickly restore all hidden commands.
71- </Callout >
72-
73- <Callout type = " warning" >
74- Wildcard operations affect many commands at once.
75- Test carefully and consider using ` /command save ` before bulk operations.
76- </Callout >
77-
78- ### Common Wildcard Examples
79-
80- ```
81- <gray># Hide ALL commands</gray>
82- /command hide <aqua>"*"</aqua>
83-
84- <gray># Hide all vanilla Minecraft commands</gray>
85- /command hide <aqua>"minecraft:*"</aqua>
86-
87- <gray># Hide all Bukkit/Spigot/Paper commands</gray>
88- /command hide <aqua>"bukkit:*"</aqua>
89- /command hide <aqua>"spigot:*"</aqua>
90- /command hide <aqua>"paper:*"</aqua>
91-
92- <gray># Hide all namespaced commands</gray>
93- /command hide <aqua>"*:*"</aqua>
94-
95- <gray># Hide all commands starting with "admin"</gray>
96- /command hide <aqua>"admin*"</aqua>
97-
98- <gray># Hide all commands ending with "list"</gray>
99- /command hide <aqua>"*list"</aqua>
100- ```
101-
102- ### Wildcard Use Cases
103-
104- #### Complete Command Cleanup
105- ```
106- <gray># Hide all namespaced commands</gray>
107- /command hide <aqua>"*:*"</aqua>
108-
109- <gray># Then selectively reveal essential ones</gray>
110- /command reveal <aqua>"essentials:*"</aqua>
111- /command reveal <aqua>"luckperms:*"</aqua>
112- ```
113-
114- ## Behavior
115-
116- ### Hidden Commands
117-
118- - Hidden commands are ** still executable** by players who know the command
119- - Hidden commands don't appear in tab completion
120- - Hidden commands ** still appear** in help menus (` /help ` , ` /? ` )
121-
122- ### Bypass Permission
59+ ## Bypass Permission
12360Players with the ` commander.bypass ` permission can see all hidden commands.
12461
12562<Callout type = " info" >
0 commit comments