30% OFF First Invoice

Code at Checkout: TRICKYTRIALS

Minecraft Skript Plugin

Last modified on Oct 24, 2023 in Plugins

mc head By Nathan Young

Overview

While customizing your Minecraft server, some players may want a wide variety of new features to try out. These can be teleporting to bases, receiving starter items, among many other aspects. Setting this up typically involves using plugins, as they’re addons that introduce these features. However, there’s countless of them available online and may overwhelm server owners. If you’re wanting an all-in-one plugin that allows you to add almost anything to Minecraft, then consider trying Skript for Spigot or Paper. This provides you with the ability to create custom commands, functions, GUI menus, and so much more. Although, as the plugin’s name suggests, you’ll need to make scripts for these features. This means you have to understand its basic code language, which isn’t too hard as most of it is straightforward. There’s plenty of examples available once you’ve installed this plugin, making it easier for you to digest. As for setting all of this up, we’ve created this Apex Hosting guide to show you how to install and use Skript on your Minecraft server to begin adding new features.

How to Download

  1. Navigate to Skript on GitHub’s website, then press Releases on the right-hand side.
    Skript GitHub
  2. Continue to scroll down and locate your desired version of the plugin.
  3. Once found, press Assets and click its JAR option to download the file.
    Skript Download
  4. Save this file somewhere easily accessible on your computer for later.

 

Server Installation

Before getting started with Skript, you’ll want to install Spigot, Paper, Purpur, or other similar types on the Minecraft server. This process is easily done on our panel, as all you need to do is select one of them from the Game File area. Afterward, restart the server to generate its necessary files and follow the instructions down below to install the plugin.

  1. Head towards your Apex server panel, then click FTP File Access near the top left.
    Minecraft FTP
  2. Type your Password in the text box and press the Login button to gain access.
    Minecraft FTP Login
  3. Proceed to enter the plugins folder, then at the top left corner click Upload.
  4. Drag and drop the Skript file in the respective area, then want for this to reach 100%.
    Skript Server Installation
  5. Return to the main panel and Restart the server to begin loading the plugin.

 

Getting Started

Skript Plugin Guide

Once you’ve joined the server, become an operator to have complete control and access to Skript. However, almost nothing is readily available after doing this since there’s a few steps before trying out the plugin. Remember, there’s tons of example scripts for you to test out. These are only accessible after enabling or mimicking them, which we’ll discuss later on in this tutorial. Once you’ve become familiar with the code language, creating new scripts will be the next step. Whether you want to tweak the existing examples or entirely make your own, you have many options. In the subsections below, we’ll go through important information to get you started with this plugin. However, we strongly recommend visiting Skript’s official documentation if you have any questions about scripts.

Understanding Scripts

Scripts are similar to other plugins, as they allow players to use new commands or actions in the server. The only difference is that you don’t need to continuously download and install files for these features, as you manually create them through Skript. For example, instead of using EssentialsX for setting homes, you can create this function yourself to accomplish the same task. Everything about these scripts are customizable, meaning you can change command arguments, return messages, and more.

Skript Example

This also applies to GUI menus and character actions, providing server owners lots of opportunities. Keep in mind that there are limitations for using Skript on your Minecraft server, but can become advanced enough to completely mimic other large plugins. This is extremely similar to MyCommand, as it gives server owners the ability to create their own features with specific code.

Skript Home Command

The inner workings behind the home command may look complicated at first. This is due to the amount of code within the script, but is fortunately straightforward once you’ve studied it. For instance, when players enter “set” after the main command, the if arg-1 is set string triggers an action if it’s defined properly.

In our case, the code tells the server to save the character’s position as a labeled home for teleportation. This is easily determined by the set … to player’s location within the script as a follow up to the previous string. Essentially, the code is created through sentences with specific placeholders, strings, and values. The more you research scripts for this plugin, the easier it will be to create your own. If you’re confused about this, then remember you can visit the official documentation for the plugin to learn more about it. Otherwise, studying the example scripts on your server is another option to understand everything.

How to Find Scripts

