Skip to content

respawn

The content of this table holds the respawn data of creatures and gameobjects, even if the server crashes or is shut down manually.

Structure ​

FieldTypeAttributesKeyNullDefaultExtraComment
typesmallintunsignedPRINO
spawnIdintunsignedPRINO
respawnTimebigintunsignedNO
mapIdsmallintunsignedNO
instanceIdintunsignedPRINO
 

Description of fields ​

type ​

enum SpawnObjectType

IDName
0SPAWN_TYPE_CREATURE
1SPAWN_TYPE_GAMEOBJECT

 

spawnId ​

respawnTime ​

Unix timestamp when the entity should be respawned.  

mapId ​

Map ID where the entity should be spawned.  

instanceId ​

If the entity was killed/destroyed in an instance, this field holds the instance id where this entity should be respawned.

Each instance is different depending on the group so this field is vital in keeping track of which creatures/gameobjects should be respawned for which players at what time.