diff options
| author | Heihachi <gamehacker953@gmail.com> | 2014-10-18 23:01:30 +0100 |
|---|---|---|
| committer | DDuarte <dnpd.dd@gmail.com> | 2014-10-18 23:34:18 +0100 |
| commit | 15a9c6729ee274044b2ba78f8b9ad3c167c94bd1 (patch) | |
| tree | 4ddfb8e940ef3af710a2cfe1901f8281def34e1f /sql/updates/auth | |
| parent | f21b55068c1df170211cea3b66057790c68bd761 (diff) | |
Scripts/Commands: Implement mutehistory command for GM's with requested improvements
Closes #13350
Diffstat (limited to 'sql/updates/auth')
| -rw-r--r-- | sql/updates/auth/2014_10_18_01_auth.sql | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sql/updates/auth/2014_10_18_01_auth.sql b/sql/updates/auth/2014_10_18_01_auth.sql new file mode 100644 index 00000000000..60808b8a9c9 --- /dev/null +++ b/sql/updates/auth/2014_10_18_01_auth.sql @@ -0,0 +1,23 @@ +/* drop then create account_muted table */ +DROP TABLE IF EXISTS `account_muted`; + +CREATE TABLE `account_muted` ( + `guid` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', + `mutedate` INT(10) UNSIGNED NOT NULL DEFAULT '0', + `mutetime` INT(10) UNSIGNED NOT NULL DEFAULT '0', + `mutedby` VARCHAR(50) NOT NULL, + `mutereason` VARCHAR(255) NOT NULL, + PRIMARY KEY (`guid`, `mutedate`) +) +COMMENT='mute List' ENGINE=InnoDB; + +/* add rbac permissions to new commands */ +DELETE FROM `rbac_permissions` WHERE `id`=632; +INSERT INTO `rbac_permissions` (`id`,`name`) VALUES +(632, 'Command: .mutehistory'); + +/* adds qc to players */ +DELETE FROM `rbac_linked_permissions` WHERE `id`=632; +INSERT INTO `rbac_linked_permissions` (`id`,`linkedId`) VALUES +/* add mutehistory to gms */ +(194, 632); |
