From bc88d3bc15debb70432603b21a2319b72db02f49 Mon Sep 17 00:00:00 2001 From: Aokromes Date: Wed, 14 Mar 2018 11:41:09 +0100 Subject: Scripts/Commands: implemented command .server debug - Shows detailed information about server setup, useful when reporting a bug: * rev. hash * versions of mysql, openssl, boost, cmake * info about autoupdater * info about ports (realmlist and current) * vmap/map/mmap status and folder sizes * available DBC locales * TDB version cherry pick of d18f8b94b0cb5182ef450bec5cafd3c5d74fd00a Running this command when reporting bugs is MANDATORY (you can censor paths) --- sql/updates/auth/master/2018_03_14_00_auth.sql | 5 +++++ sql/updates/world/master/2018_03_14_00_auth.sql | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 sql/updates/auth/master/2018_03_14_00_auth.sql create mode 100644 sql/updates/world/master/2018_03_14_00_auth.sql (limited to 'sql/updates') diff --git a/sql/updates/auth/master/2018_03_14_00_auth.sql b/sql/updates/auth/master/2018_03_14_00_auth.sql new file mode 100644 index 00000000000..ddaf1d13f0c --- /dev/null +++ b/sql/updates/auth/master/2018_03_14_00_auth.sql @@ -0,0 +1,5 @@ +DELETE FROM `rbac_permissions` WHERE `id`=872; +INSERT INTO `rbac_permissions` (`id`, `name`) VALUES +(872, 'Command: server debug'); +INSERT INTO `rbac_linked_permissions` (`id`, `linkedId`) VALUES +(196, 872); diff --git a/sql/updates/world/master/2018_03_14_00_auth.sql b/sql/updates/world/master/2018_03_14_00_auth.sql new file mode 100644 index 00000000000..24705a29709 --- /dev/null +++ b/sql/updates/world/master/2018_03_14_00_auth.sql @@ -0,0 +1,3 @@ +DELETE FROM `command` WHERE `name`='server debug'; +INSERT INTO `command` (`name`, `permission`, `help`) VALUES +('server debug', 872, 'Syntax: .server debug\n\nShows detailed information about server setup, useful when reporting a bug'); -- cgit v1.2.3