setPaused

public void setPaused(boolean paused)

Freezes hook and owned-callback execution without discarding the Lua VM or script state. Repeating callbacks remain scheduled and skip paused ticks; due one-shot callbacks wait until the instance resumes.