Command

Command is a set of text that triggers action when user types it into chat.

NeoForge 26.1.2NeoForge 1.21.1

Step-by-step guide: how to make command →

Fields you fill in

Command name (without /)

The word after the / that the player has to write to define the command, like gamemode, give, setblock, etc.

Execution permission level

The player will need to, at least, have this permission level to execute the command.

You can disable the permission requirement too.

In this case, the command will work even if the cheats are turned off in a given world.

1 is the most basic permission level, and 4 is the highest (server OP level).

Check this page to see which command can be executed with each permission level.

Type

This option allows you to determine the type of the command and how/where it can be used.

  • Standard: The command can be used everywhere. This is the common/normal behavior (e.g. /give).
  • Singleplayer only: The command will be available on singleplayer worlds only (e.g. /publish).
  • Multiplayer only: The command will be available on multiplayer servers only (e.g. /ban).
  • Clientside: The command will be exclusively on the client side, meaning that only actions on the client can be performed.