aboutsummaryrefslogtreecommitdiff
path: root/sql/updates/world/master
diff options
context:
space:
mode:
authorTreeston <treeston.mmoc@gmail.com>2020-09-20 03:31:54 +0200
committerShauren <shauren.trinity@gmail.com>2022-02-27 20:59:19 +0100
commit46d4e2fa8378eed414c07eb161a19b772c474735 (patch)
treed075a9e3b907399fd4216a2f03e020959c4301a6 /sql/updates/world/master
parent3fd2eb126cbed36292fa5defc024c2b93e8d8671 (diff)
1eca51b follow-up, nuke `command`.`permission` from orbit; it was only duplicating data already stored in the core.
(cherry picked from commit 991dc8e050777b5e33ff22b008ab2125bae22437)
Diffstat (limited to 'sql/updates/world/master')
-rw-r--r--sql/updates/world/master/2022_02_27_29_world_2020_09_20_01_world.sql11
1 files changed, 11 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_02_27_29_world_2020_09_20_01_world.sql b/sql/updates/world/master/2022_02_27_29_world_2020_09_20_01_world.sql
new file mode 100644
index 00000000000..989f603c547
--- /dev/null
+++ b/sql/updates/world/master/2022_02_27_29_world_2020_09_20_01_world.sql
@@ -0,0 +1,11 @@
+--
+ALTER TABLE `command` DROP COLUMN `permission`;
+DELETE FROM `command` WHERE `name` IN ('reload command', 'gm', 'gm off', 'gm on');
+INSERT INTO `command` (`name`,`help`) VALUES
+('gm on', 'Syntax: .gm on
+
+Enables in-game GM mode. This makes you exempt from most game mechanics.
+Among other things, it makes creatures unable to attack you, and makes you untargetable by most spells. It also makes creatures in all phases, as well as invisible creatures, visible to you.'),
+('gm off', 'Syntax: .gm off
+
+Disables in-game GM mode.');