Skip to content
Hosting · Plugin guides

Skript: custom mechanics without Java

What Skript is, simple script examples, reloading, and performance pitfalls.

Updated August 13, 2026

Skript is a plugin that lets you describe server behavior in almost plain text. It covers the cases no ready-made plugin handles.

Example

on join:
    if player is new:
        send "&aWelcome!" to player
        execute console command "give %player% bread 16"
        teleport player to spawn

on death of player:
    if victim's world is "arena":
        cancel event
        teleport victim to spawn

.sk files live in plugins/Skript/scripts/.

Reloading

/sk reload all
/sk reload script_name

Reloading a script is safer than /reload on the server — you should never use the latter at all.

Addons

SkQuery, skRayFall, and SkBee extend the syntax: items, regions, GUIs. Install only the ones you need: every addon is extra code in memory.

Pitfalls

  • Looping over every player every tick drops TPS faster than any plugin. Use every 5 seconds, not every tick.
  • A script with an error doesn't load at all: check the output of /sk reload.
  • Updating Skript sometimes changes the syntax — keep copies of your scripts.
  • Skript runs console commands: don't take other people's scripts from untrusted sources — Where to get plugins.

When a ready-made plugin is better

If the task is standard (shops, clans, quests), a ready-made plugin is more reliable and faster. Skript shines where you need your own logic.

Minecraft hostingYour server runs while you are offlineCreate server