{"id":12913,"date":"2020-09-11T08:50:06","date_gmt":"2020-09-11T08:50:06","guid":{"rendered":"https:\/\/test2.gginternal.net\/knowledgebase\/article\/how-to-create-custom-commands-using-the-multicraft-panel\/"},"modified":"2024-04-12T15:58:28","modified_gmt":"2024-04-12T15:58:28","slug":"how-to-create-custom-commands-using-the-multicraft-panel","status":"publish","type":"ht_kb","link":"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-create-custom-commands-using-the-multicraft-panel\/","title":{"rendered":"How to Create Custom Commands Using the Multicraft Panel"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/banner10_1mgbruh.png\" alt=\"\"\/><\/figure>\n\n\n\n<p>This article will help you understand how to create custom commands using the Multicraft panel.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">\u26a0 NOTE \u26a0: 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.<\/p>\n\n\n\n<p>Also, please note that in most cases you will create a new command via the Multicraft panel to use it for a scheduled task. <\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\"><a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-set-up-and-use-scheduled-tasks\/\">Here<\/a> is our guide for using scheduled tasks.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\ud83e\uddec Creating Commands \ud83e\uddec<\/h1>\n\n\n\n<ol class=\"wp-block-list\">\n<li>On your <a href=\"https:\/\/mc.ggservers.com\/\">Multicraft Panel<\/a>, navigate to Advanced &gt; Commands.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/1_1o1sefm.png\" alt=\"\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\">\n<li>On the Commands page, click Create Command. This will bring you to the New Command page.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/2_75wtqn.png\" alt=\"\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li>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.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/3_rwb50u.png\" alt=\"\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\">\n<li>Once you have set all the options for the command, click on the Create button to create the new custom command.<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\ud83d\udcd1 The Attributes \ud83d\udcd1<\/h1>\n\n\n\n<ul class=\"wp-block-list\">\n<li><p><em>Name<\/em>: This is what your custom command will be called.<\/p><\/li>\n\n\n\n<li><p><em>Required Role<\/em>: 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&#8217;re not sure how to use this<\/p><\/li>\n\n\n\n<li><p><em>Prerequisite<\/em>: 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.<\/p><\/li>\n\n\n\n<li><p><em>Chat<\/em>: 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.<\/p><\/li>\n\n\n\n<li><p><em>Response<\/em>: This is a message that is whispered to the player executing this command in-game.<\/p><\/li>\n\n\n\n<li><p><em>Run<\/em>: 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.<\/p><\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\ud83d\udee0 Example \ud83d\udee0<\/h1>\n\n\n\n<p>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.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><p>The <em>Name<\/em> of the command is <code>TeleportMe<\/code> 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.<\/p><\/li>\n\n\n\n<li><p>The <em>Required Role<\/em> is set to <code>None<\/code> as we want anyone to be able to use this command.<\/p><\/li>\n\n\n\n<li><p>The <em>Prerequisite<\/em> is set to <code>None<\/code> as we do not want any specific command executed before this one.<\/p><\/li>\n\n\n\n<li><p>The <em>Chat<\/em> is set to <code>TeleportMe<\/code> so when a user will type in-game <code>TeleportMe<\/code> he will be teleported to the x, y, and z coordinates we chose.<\/p><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">\u26a0 NOTE \u26a0: You do not have to put <code>\/<\/code> at the start of the command to use it in-game, you actually need to just type <code>TeleportMe<\/code>.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><p>The <em>Response<\/em> is the message that the server will show for the player and it is set in our case to <code>You just got Teleported.<\/code>.<\/p><\/li>\n\n\n\n<li><p>Finally, the <em>Run<\/em> is set to <code>tp @p 100 0 100<\/code> as this is the actual command that the server will run when a player type &#8216;TeleportMe&#8217;.<\/p><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/4_10xytqp.png\" alt=\"\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-success\">If you have any issues creating a custom command we please you to contact us on live chat or via the ticket system <a href=\"https:\/\/ggservers.com\/billing\/submitticket.php\">here<\/a>.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\u2755 Useful Links \u2755<\/h1>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/vanilla-commands\/\">Vanilla Commands<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-set-up-and-use-scheduled-tasks\/\">Scheduled Tasks<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-manage-permissions-on-your-minecraft-server\/\">How to Manage Permissions Into Your Server<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This article will help you understand how to create custom commands using the Multicraft panel. Also, please note that in most cases you will create a new command via the Multicraft panel to use it for a scheduled task. \ud83e\uddec Creating Commands \ud83e\uddec \ud83d\udcd1 The Attributes \ud83d\udcd1 \ud83d\udee0 Example \ud83d\udee0&#8230;<\/p>\n","protected":false},"author":3,"comment_status":"open","ping_status":"open","template":"","format":"standard","meta":{"_acf_changed":false,"_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","footnotes":""},"ht-kb-category":[28],"ht-kb-tag":[],"class_list":["post-12913","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-pterodactyl"],"acf":[],"_links":{"self":[{"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb\/12913","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=12913"}],"version-history":[{"count":3,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb\/12913\/revisions"}],"predecessor-version":[{"id":13196,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb\/12913\/revisions\/13196"}],"wp:attachment":[{"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=12913"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb-category?post=12913"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb-tag?post=12913"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}