From 5886bf7484f26deb0e26d3a14791041cc14266be Mon Sep 17 00:00:00 2001 From: jackpoz Date: Sun, 14 Jun 2020 15:41:01 +0200 Subject: Scripts/Commands: Add .debug objectcount chat command Add .debug objectcount chat command to show the number of Creatures and GameObjects (cherry picked from commit cd37a17103b88a56ec1fde2156c4325b74989e08) --- .../world/master/2022_01_06_37_world_2020_06_14_00_world.sql | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 sql/updates/world/master/2022_01_06_37_world_2020_06_14_00_world.sql (limited to 'sql') diff --git a/sql/updates/world/master/2022_01_06_37_world_2020_06_14_00_world.sql b/sql/updates/world/master/2022_01_06_37_world_2020_06_14_00_world.sql new file mode 100644 index 00000000000..47a04e605ca --- /dev/null +++ b/sql/updates/world/master/2022_01_06_37_world_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 +Shows the number of Creatures and GameObjects for the specified map id or for all maps if none is specified +'); -- cgit v1.2.3