Skip to content

disables

This table is used to disable dungeons/bgs/spells/etc.

Structure ​

FieldTypeAttributesKeyNullDefaultExtraComment
sourceTypeintunsignedPRINO
entryintunsignedPRINO
flagssmallintsignedNO
params_0varchar(255)NO''
params_1varchar(255)NO''
commentvarchar(255)NO''
 

Description of fields ​

sourceType ​

ValueType
0DISABLE_TYPE_SPELL
1DISABLE_TYPE_QUEST
2DISABLE_TYPE_MAP
3DISABLE_TYPE_BATTLEGROUND
4DISABLE_TYPE_ACHIEVEMENT_CRITERIA
5DISABLE_TYPE_OUTDOORPVP
6DISABLE_TYPE_VMAP
7DISABLE_TYPE_MMAP
8DISABLE_TYPE_LFG_MAP

 

entry ​

sourceTypeentry
0Spell ID
1quest_template.ID
3BattlemasterList ID
4AchievementCriteria ID
5value from enum OutdoorPvPTypes
2, 6, 7, 8Map ID
 

flags ​

Depending on sourceType. 0 if not specified otherwise.

Tabset ​

DISABLE_TYPE_SPELL ​

ValueFlagNameComment
10x0001SPELL_DISABLE_PLAYERSpell disabled for players
20x0002SPELL_DISABLE_CREATURESpell disabled for creatures
40x0004SPELL_DISABLE_PETSpell disabled for pets
80x0008SPELL_DISABLE_DEPRECATED_SPELLSpell completely disabled (used for no longer existing spells in DBCs)
160x0010SPELL_DISABLE_MAPSpell disabled for MapId
320x0020SPELL_DISABLE_AREASpell disabled for AreaId
640x0040SPELL_DISABLE_LOSLine of Sight (LOS) is disabled for this spell (replaces "vmap.ignoreSpellIds" config option)
1280x0080SPELL_DISABLE_GAMEOBJECTSpell disabled for game objects
2560x0100SPELL_DISABLE_ARENASdisabled in arena
5120x0200SPELL_DISABLE_BATTLEGROUNDSSpell disabled in battlegrounds

DISABLE_TYPE_MAP ​

Specifies what mode of the map is disabled (5man/10man/heroic/etc).

ValueFlagName
InstanceType of map = 1 (Dungeon)
10x01DUNGEON_STATUSFLAG_NORMAL
20x02DUNGEON_STATUSFLAG_HEROIC
InstanceType of map = 4 (Raid)
10x01RAID_STATUSFLAG_10MAN_NORMAL
20x02RAID_STATUSFLAG_25MAN_NORMAL
40x04RAID_STATUSFLAG_10MAN_HEROIC
80x08RAID_STATUSFLAG_25MAN_HEROIC

DISABLE_TYPE_VMAP ​

Specifies what part of the vMap system should be disabled on which map.

ValueFlagName
10x01VMAP_DISABLE_AREAFLAG
20x02VMAP_DISABLE_HEIGHT
40x04VMAP_DISABLE_LOS
80x08VMAP_LIQUIDSTATUS

EndTabset ​

 

params_0 ​

comma seperated list of Map IDs if DISABLE_TYPE_SPELL used, 0 for all maps.  

params_1 ​

comma seperated list of AreaTable IDs if DISABLE_TYPE_SPELL used, 0 for all areas.  

comment ​

A comment as to why the something was disabled, or any other text that you want.  

Examples ​

INSERT INTO `disables` VALUES (0, 8921, (1+16+32), "571,1", "1519", "Moonfire Example"); .. will disable spell 8921 (Moonfire) for players in maps 571 (Northrend),1 (Kalimdor) and area 1519 (Stormwind City).

INSERT INTO `disables` VALUES (6, 1, (2 + 4), 0, 0, "Disable Kalimdor vMaps"); .. will disable vMaps on whole Kalimdor.