Back to mods
Custom Commands project artwork

Modrinth · Minecraft mod

Custom Commands

custom command aliases for vanillish servers written in kdl

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Custom Commands release matches 21w41a?

Updated 4 years ago
Best match for your filters 1.1.0
Game version 1.17-pre1, 1.17-pre2, 1.17-pre3
Loader Fabric

Custom Commands 1.1.0 targets 1.17-pre1, 1.17-pre2, 1.17-pre3 with Fabric. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.

Where it goes

Is Custom Commands required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does Custom Commands 1.1.0 need?

1.1.0 on 21w41a. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Custom Commands without breaking your instance.

Built for Custom Commands 1.1.0 on 21w41a. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.1.0. It targets 1.17-pre1, 1.17-pre2, 1.17-pre3 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.1.0. It opens that exact file at the source.

About this project

What does Custom Commands add?

Custom Commands

custom command aliases for vanillish servers written in kdl

custom commands lets server owners write a file at static_data/commands.kdl to add aliases or shorthands for special commands or triggers

current supported nodes:

  • literal <name> - keyword command node
  • requires [requirements] - requirements for parent node, properties determine requirements:
    • permissionLevel - required permission level to run command
  • executes <command> - sets what command the parent node executes

sample configuration:

literal "afk" { //shorthand for afk data pack https://www.planetminecraft.com/data-pack/afk-pack/
    executes "trigger afk"
}
literal "giveall" { //give preset items to everyone on the server
    requires permissionLevel=4
    literal "diamonds" { //escaped quotes
        executes "give @a diamond{display:{Name:'[{\"text\":\"happy diamond\",\"italic\":false}]'}} 64"
    }
    literal "magicsword" { //kdl raw strings
        executes r#"give @p netherite_sword{Unbreakable:1,display:{Name:'[{"text":"magic sword","italic":false}]',Lore:['[{"text":"a sword passed down","italic":false}]','[{"text":"through the ages","italic":false}]','[{"text":"from hero to hero","italic":false}]']},Enchantments:[{id:fire_aspect,lvl:2},{id:knockback,lvl:2},{id:looting,lvl:3},{id:sharpness,lvl:5}]} 64"#
    }
}

Project description from Modrinth.

Pick your setup

Custom Commands by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

23 available setups

Showing the newest 12 of 23 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Custom Commands versions and loaders

2 of 2 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.