Skript Reloading Shorthands 1.2

Provides commands that allow you reload the scripts you need in a quick fashion

  1. jaylawl
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    Skript Reloading Shorthands


    • Just drop this script anywhere in your scripts folder and reload it.
    • Make sure SkUtilities is installed and working.
    • Command "/sra"
      This is nothing more but a shorthand for the "/skript reload all" command. Seems redundant, but trust me, it's a time saver.

    • Command "/srs [<scripts>]"
      Allows you to reload certain scripts only ("srs" standing for "skript reload scripts"), however, it also allows you to only load scripts only in a certain folder or scripts sharing a piece of string.

      Code (skript (Unknown Language)):
      /srs lib/ #will only reload scripts in folders called "lib"
      /srs functions/helpers/ #will only reload scripts in folders "functions/helpers/"
      /srs #will only reload scripts named ""

      The [<scripts>] argument is optional. If left blank, all of your scripts will be reloaded.

      But wait there's more!
      Timings will be generated that show you how long each script took to reload (time displayed in milliseconds) and also gives you a total reload-time for all involved scripts:
    In-script options:
    Code (skript (Unknown Language)):
    priority load : true                # whether scripts prefixed with "_" should be loaded before others
    priority prefix : _                 # this supports multiple characters
    print timings : true                # if timings should be printed
    block native commands : false       # blocks usage of the "/skript reload all" and "/skript reload scripts" commands
    That's all there is to it.
    This simple little script is a huge time saver for me and i hope it will be for you, too.

    If you like this resource, please consider buying me a coffee: