aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authorForesterDev <forester.manv@gmail.com>2017-05-26 10:52:56 +0400
committerShauren <shauren.trinity@gmail.com>2017-05-29 23:17:49 +0200
commitdd4ff1fe5458c89fc1d988fcc6ba5792ee482dcf (patch)
tree2170a97803fc601f79858e890c90bd859b3ef49f /sql/updates
parent69fd6245dc41dca658cadb4e99c1ee6593fe000b (diff)
Scripts/Command: implement .debug play music command
Closes #19809
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/auth/3.3.5/2017_05_29_00_auth.sql7
-rw-r--r--sql/updates/world/3.3.5/2017_05_29_00_world.sql3
2 files changed, 10 insertions, 0 deletions
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.');