From dd4ff1fe5458c89fc1d988fcc6ba5792ee482dcf Mon Sep 17 00:00:00 2001 From: ForesterDev Date: Fri, 26 May 2017 10:52:56 +0400 Subject: Scripts/Command: implement .debug play music command Closes #19809 --- sql/updates/auth/3.3.5/2017_05_29_00_auth.sql | 7 +++++++ sql/updates/world/3.3.5/2017_05_29_00_world.sql | 3 +++ 2 files changed, 10 insertions(+) create mode 100644 sql/updates/auth/3.3.5/2017_05_29_00_auth.sql create mode 100644 sql/updates/world/3.3.5/2017_05_29_00_world.sql (limited to 'sql/updates') diff --git a/sql/updates/auth/3.3.5/2017_05_29_00_auth.sql b/sql/updates/auth/3.3.5/2017_05_29_00_auth.sql new file mode 100644 index 00000000000..7ddeabe630c --- /dev/null +++ b/sql/updates/auth/3.3.5/2017_05_29_00_auth.sql @@ -0,0 +1,7 @@ +DELETE FROM `rbac_permissions` WHERE `id` = 855; +INSERT INTO `rbac_permissions` (`id`,`name`) VALUES +(855, 'Command: debug play music'); + +DELETE FROM `rbac_linked_permissions` WHERE `id` = 855; +INSERT INTO `rbac_linked_permissions` (`id`,`linkedId`) VALUES +(198, 855); diff --git a/sql/updates/world/3.3.5/2017_05_29_00_world.sql b/sql/updates/world/3.3.5/2017_05_29_00_world.sql new file mode 100644 index 00000000000..6282e1c7b69 --- /dev/null +++ b/sql/updates/world/3.3.5/2017_05_29_00_world.sql @@ -0,0 +1,3 @@ +DELETE FROM `command` WHERE `name` = 'debug play music'; +INSERT INTO `command` (`name`,`permission`,`help`) VALUES +('debug play music', 855, 'Syntax: .debug play music #musicId\nPlay music with #musicId.\nMusic will be played only for you. Other players will not hear this.'); -- cgit v1.2.3