Hello guys it’s jackson and welcome back to another script tutorial in this tutorial i will teach you the basics when it comes to make it a custom command a command is something that the player can type in the chat that will perform an action so you’re going to want to make a new Script file if you do not know how to do this check out my last script tutorial on the basics of script inside this file we are going to begin making our custom command custom commands are quite a simple thing to make with scripts so let’s begin The first thing you are going to want to type to make a custom command is command and then the command that you are going to want this command can be anything that you want just make sure that it begins with a slash in this tutorial i’m gonna be making the command slash Diamond so that is what i’m going to type you are going to want to in this line with a colon and press enter to begin typing on the next line some other examples of some commands that you might want or slash spawn help staff but it doesn’t really matter Because the script you can make the name of the command whatever you want on the second line you are going to want to press tab as mentioned in my script basics video everything under the colon needs to have a tab in front of it for the line to be Registered as part of the first line now we are going to go over all of the optional things that you can have in a custom command there are eight different optional settings that we will discuss in this video followed by the required trigger setting just a heads up but these are all Optional settings that we are going to discuss now so try not to get overwhelmed because you don’t actually need all of them you just want a few if you want to make something more specific when you’re doing a custom command the first optional setting is called Aliases an alias is a different word or phrase for the command that can also be used for example you could add dia or slash d to the aliases to make the slash diamond command also run when you do dia you can add as many aliases as you want The second optional setting is called executable by this has three options players console and players and console this allows you to make a command that only the console can execute or one that only players can execute the default is players in console so there is really no need to add this Option if you want both to be able to use it the third setting is permission this will allow you to create a command that requires a specific permission node to use this means that if you want to make a command for moderators on your server you can make the permission of something That will you will only give to the moderator ring such as diamond command which is the one i will use operator players have all permission nodes so it doesn’t matter what you put there if you just want operators to use it the fourth setting is permission message This will change what the game will tell the player if they do not have the required permission from the permission setting you can set this to whatever you want so you can set it to something like you need to buy the donor ring to unlock this command to tell players that they Need the donor rank to do the custom command the fifth setting is description this will allow the player to type a description for the command what you type here will show up in the default slash help menu next to your command this one is completely unnecessary if You’re going to create a custom slash help menu so just remember that the sixth setting is called cooldown followed by however long you want the cooldown of the command to be this will make it so the player has to wait that long before using the command again You could set this to an hour if you wanted to make a kits command that players can only use every hour the seventh setting is called cooldown message this is what the game will tell the player if they are unable to use the command because of the cooldown you set The final optional setting that i will discuss in the script tutorial is the cooldown bypass setting this will add a permission node that will allow people to ignore the command’s cooldown this can be used so that an admin is able to use a command quicker than the normal player base Once you have all of your optional settings set you are able to make the command actually do something to start you are going to want to add the line trigger colon then press enter then tab twice to start typing the effects of the command you can add as many effects as you want Under your command for this tutorial i am just going to be using one simple effect my effect will be give the player 64 diamonds this will give whoever runs the command 64 diamonds now that you have a basic command all set up you can save the file then head over to minecraft On your server you are going to want to reload the script with your command in it and then test out your command if the effects work then you did it you made a custom command my command diamond gives the player 64 diamonds when ran one thing that i did not discuss in the Script tutorial is command arguments in my next tutorial i’ll explain how to use command arguments so stay tuned for that i hope you guys enjoyed the simple script custom command tutorial and if you did don’t forget to check out my other script tutorials if you have any burning questions you would like to Ask me send me a message on twitter like and subscribe to boost my ego and i will see you guys next time Goodbye you Video Information
This video, titled ‘Minecraft Skript Tutorial: Custom Commands | Minehut (August 2020)’, was uploaded by It’s Jackson on 2020-08-18 18:02:01. It has garnered 22159 views and 372 likes. The duration of the video is 00:04:29 or 269 seconds.
Have you ever wanted to create a custom command with skript? In this tutorial I will show you how to make a basic command using skript. I will show you how to add permission requirements, a cooldown, and basic effects. Skript is the best developer tool available on minehut.
Skript Tutorial Playlist: https://www.youtube.com/playlist?list=PLrL3QRNBgLMlZclFU8dlJBv301zk9ZFRd
Documentation: https://skriptlang.github.io/Skript/index.html
Server IP: minehut.com
————————————————————————————————— Twitter » https://twitter.com/ItsJackson9 Subscribe » https://www.youtube.com/channel/UCjSv83xJ_CdG3LEVBlfpzeQ?sub_confirmation=1 —————————————————————————————————
Welcome to my channel, It’s Jackson. As you probably guessed, my name is Jackson. I make videos on all different kinds of games. These include Minecraft, HOI4, Windward, Ect. If you enjoy my content, don’t forget to subscribe.
—————————————————————————————————
Minecraft is a sandbox video game created by Swedish game developer Markus Persson and later developed by Mojang. The creative and building aspects of Minecraft allow players to build with a variety of different cubes in a 3D procedurally generated world.
Skript Script Coding Tutorial Documentation New Updated August 2020 Custom Command