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:

Requirements

Installation

  1. Download the mod: Get the latest JAR from Modrinth
  2. Locate mods folder: Open .minecraft/mods
  3. Drop the JAR: Copy the downloaded JAR into the mods folder
  4. 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:

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

💡 Pro Tip

Visit your server's config/CommandMaker/ folder to directly edit JSON files for faster configuration without in-game commands.