aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2020-06-14 15:41:01 +0200
committerjackpoz <giacomopoz@gmail.com>2020-06-14 15:41:01 +0200
commitcd37a17103b88a56ec1fde2156c4325b74989e08 (patch)
treecae9a1eb9f6b8bea0262d460c64039f35bdab3ba /sql
parent988fe4c86cc65a605a732ba94f9a7cd5337048f9 (diff)
Scripts/Commands: Add .debug objectcount <optional map id> chat command
Add .debug objectcount <optional map id> chat command to show the number of Creatures and GameObjects
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/3.3.5/2020_06_14_00_world.sql6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2020_06_14_00_world.sql b/sql/updates/world/3.3.5/2020_06_14_00_world.sql
new file mode 100644
index 00000000000..47a04e605ca
--- /dev/null
+++ b/sql/updates/world/3.3.5/2020_06_14_00_world.sql
@@ -0,0 +1,6 @@
+--
+DELETE FROM `command` WHERE `name`='debug objectcount';
+INSERT INTO `command` (`name`,`permission`,`help`) VALUES
+('debug objectcount',300,'Syntax: .debug objectcount <optional map id>
+Shows the number of Creatures and GameObjects for the specified map id or for all maps if none is specified
+');