Hey guys what’s up i hope you’re all doing well today we’re doing something a little bit different we’re doing a script tutorial in this video i will show you guys how to make a simple custom command with script so yeah let’s just get straight into it All right so the first thing you want to do is you want to download script and this is how it looks on mine hot it might look different for you if you have a different host but uh you just gotta go to uh to plugins and type in script And there we have it i have already installed it but you just click install here and restart the server then you want to go into file manager after you restarted server of course go into plugins script and scripts and right here you see there’s a lot Of files here and these are just you know templates to show you how script works any file with a little line here a little dash in front of it is not enabled so you got to keep that in mind if you change anything in here won’t do anything in game But yeah so the first thing you want to do is you want to create a new file let’s just call it youtube and you want to put dot sk after it because that tells it that it’s a script file if you don’t do that you you you can’t Create a new file so we press create and we enter the file so now that we are in our new file we want to start typing but i actually prefer to write my scripts in another program and then you know when i’m done i can copy them into my file on mine or Whatever server host i have so for this i’m using atom which there will be a link in the description to this if you want to use it as well and we’re just going to go to file and new file and then our file will just be named untitled it doesn’t really matter And then we’ll start typing the first thing you want to type is command and then you want to figure out what your command should be so i’m thinking we could do a command that says actually you can do a slash in front that says slash pig and then a colon the Next thing we want to do is we want to press enter and then just on atom you got to do two tabs on other programs there might be only one tab it’s whatever and then we do permission and up so this is basically uh the player has to be up In order to run the command you can also do a specific permissions something like command.pig or something but i’m just gonna do op then we can do another thing we can do permission message and then we can do two of these and then just write something like hey you can’t do that So this is the message it will say if the player doesn’t have permission then the next thing we want to do is do trigger and a colon and uh this is basically where all the stuff is going to happen so you want to do two tabs again and then let’s just give The player 64 pork shop and let’s also just spawn a pig at location of player so this is basically what we will be doing to start with here so this command will if the player has the permission up give the player 64 pork chop and spawn a pig at the Player pretty standard stuff here let’s try it so we want to go into our file here on mine hut and just paste it in do a save down here go back in game and then you do slash script reload youtube and it says successfully reloaded youtube if there’s something wrong with your code Like if you’ve written something wrong then it will say in chat when you reload it anyway let’s try doing it slash pig and look we spawned a pig and we got 64 raw pork chop anyway i hope you guys enjoyed this video if you did leave a like and if you’re New to the channel please subscribe it’s free and yeah i’ll see you guys next time bye You Video Information
This video, titled ‘How To Make Custom Commands – Minecraft Skript Tutorial’, was uploaded by Fan Staaff on 2020-09-24 18:54:54. It has garnered views and [vid_likes] likes. The duration of the video is or seconds.
This video is made in 1.16.3 (September 2020) In this video I will show you how to create a basic command with Skript …