Skip to content
AnonXS edited this page Feb 9, 2018 · 1 revision

Back to world database list of tables.

The `instance_template` table

This table has all the templates for every instance. When a group enters an instance, a new copy of that instance is made from the values in these fields.

Structure

Field Type Null Key Default Extra
map int(10) unsigned NO PRI
parent int(11) unsigned NO
levelMin int(10) unsigned NO 0
levelMax int(10) unsigned NO 0
maxPlayers int(10) unsigned NO 0
reset_delay int(10) unsigned NO 0
ScriptName varchar(255) NO
mountAllowed tinyint(3) unsigned NO 0

Description of the fields

map

The map ID of the instance. See Map.dbc

parent

If the instance is a subinstance of another instance, this field has the parent instance’s map ID.

levelMin

The minimum level required to enter the instance.

levelMax

The maximum level required to be able to be summoned by the meeting stone for this instance.

maxPlayers

The maximum number of players that can enter as a group/raid in the instance.

reset_delay

The number of days between each global reset for the map. If zero, the value is taken from DBC files. The resulting value is multiplied by the Rate.InstanceResetTime config.

ScriptName

The name of the instance script that the instance will use and apply (if any).

mountAllowed

Possible or not use mounts in this instance.

Clone this wiki locally