# WorldClass.server_onTerrainCreated

Called when a world's terrain is created for the first time on the server.

**Kind:** Callback

**Environments:** Game

## Game

**Callback side:** Server

``` { .lua .api-signature }
WorldClass:server_onTerrainCreated(  )
```

[Open the full Game reference](../Game-Script-Environment/Classes/WorldClass.md#server_onterraincreated)

This callback is triggered during the initial generation of the world terrain.

```lua
* function World:server_onTerrainCreated()
*     -- Terrain creation logic here
* end
```

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `self` | table | The class instance. |
