Edit

Share via


/script Command

Debugging options for script within Minecraft.

Permission Level Admin
Requires Cheats? Yes

Usage

Start profiler

/script debugger listen <port: int>

Start profiler (that is, performance) tracking of script within Minecraft.

Stop profiler

/script debugger connect [host: string] [port: int]

Stop profiler-performance tracking of script with Minecraft.

Watchdog export stats

/script debugger close

Export watchdog statistics on script runtime behavior and memory consumption.

/script profiler start

/script profiler stop

/script diagnostics startcapture

/script diagnostics stopcapture

Arguments

  • host: string
  • port: int