From 6ce078d8e885f61ebdff3eb905e4cf6a2911da90 Mon Sep 17 00:00:00 2001 From: Treeston Date: Wed, 24 Jan 2018 22:52:42 +0100 Subject: Scripts/Commands: new command '.debug instancespawn' --- sql/updates/auth/3.3.5/2018_01_24_00_auth.sql | 8 ++++++++ sql/updates/world/3.3.5/2018_01_24_06_world.sql | 6 ++++++ 2 files changed, 14 insertions(+) create mode 100644 sql/updates/auth/3.3.5/2018_01_24_00_auth.sql create mode 100644 sql/updates/world/3.3.5/2018_01_24_06_world.sql (limited to 'sql/updates') diff --git a/sql/updates/auth/3.3.5/2018_01_24_00_auth.sql b/sql/updates/auth/3.3.5/2018_01_24_00_auth.sql new file mode 100644 index 00000000000..119db7ae391 --- /dev/null +++ b/sql/updates/auth/3.3.5/2018_01_24_00_auth.sql @@ -0,0 +1,8 @@ +-- +DELETE FROM `rbac_permissions` WHERE `id`=871; +INSERT INTO `rbac_permissions` (`id`,`name`) VALUES +(871, 'Command: debug instancespawn'); + +DELETE FROM `rbac_linked_permissions` WHERE `linkedId`=871; +INSERT INTO `rbac_linked_permissions` (`id`,`linkedId`) VALUES +(196,871); diff --git a/sql/updates/world/3.3.5/2018_01_24_06_world.sql b/sql/updates/world/3.3.5/2018_01_24_06_world.sql new file mode 100644 index 00000000000..f8599a2952c --- /dev/null +++ b/sql/updates/world/3.3.5/2018_01_24_06_world.sql @@ -0,0 +1,6 @@ +-- +DELETE FROM `command` WHERE `name`="debug instancespawn"; +INSERT INTO `command`(`name`,`permission`,`help`) VALUES +('debug instancespawn',871,'Syntax: .debug instancespawn [/explain] + +Displays information about the spawn groups being managed by the current instance script. If groupID is specified, additionally explains why that spawn group is in the listed state. If "explain" is specified, explains all spawn groups.'); -- cgit v1.2.3