aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorMatan Shukry <matanshukry@gmail.com>2021-01-28 21:32:36 +0100
committerShauren <shauren.trinity@gmail.com>2021-01-28 21:32:36 +0100
commitd2be584f99a63a165cfd1d047f460a8ebfb87ac3 (patch)
treec07cd1752770c30ffccf01dc61cf66e54c9ae504 /sql
parent1ff4a7e75b56e1ad68d83f75b493a42ac1ae85c3 (diff)
Core/Commands: Implemented command to teleport character to npc
Closes #25870
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/3.3.5/2021_01_28_00_world.sql11
1 files changed, 11 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2021_01_28_00_world.sql b/sql/updates/world/3.3.5/2021_01_28_00_world.sql
new file mode 100644
index 00000000000..60ed2b34c59
--- /dev/null
+++ b/sql/updates/world/3.3.5/2021_01_28_00_world.sql
@@ -0,0 +1,11 @@
+DELETE FROM `command` WHERE `name` IN ('tele name npc id','tele name npc guid','tele name npc name');
+INSERT INTO `command` (`name`,`help`) VALUES
+('tele name npc id','Syntax: .tele name id #playername #creatureId
+
+Teleport the given character to first found creature with id #creatureId. Character can be offline.'),
+('tele name npc guid','Syntax: .tele name id #playername #creatureSpawnId
+
+Teleport the given character to creature with spawn id #creatureSpawnId. Character can be offline.'),
+('tele name npc name','Syntax: .tele name id #playername #creatureName
+
+Teleport the given character to first found creature with name (must match exactly) #creatureName. Character can be offline.');