1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How To make and use skript

Discussion in 'Server Development and Plugins' started by MineCog, Oct 31, 2017.

  1. MineCog

    MineCog Owner
    Staff Member Owner

    Joined:
    Oct 22, 2017
    Messages:
    28
    Likes Received:
    2
    Okay, so I had this thread on our old forums so its pretty old and some of it might be outdated however someone on discord asked me to republish it so here it is if you have anything extra feel free to add it in the comments below.

    What Is Skript?

    Skript is a plugin that allows you to customize your Minecraft server mechanics with simple scripts written in plain English sentences.


    Benefits of using Skript:


    • Getting started with Skript is easier than Java — it has fewer entry requirements and a smaller learning curve.
    • There’s no compiling or software you need to install; all you need is a text editor and the Skript plugin installed on your server.
    • You can easily edit it and add to it later on.
    • Lightweight
    • You can still use Skript alongside/with normal plugins
    • Quicker because it bootstrapped into the spigot API
    • Easy to detect where errors are coming from
    How To install the Skript plugin:


    1. Download the Latest Release of skript from GIitHub: https://github.com/bensku/Skript/releases
    2. Upload it to your /plugins directory.
    3. Restart your server.
    How to use skript:


    • Skript comes with some premade example skripts you should read through these to learn how to use skript.
    • When editing your scripts, you will need to reload the skript. The easiest way to do this is by executing the /sk reload <skript name> command which will reload the named script. Alternatively, you can use /sk reload all to reload all scripts on your server. This is a very useful command as it will also tell you if there are any errors in your Skript and where to find them.

    Example:

    Here is a simple skript example to tell your players every 15 to check out your forums. If you want to use this simply copy the code below and change our URL to your servers URL.

    Code:
    every 15 minutes:
       broadcast "Check Out our website https://minecog.com "
     

Share This Page