Skip to main content
The best way to see how a real expansion is put together is to read one. The Skript expansion is first-party, open source and the most complete expansion there is. It exports a project’s Mechanics and GUIs as Skript scripts instead of Denizen.

ls-expansion-skript

The Skript expansion’s source on GitHub.

What it shows

  • scripting.registerTarget with a serverPlugin and a reload command. See Scripting targets.
  • An expansion organised around its own libraries, written to be shared: script-writer, target-kit, skript-lang and skript-gui, each with a README.
  • Spelling tables with coverage, so every trigger, action, check and variable the editors offer is either written or reported with a reason.
  • Reporting what it cannot write instead of guessing.
  • A compiler with no side effects, whose output loads without errors on a real Skript server.

Running it

1

Clone it into your Expansions folder

Run it inside your Expansions folder. See the Quickstart for where that is.
2

Use your own id and key

Every expansion is verified when it loads, so put your own id and apiKey in its meta.json. See Publishing.
3

Open Lode Studio

It loads like any other expansion. Edit a file and it hot-reloads.