This article will help you understand how to create custom commands using the Multicraft panel.
⚠ NOTE ⚠: The custom command that we are creating is a command based on the commands that already exist! You can not create a custom command that is doing something completely new without using a plugin or a mod that adds it.
Also, please note that in most cases you will create a new command via the Multicraft panel to use it for a scheduled task. Here is our guide for using scheduled tasks.
🧬Creating Commands 🧬
On your Multicraft Panel, navigate to Advanced > Commands.
On the Commands page, click Create Command. This will bring you to the New Command page.
On the New Command page, fill out the text boxes and options based on your preference and how you want your custom command to work.
Once you have set all the options for the command, click on the Create button to create the new custom command.
📑The Attributes 📑
- Name: This is what your custom command will be called.
- Required Role: This lets you specify which Multicraft role must a user have to be able to execute the command. You may leave to its default value if you're not sure how to use this.
- Prerequisite: This is another command that has to be running before your new command can be executed. If the command you are looking for does not exist on the dropdown list yet, you may create a separate custom command for that.
- Chat: This is a message that a player can use to execute the command in-game. Leave this blank if you do not want this command to be executed in-game.
- Response: This is a message that is whispered to the player executing this command in-game.
- Run: This is the actual command that should be executed on your server (without the forward slash). This can be any command you can execute from the server console, including any commands of various mods or plugins you may have installed on your server.
🛠 Example 🛠
We will create a custom command to show you how this feature is working. The command that we will create will teleport the player that is using it to a specified x, y, z coordinates.
- The Name of the command is TeleportMe so you can find it into your Multicraft, under Commands by this name. This is how you distinguish the command from the others from the list.
- The Required Role is set to None as we want anyone to be able to use this command.
- The Prerequisite is set to None as we do not want any specific command executed before this one.
- The Chat is set to TeleportMe so when a user will type in-game TeleportMe he will be teleported to the x, y, z coordinates we chose.
Note that you do not have to put / at the start of the command to use it in-game, you actually need to just type TeleportMe.
- The Response is the message that the server will show for the player and it is set in our case to You just got Teleported..
- Finally, the Run is set to tp @p 100 0 100 as this is the actual command that the server will run when a player type 'TeleportMe'.
If you have any issues creating a custom command we please you to contact us on live chat or via the ticket system here.
- Vanilla Commands
- Scheduled Tasks
- How to Manage Permissions Into Your Server
Published on: 09 / 11 / 2020