diff options
| author | jackpoz <giacomopoz@gmail.com> | 2015-08-16 16:39:02 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2015-11-01 12:30:45 +0100 |
| commit | 7b684e8813376a82526d78c44d00f282229fe471 (patch) | |
| tree | b3f5c36409224685780203b90a0647ffa81e228b /sql/updates | |
| parent | ee5eb215e955dc721e136292ac8451bc66574914 (diff) | |
Script/Commands: Add new "debug loadcells" command
Closes #15292
(cherry picked from commit 5e1722c2f497ac7df8fed5ebe01e352965884584)
Diffstat (limited to 'sql/updates')
| -rw-r--r-- | sql/updates/auth/2015_11_01_00_auth_2015_08_21_00.sql | 5 | ||||
| -rw-r--r-- | sql/updates/world/2015_11_01_14_world_2015_08_21_01.sql | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/sql/updates/auth/2015_11_01_00_auth_2015_08_21_00.sql b/sql/updates/auth/2015_11_01_00_auth_2015_08_21_00.sql new file mode 100644 index 00000000000..4b30d4678a1 --- /dev/null +++ b/sql/updates/auth/2015_11_01_00_auth_2015_08_21_00.sql @@ -0,0 +1,5 @@ +DELETE FROM `rbac_permissions` WHERE `id` = 835; +INSERT INTO `rbac_permissions` (`id`, `name`) VALUES (835, 'Command: debug loadcells'); + +DELETE FROM `rbac_linked_permissions` WHERE `id` = 192 AND `linkedId` = 835; +INSERT INTO `rbac_linked_permissions` (`ìd`, `linkedId`) VALUES (192, 835); diff --git a/sql/updates/world/2015_11_01_14_world_2015_08_21_01.sql b/sql/updates/world/2015_11_01_14_world_2015_08_21_01.sql new file mode 100644 index 00000000000..794e03cd0d3 --- /dev/null +++ b/sql/updates/world/2015_11_01_14_world_2015_08_21_01.sql @@ -0,0 +1,2 @@ +DELETE FROM `command` WHERE `name` = 'debug loadcells'; +INSERT INTO `command` (`name`, `permission`, `help`) VALUES ('debug loadcells', 835, 'Syntax: .debug loadcells [mapId]\nLoads all cells for debugging purposes'); |