Locating the default scripts from the plugin is quickly done through the FTP panel, as we have a built-in file editor for you to use. There’s nine total ones to choose from, ranging from commands to text formatting. This means you have a large variety of code to review, with some being simple or advanced. Although, you can visit the Skript category on Spigot to download publicly available scripts to use. Combining this with the example ones in the server might be the best way to learn its coding language. Besides this, the steps below guides you through the process of finding your scripts. Keep in mind that by default, all examples are disabled and must be toggled to try them in-game. This is done by removing the “-” prefix for the “-example” folder, which is mentioned later on.

  1. Navigate to the FTP File Access area and use your login credentials accordingly.
  2. Proceed to the following directory pathway: …/plugins/Skript/scripts
    Minecraft Skript Scripts
  3. Afterward, enter the -examples folder and locate your desired script configuration.
  4. Once found, click the Edit button to the right and begin viewing its contents.
    Minecraft Skript Files

 

Creating a New Script

When you’ve studied some examples, you can make an attempt to create your own scripts. This process involves you creating new .sk files and entering your code in the editor. It’s strongly advised to copy and paste from the example scripts, as they can be used as templates. Otherwise, manually typing them is always another option to create new features in the server. Instead of doing this, owners may want to test out examples before creating anything. This is done by check marking the “-examples” folder, then clicking Rename at the top of your FTP panel. Simply delete the prefix and Submit the changes, then restart the server to try them out. Besides this, follow along below to learn how you can make new scripts with the plugin.

  1. While inside the FTP File Access area, navigate towards the scripts directory.
  2. At the top left corner of this page, press the New File button.
    Minecraft New File
  3. Proceed to name it anything you want and end it with .sk to make everything work.
  4. After doing this, continue to type or paste your desired code in the editor.
  5. Once you’re satisfied, click the Save button and return to the main panel.
    Skript New Script
  6. From here, Restart the server to begin loading the script to see if it works.

 

Script Usage

After successfully creating a script, trying it out in-game is worthwhile to confirm everything works properly. Whether you made a new command or action, make sure to execute it according to how you coded. For example, making a “/bedrock” command is as simple as entering it in-chat. Other features may require you or other players to have permissions, depending on your setup.

Skript Custom Chest Menu

This is done by installing the LuckPerms plugin to manage their account or group, but other types are available for this functionality too. Alternatively, being an operator should give all permissions to the player so they can begin testing out the scripts. If you’ve noticed that nothing works, then double check you’ve coded the script correctly. This may take some time, as finding errors can be difficult. With this in mind, reviewing the plugin’s official documentation might be beneficial to resolve any issues. However, trial and error can also be an extremely useful method to create scripts.

Endless Possibilities

Skript Starter Kit

Rather than enabling cheats on your Minecraft server, creating similar features from Skript is possible. Whether you code a menu that allows players to toggle between gamemodes or choose item kits, you have plenty of options. It all boils down to how much effort you put into scripting and coding, which may turn out to be easier than you think. In some cases, server owners may publish their own scripts on Spigot for others to enjoy.

The possibilities are endless, giving you plenty of room to customize your Minecraft experience.

Common Issues

Unable to Locate Script Files

By default, Skript will begin generating files after installing it on the server. However, if you’ve failed to reboot the server no scripts will appear. This means you want to restart from the main panel after uploading Skript to the plugins directory from the FTP panel. Afterward, check for the files again to see if they were generated properly. If the situation persists, then confirm you’ve successfully enabled Spigot, Paper, Purpur, or another server type from the Game File area. Remember, this allows plugins to be compatible with Minecraft, meaning it’s required. Otherwise, uploading the file to the incorrect Server Profile can result in this situation.

Example Scripts Won’t Work

While trying to use example scripts in-game and they don’t work, they’re likely disabled. This is by default from the Skript plugin, forcing you to manually enable them. Remember, you have to rename the “-examples” folder to “examples” for it to become available. Alternatively, you can move/copy all its files in the main scripts directory. After doing either method, give the server a restart to begin loading them in the world. However, using the /skript reload all command will achieve the same result without any reboot.

Cannot Use Custom Scripts

Whether you copied from an example script or made an entirely new one for yourself, remember that formatting is crucial. If any mistakes or errors are made, then the file won’t work on the server. Using the plugin’s official documentation as a reference will give you better odds at successfully coding a script in the editor. Otherwise, reverting any previously made changes is another option to find the issue.

Useful Links

Skript on GitHub
Official Documentation for Skript
How to Add Plugins to a Minecraft Server
Becoming a Minecraft Server Operator

Start Your Minecraft Server

Get started with your own minecraft server in 5 min and start trying out these great features.