mirror of
https://github.com/Pumpkin-MC/Pumpkin.git
synced 2026-08-31 20:32:34 +00:00
Implements the vanilla /debug start and /debug stop commands (tracked in #15): - /debug start opens one server-wide tick profiling session and rejects duplicate starts. - /debug stop reports elapsed seconds, processed ticks, and average TPS, then returns the floored average TPS. - Profiling state handles tick counter wraparound and can be restarted after a completed session. - Registers minecraft:command.debug at operator permission level 3 and uses the existing Java and Bedrock translation keys. /debug function is intentionally out of scope because Pumpkin does not yet have the required function runtime.