Complete Command Reference
/cmd
Description: Manage command aliases
Subcommands
| Command | Description | Example |
|---|---|---|
/cmd reload |
Reload aliases and syntax from config files | /cmd reload |
/cmd add |
Create a new alias | /cmd add hello say Hello! |
/cmd del |
Delete an alias | /cmd del hello |
/cmd function |
Execute a function from the Functions folder | /cmd function test |
/setcmdvariable
Description: Set custom variables for your player
Usage: /setcmdvariable <variable> <value>
Example: /setcmdvariable home 100 64 -200
Use in alias: ${home}
/deletealias
Description: List all aliases or delete a specific one
Usage:
/deletealias- Lists all aliases/deletealias <alias>- Delete specific alias
/deletealiases-gui
Description: Opens GUI for managing aliases
Features:
- View all aliases as clickable stone blocks
- Hover to see alias name and target command
- Click to delete
- Scroll with mouse wheel
/syntax
Description: View all custom syntax patterns
Usage: /syntax
Shows: All defined custom syntax patterns with descriptions
/cmd
Description: Shortcut command for common operations
Subcommands
| Command | Description | Example |
|---|---|---|
/cmd add <alias> <command> |
Create a new alias | /cmd add hello say Hello! |
/cmd del <alias> |
Delete an alias | /cmd del hello |
/cmd reload |
Reload aliases and syntax from config files | /cmd reload |
/cmd gui |
Open GUI for managing aliases | /cmd gui |
/cmd syntax |
View all custom syntax patterns | /cmd syntax |
/cmd setvar <key> <value> |
Set a custom variable | /cmd setvar home 100 64 -200 |
Built-in Variables
| Variable | Description | Example |
|---|---|---|
${player} |
Your player name | steve |
${x} |
Your X coordinate | 100 |
${y} |
Your Y coordinate | 64 |
${z} |
Your Z coordinate | -200 |
${custom_var} |
Custom variable you set | myvalue |
${syntax_param} |
Custom syntax parameter | steve |
Functions
Description: Execute multi-line command sequences stored in function files
Location: config/CommandMaker/Functions/<name>.mcfunction
Usage:
- Create a
.mcfunctionfile in the Functions folder - Each line is executed as a separate command
- Lines starting with
#are comments and ignored - Use
/cmd function <name>to execute - Variables like
${player}work in functions
Example function file (test.mcfunction):
# Test function
say Hello from function!
tellraw @s {"text":"Function executed!","color":"green"}
💡 Tip
All aliases you create are also commands! Type /alias_name [args] to execute them.