diff options
| author | jackpoz <giacomopoz@gmail.com> | 2015-08-16 16:39:02 +0200 |
|---|---|---|
| committer | Carbenium <carbenium@outlook.com> | 2015-08-21 22:54:59 +0200 |
| commit | 5e1722c2f497ac7df8fed5ebe01e352965884584 (patch) | |
| tree | 2bda51cf82ba32395550ba3239b6e16b7e368fa7 /sql/updates | |
| parent | 1047014c9796522ad76b5f198bf6c82b4c156082 (diff) | |
Script/Commands: Add new "debug loadcells" command
Closes #15292
Diffstat (limited to 'sql/updates')
| -rw-r--r-- | sql/updates/auth/2015_08_21_00_auth.sql | 5 | ||||
| -rw-r--r-- | sql/updates/world/2015_08_21_01_world.sql | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/sql/updates/auth/2015_08_21_00_auth.sql b/sql/updates/auth/2015_08_21_00_auth.sql new file mode 100644 index 00000000000..4b30d4678a1 --- /dev/null +++ b/sql/updates/auth/2015_08_21_00_auth.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_08_21_01_world.sql b/sql/updates/world/2015_08_21_01_world.sql new file mode 100644 index 00000000000..794e03cd0d3 --- /dev/null +++ b/sql/updates/world/2015_08_21_01_world.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'); |
