emopediaMC Posted February 28, 2021 Share Posted February 28, 2021 (edited) Hello all, in this tutorial I will be sharing the basics of Skript. This tutorial will include how to install Skript, how to indent and basic understanding of Skript features.If you don't already have Skript installed, this is how you install it. Start your server Click "Edit Server" Head over to "Plugins" Search "Skript" in the search bar You will see alot of plugins named "Skript Addon: [addon]", don't get them yet Scroll down till you find "Skript" Click on "Skript" Click "Install Plugin" Restart your serverTo access Skript files and make Skripts, do what is shown below Start your server Click "Edit Server" Head over to "File Manager" Find the "Plugins" folder Open the "Plugins" folder Find "Skript" in the "Plugins" folder and open it You should see a folder named "Scripts", click it To add a skript, click on the button that says "Create a file" when you hover over it Enter the file name that you want it to be called. Make sure it has ".sk" at the end and click "Create" Find the file you have just created and open it You can now add code into that skriptReloading, Enabling and Disabling skripts Once you have added some code to a skript, you will need to reload the skript to get that functionality Start your server Join your server Type in chat "/sk reload [skriptname]". If that filename exists in the "Scripts" folder then it should reload. To disable a skript all you need to do is "/sk disable [skriptname]" To enable a disabled skript, do "/sk enable [skriptname]"Indentation Indentation is where alot of people mess up when skripting, they simply do not understand and need a way to learn how to indent. Indentation consists of spaces and tabs. Tabs are the most popular option as they are easier to do than spaces. You need to make sure that you keep a consistent indentation, meaning you cannot indent 1 line 5 spaces, and the next 7 spaces. It is always good to remember that you need to always indent the next line whenever the previous line ends with a :, an exception to this is in command statements with items before the trigger such as permission: or aliases:. Here is an image of proper indentation: Syntaxes Syntaxes can be tricky to learn for a beginner but once you learn them, it is easy to become really good at reading/understanding them Lets say for example we have this syntax:create [a] [new] gui [[with id] %-string%] with %inventory% [and shape %-strings%] The [] means it is optional and you dont need to include it. The %% means an object like player or string Lets take a look at another syntax:create [a] [new] [(full)] bound with id %string% (within|between) %location% and %location% The [] means it is optional and you dont need to include it. The %% means an object like player or string The (example 1|example 2) means you can use example 1 instead of example 2 or example 2 instead of example 1Tutorials A good way of learning Skript is through tutorials on YouTube, they can be very helpful and is how I learned skript at the very start. A good channel to learn Skript from is the offical Minehut YouTube Channel That's all I have time for today folks, I hope you learned something from this tutorial. Edited February 28, 2021 by emopediaMC spelling errors 3 Developer Joined Minecraft in 2010 on PC Joined Minehut in August 2016 1 year Skript experience 2 months Java experience 5 months Javascript experience Link to comment Share on other sites More sharing options...
newgoldendoge Posted February 28, 2021 Share Posted February 28, 2021 coolio. 1 Link to comment Share on other sites More sharing options...
_omga Posted February 28, 2021 Share Posted February 28, 2021 Cool tutorial! 1 If I helped you at all, leave a like! IGN: _omga Discord: omega#1000 Link to comment Share on other sites More sharing options...
BedR0ckPVP Posted February 28, 2021 Share Posted February 28, 2021 You should do different events, how to add permissions, how to add aliases, and what trigger, send, and broadcast does. Also nice beginner tutorial 1 Discord (Please tell me your from Minehut forums so I don't think your some rando XD): FrostPVP™#4733 Server: Bedr0ckPVP.minehut.gg Username: FrostPVP Link to comment Share on other sites More sharing options...
emopediaMC Posted February 28, 2021 Author Share Posted February 28, 2021 1 hour ago, BedR0ckPVP said: You should do different events, how to add permissions, how to add aliases, and what trigger, send, and broadcast does. Also nice beginner tutorial I'm going to be making more Skript Tutorials, thanks for the suggestions. Developer Joined Minecraft in 2010 on PC Joined Minehut in August 2016 1 year Skript experience 2 months Java experience 5 months Javascript experience Link to comment Share on other sites More sharing options...
BedR0ckPVP Posted February 28, 2021 Share Posted February 28, 2021 1 minute ago, emopediaMC said: I'm going to be making more Skript Tutorials Horray! Can't wait for them. 1 Discord (Please tell me your from Minehut forums so I don't think your some rando XD): FrostPVP™#4733 Server: Bedr0ckPVP.minehut.gg Username: FrostPVP Link to comment Share on other sites More sharing options...
CoolProgrammer Posted February 28, 2021 Share Posted February 28, 2021 (edited) •ÙwÚ• Great tutorial Edited February 28, 2021 by CoolProgrammer 1 Hello there! If you're reading this, hope you're having a wonderful day! Feel free to contact me via Discord (CoolProgrammer#1920) for any help. My DMs are always open for help. You can also message via. forum messages for help. Also, don't hesitate to leave a like on my post if I helped you in any way. Link to comment Share on other sites More sharing options...
Jackson85 Posted February 28, 2021 Share Posted February 28, 2021 Awesome tutorial! 1 Joined on January 17th 2016 VIP since April 5 2017 - August 1st 2019 JrMod since August 1st Mod since October 1st SrMod since November 2nd - 2/7/21 Patron since February 8 - 3/7/21 Mod since March 8 2021 Retired since idk when If I helped or entertained you at all today, please react with a heart. Link to comment Share on other sites More sharing options...
BurningBrimstone Posted March 1, 2021 Share Posted March 1, 2021 Very nice. Wish I had this when I was starting out. Cheers! 1 - Discord: Brim#0768 Link to comment Share on other sites More sharing options...
_Tarna_ Posted March 1, 2021 Share Posted March 1, 2021 Cool Tutorial! 1 Discord - tarna256 In-game name - _Tarna_ Website - https://tarna.dev Paste Site: https://paste.tarna.dev --------------------------------------------------------- [VIP] - 7/27/2020 Support - 7/8/20 | 11/3/20 Helper - 11/3/20 - 2/21/21 Moderator - 2/21/21 - 5/17/21 - 5/17/21 - now Moderator - 12/20/22 - now --------------------------------------------------------- Link to comment Share on other sites More sharing options...
Tistay Posted March 1, 2021 Share Posted March 1, 2021 Time to send this to 90% of the people in Skript channel 2 I use Skript sometimes. The one and only. Link to comment Share on other sites More sharing options...
kill05 Posted March 1, 2021 Share Posted March 1, 2021 Emopedia lookin' good 1 Link to comment Share on other sites More sharing options...
Pihlajaluukas Posted July 10, 2021 Share Posted July 10, 2021 moi Link to comment Share on other sites More sharing options...
wxterfall Posted July 10, 2021 Share Posted July 10, 2021 Please don't necropost. (Posting on posts older than about 1 month) If you like what I post or I've helped you please leave a like or upvote my posts! Thanks! Link to comment Share on other sites More sharing options...
Scaavenged Posted September 18, 2022 Share Posted September 18, 2022 skript only shows up as a file, not a folder Link to comment Share on other sites More sharing options...
eliassk Posted April 11 Share Posted April 11 On 2/28/2021 at 1:42 AM, emopediaMC said: Scroll down till you find "Skript" I cant find an add-on that's only named Skript. Do I look for the right add-on? Link to comment Share on other sites More sharing options...
ApexSplat Posted April 11 Share Posted April 11 3 hours ago, eliassk said: I cant find an add-on that's only named Skript. Do I look for the right add-on? https://github.com/SkriptLang/Skript/releases Discord: Dead#6905 Love anime! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now