aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorVincent-Michael <Vincent_Michael@gmx.de>2015-05-02 01:27:48 +0200
committerVincent-Michael <Vincent_Michael@gmx.de>2015-05-02 01:28:18 +0200
commit2c8b7850d7aacf61c770153e8e468ae7aa847f09 (patch)
tree7b4f32bd62ae83a332d1dec8021fda472a6bd5b1 /sql
parent48ee1f003347910a48183f768501c1080fc40269 (diff)
Core/Commands: Added .go quest command to teleport your character to first quest poi
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/auth/2015_05_02_00_auth.sql7
-rw-r--r--sql/updates/world/2015_05_02_00_world.sql3
2 files changed, 10 insertions, 0 deletions
diff --git a/sql/updates/auth/2015_05_02_00_auth.sql b/sql/updates/auth/2015_05_02_00_auth.sql
new file mode 100644
index 00000000000..08b574a9068
--- /dev/null
+++ b/sql/updates/auth/2015_05_02_00_auth.sql
@@ -0,0 +1,7 @@
+DELETE FROM `rbac_permissions` WHERE `id`=12;
+INSERT INTO `rbac_permissions` (`id`, `name`) VALUES
+(12, 'Command: go quest');
+
+DELETE FROM `rbac_linked_permissions` WHERE `linkedId`=12;
+INSERT INTO `rbac_linked_permissions` (`id`, `linkedId`) VALUES
+(198, 12);
diff --git a/sql/updates/world/2015_05_02_00_world.sql b/sql/updates/world/2015_05_02_00_world.sql
new file mode 100644
index 00000000000..3d4e830f086
--- /dev/null
+++ b/sql/updates/world/2015_05_02_00_world.sql
@@ -0,0 +1,3 @@
+DELETE FROM `command` WHERE `name` LIKE '%go quest%';
+INSERT INTO `command` (`name`, `permission`, `help`) VALUES
+('go quest', 12, 'Syntax: .go quest #quest_id\r\n\r\nTeleport your character to first quest poi with id #quest_id.');