From ff89bad0fea3148b840e6f416476ed3073837672 Mon Sep 17 00:00:00 2001 From: Spp Date: Sat, 13 Mar 2010 00:47:24 +0100 Subject: Allow Battlegrounds and arenas to be disabled by DB. wtlk arenas disabled by default. - Player will continue to see all bgs using UI, but won't be able to join disabled bg's - Gossip menu not shown for disabled Bgs/arenas - Id 6 disabled = all arenas disabled. - Only id 6 arena enabled = Gossip shown but unable to join any arena --HG-- branch : trunk --- sql/updates/7552_world_battleground_template.sql | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 sql/updates/7552_world_battleground_template.sql (limited to 'sql/updates') diff --git a/sql/updates/7552_world_battleground_template.sql b/sql/updates/7552_world_battleground_template.sql new file mode 100644 index 00000000000..4283a7e79b6 --- /dev/null +++ b/sql/updates/7552_world_battleground_template.sql @@ -0,0 +1,5 @@ +-- Add disable column to allow battlegrounds to be disabled. +ALTER TABLE `battleground_template` ADD COLUMN disable TINYINT(1) NOT NULL DEFAULT '0'; + +-- Disable wtlk arenas by default +UPDATE `battleground_template` SET `disable`=1 WHERE `id` in (10,11); -- cgit v1.2.3