Auto Reload (Structure) — Skript

Addon: Skript · Category: Structure · Since: 2.13

Syntax

auto[matically] reload [(this|the) script]

Description

Place at the top of a script file to enable and configure automatic reloading of the script. When the script is saved, Skript will automatically reload the script. The config.sk node 'script loader thread size' must be set to a positive number (async or parallel loading) for this to be enabled.

available optional nodes: recipients: The players to send reload messages to. Defaults to console. permission: The permission required to receive reload messages. 'recipients' will override this node.

Examples

auto reload
auto reload:
	recipients: "SkriptDev",  "61699b2e-d327-4a01-9f1e-0ea8c3f06bc6" and "Njol"
	permission: "skript.reloadnotify"

View source