hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
56 lines (27 loc) • 787 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [WorldManager](./server.worldmanager.md) > [createWorld](./server.worldmanager.createworld.md)
## WorldManager.createWorld() method
Creates a new world.
**Signature:**
```typescript
createWorld(options: Omit<WorldOptions, 'id'>): World;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
options
</td><td>
Omit<[WorldOptions](./server.worldoptions.md)<!-- -->, 'id'>
</td><td>
The options for the world.
</td></tr>
</tbody></table>
**Returns:**
[World](./server.world.md)
The created world.