> For the complete documentation index, see [llms.txt](https://solos.gitbook.io/solos/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://solos.gitbook.io/solos/multicharacter/spawn-new-players.md).

# Spawn (New Players)

Customize your Spawn events after a new character is created

## Starting Apartments

If your server uses starting apartments:

{% code title="config.lua:" overflow="wrap" fullWidth="false" %}

```lua

config.Starting_Apartments = true -- requires an apartment resource that supports this feature
```

{% endcode %}

Insert your spawn events in the following events located in `config.lua`:

1. When a new player is created:

{% code title="Triggers on the client " fullWidth="false" %}

```lua
RegisterNetEvent('solos-multicharacter:client:Starting-Apartment-Event', function(newData)
    
    INSERT SPAWN EVENT THAT ALLOWS PLAYERS TO CHOOSE OR SPAWN IN THEIR APARTMENT

end)
```

{% endcode %}

## No Starting Apartments

1. When a new player is created:

{% code title="Triggers on the client " %}

```etlua
RegisterNetEvent('solos-multicharacter:client:New-SpawnEvent', function(data)

    INSERT EVENT OR LOGIC TO SPAWN NEW CHARACTER AND BEGIN CHARACTER CREATION
    
end)
```

{% endcode %}
