Skip to content

Structure

Sven Rahn edited this page Jun 27, 2018 · 12 revisions

The config folder is like the following:

+ config
  + kt-skript
     + general.conf
     + default.imports
     + scripts
        + script1.ktskript
        + otherScript.ktskript
        + complex
          + complex.ktskript
          + complex.imports

Let's breaks this down:

general.conf

Here are some settings for the plugin:

# How often the script files should be checked for changes.
script-update-interval="3s"

# Useful for debugging the imports.
output-scripts-to-console=true

# Read the docs to learn more.
warn-about-multiple-compile-requests=true

warn-about-multiple-compile can safely be switched on or off, doesn't matter really. If enabled, you will be warned in the console when a plugin tries to compile and already read script. This can be activated when setting up all your scripts to ensure everything works correctly, but can be turned off once you're finished with it.

Clone this wiki locally