@@ -4,4 +4,123 @@ description: Manage command visibility and permissions
44icon : BookMarked
55---
66
7- Coming soon!
7+ # Commander
8+
9+ Commander is a powerful Minecraft server plugin that gives you complete control over command visibility,
10+ permissions, and registration.
11+ Clean up your command list, enhance security, and customize your server's command experience.
12+
13+ ## Features
14+
15+ ### Command Management
16+
17+ - ** Hide Commands** : Control which commands appear in tab completion
18+ - ** Unregister Commands** : Completely remove commands from the server
19+
20+ ### Permission Control
21+
22+ - ** Override Permissions** : Set custom permissions on any command
23+ - ** Query Permissions** : Check current permission settings
24+ - ** Add Security** : Restrict commands that originally had no permissions
25+
26+ ### Configuration
27+
28+ - ** JSON Configuration** : Simple, human-readable configuration files
29+ - ** Hot Reload** : Apply changes without server restart
30+ - ** Manual Editing** : Direct configuration file access
31+
32+ ## Quick Start
33+
34+ ### Basic Usage
35+
36+ The main command of Commander is ` /command ` (or ` /commandv ` on the proxy),
37+ and requires the permission ` commander.admin ` :
38+
39+ ```
40+ <gray># Hide commands from players</gray>
41+ /command hide <aqua>plugins</aqua>
42+ /command hide <aqua>pl</aqua>
43+
44+ <gray># Add permissions to unrestricted commands</gray>
45+ /command permission set <aqua>luckperms</aqua> <yellow>luckperms.use</yellow>
46+
47+ <gray># Remove dangerous commands entirely</gray>
48+ /command unregister <aqua>op</aqua>
49+ /command unregister <aqua>deop</aqua>
50+
51+ <gray># Save your changes (not required)</gray>
52+ /command save
53+ ```
54+
55+ ### Common Scenarios
56+
57+ #### Clean Command List
58+
59+ Hide administrative commands from regular players:
60+ ```
61+ /command hide <aqua>plugins</aqua>
62+ /command hide <aqua>version</aqua>
63+ ```
64+
65+ #### Security Hardening
66+
67+ Remove dangerous commands:
68+ ```
69+ /command unregister <aqua>op</aqua>
70+ /command unregister <aqua>deop</aqua>
71+ ```
72+
73+ #### Plugin Integration
74+
75+ Add permissions to plugin commands that lack them:
76+ ```
77+ /command permission set <aqua>luckperms</aqua> <yellow>luckperms.use</yellow>
78+ /command permission set <aqua>eco</aqua> <yellow>economy.admin</yellow>
79+ ```
80+
81+ ## Permission System
82+
83+ ### Required Permissions
84+
85+ - ` commander.admin ` - Access to all Commander commands
86+ - ` commander.bypass ` - See hidden commands (wildcard permissions ignored)
87+
88+ ### Permission Override
89+
90+ Commander can override permissions on (almost) any command, even those from other plugins.
91+ This allows you to:
92+ - Add permissions to unrestricted commands
93+ - Change existing permissions
94+ - Create world-specific or group-specific command access
95+
96+ ## Wildcard Support
97+
98+ Commander supports powerful wildcard patterns for bulk operations on commands:
99+
100+ ### Wildcard Patterns
101+
102+ - ` * ` - Matches any command name
103+ - ` *:* ` - Matches any namespaced command (commands with colons)
104+ - ` prefix:* ` - Matches all commands with a specific namespace prefix
105+ - ` *suffix ` - Matches all commands ending with a specific suffix
106+
107+ <Callout type = " warning" >
108+ Wildcard operations affect many commands at once.
109+ Test carefully and consider using ` /command save ` before bulk operations.
110+ _ To restore from a saved configuration, use ` /command reload ` ._
111+ </Callout >
112+
113+ ## Configuration Files
114+
115+ Commander stores settings in three JSON files:
116+
117+ - ** ` hidden-commands.json ` ** - List of hidden commands
118+ - ** ` unregistered-commands.json ` ** - List of unregistered commands
119+ - ** ` permission-overrides.json ` ** - Command permission overrides
120+
121+ ## Use Cases
122+
123+ - Clean up command clutter for players
124+ - Remove dangerous commands like ` /op ` and ` /deop `
125+ - Add security layers to plugin commands
126+ - Create context-specific command access
0 commit comments