UNPKG

hytopia

Version:

The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.

24 lines (13 loc) 600 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [World](./server.world.md) &gt; [stop](./server.world.stop.md) ## World.stop() method Stops the world loop, pausing physics, entities, and networking ticks. Use for: pausing a world or preparing for a full map reset. Do NOT use for: disconnecting players; they remain assigned to this world. \*\*Side effects:\*\* Emits `WorldEvent.STOP`<!-- -->. \*\*Category:\*\* Core **Signature:** ```typescript stop(): void; ``` **Returns:** void