Getting Started with Command Maker
Welcome to Command Maker! This guide will walk you through everything you need to get started with the mod.
What is Command Maker?
Command Maker is a powerful Minecraft mod for Fabric servers that allows you to:
- Create command aliases: Turn long commands into short, easy-to-remember aliases
- Define custom syntax: Create your own command patterns with parameters
- Use variables: Automatically substitute player names, coordinates, and custom values
- Build complex systems: Create TPA, ban, warp, and custom command systems
Requirements
- Minecraft 1.21.9 or later
- Fabric Loader 0.16.14+
- Fabric API 0.134.0+
- Java 21 or later
Installation
- Download the mod: Get the latest JAR from Modrinth
- Locate mods folder: Open
.minecraft/mods - Drop the JAR: Copy the downloaded JAR into the mods folder
- Launch Minecraft: Start with the Fabric profile
On first launch, Command Maker will automatically create configuration files in config/CommandMaker/
First Steps
Step 1: Launch Minecraft
Start your Minecraft world or server. You should see the message: Nek's Command Maker successfully loaded! in green.
Step 2: Create Your First Alias
In-game, type:
/addcommand add hello say Hello ${player}!
This creates an alias named hello that says a greeting message.
Step 3: Use Your Alias
Now you can use your new alias:
/hello
This will execute: say Hello [YourName]!
Step 4: Delete an Alias
To remove an alias, use:
/addcommand del hello
Understanding Configuration
Command Maker uses JSON configuration files located in config/CommandMaker/:
aliases.json
Stores all your command aliases:
{
"hello": "say Hello ${player}!",
"spawn": "tp ${player} 0 100 0",
"greet": "say Welcome, ${player}!"
}
syntax.json
Defines custom command patterns (NEW in v2.1.0+):
{
"tpa": {
"pattern": "/tpa <player>",
"description": "Teleport request to a player"
}
}
Key Concepts
Variables
Variables are placeholders that get replaced when you execute a command:
${player}- Your username${x},${y},${z}- Your coordinates${custom_var}- Custom variables you set${syntax_name_param}- Custom syntax parameters
Aliases vs Syntax
| Feature | Aliases | Custom Syntax |
|---|---|---|
| Purpose | Shorten commands | Create custom patterns |
| Parameters | Optional | Required in pattern |
| Example | /hello |
/tpa steve |
Common Tasks
Set a Custom Variable
/setcmdvariable myvar myvalue
Use it in aliases with: ${myvar}
Reload Configuration
/addcommand reload
Updates aliases and syntax definitions from files
List All Syntax Patterns
/syntax
View Aliases
/deletealias
Lists all defined aliases
Next Steps
- Read Creating Aliases for more detailed alias creation
- Learn about Custom Syntax System
- Check out Examples like TPA, Ban, and Warp systems
- Browse FAQ for common questions
💡 Pro Tip
Visit your server's config/CommandMaker/ folder to directly edit JSON files for faster configuration without in-game commands.