Skip to content

ScriptReloading

youyihj edited this page Sep 20, 2022 · 10 revisions

Script Reloading

@since 1.12.0

ZenUtils allows you to reload some scripts. ZenUtils uses its own script loader reloadable to reload events, but it doesn't load scripts when game initializes. So you need to use multiple script loaders. CraftTweaker loader to load events when game starts, Reloadable loader to reload them.

These operations are reloadable:

Using

Add #loader crafttweaker reloadable to your event scripts. Then execute /ct reload to reload events.

Clone this wiki locally