How To Add Minecraft Commands To Your Server
Last modified on Dec 21, 2022 in control panel
With our Game panel, you have the option to create custom commands. These Commands are special functions that can be executed by the panel or in-game to perform a particular task such as backing up, restarting or even issuing in-game commands on the server. By default, certain commands are already created for you within the panel. With little effort, you can create your own commands and we will be teaching you how to.
Creating a new command
You will first want to head to the Game Panel. Once you are there, to the left of the panel click on
Commands. This will open up a new page where you can view, modify, or create commands. To create a command, simply click
Create Command to the top left of the page. When you go to create a command, you will be presented with multiple different options. We have broken them down below for you.
Choosing a Name
When creating a new command, we start off by giving it a unique name. In most cases it will be one that defines that action of the command. For example, will name ours “Cake”.
To run this command, the player needs to have a role greater than or equal to the one defined in this setting. Now depending on what your command does you may want to limit access to it by setting a required role. But for this example we leave it at “None” so all players can get cake.
This define a command that has to have been run before executing the respective command, in our case to receive cake.
This defines the string the player will need to say in-game in order to run the command. For example, will put cake and when we want to be given cake we would need to open the chat in-game and start our message off with the word “cake”.
Send a whispered message in response to running the command to the player who issued it.
This define the command to be run when the respective chat is entered in game; i.e we want to give any player who starts their message off with “cake” a single piece of cake.
e.g Will use the Minecraft give command and add a variable from Multicraft (%n) that inputs the name of the player who said the command to give them a single piece of cake (item id minecraft:cake).
The full command would look like:
/give %n minecraft:cake 1
Once satisfied, click the Create button to save your entry to make it available for use.
Now whenever anyone on the server starts a message with the word cake, they will be given cake.