DB/Account: update account_access table
Port From (https://github.com/TrinityCore/TrinityCore/commit/01d098830a64622262226f7915f872e1cfb301f6)
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
ALTER TABLE `account_access`
|
||||
CHANGE COLUMN `id` `AccountID` INT(10) UNSIGNED NOT NULL,
|
||||
CHANGE COLUMN `gmlevel` `SecurityLevel` TINYINT(3) UNSIGNED NOT NULL,
|
||||
ADD COLUMN `Comment` VARCHAR(255) DEFAULT NULL AFTER `RealmID`;
|
||||
|
||||
UPDATE `rbac_permissions` SET `name` = 'Command: account set seclevel' WHERE `id` = 228;
|
||||
@@ -0,0 +1,19 @@
|
||||
DELETE FROM `command` WHERE `name` IN ('account set gmlevel','account set seclevel');
|
||||
INSERT INTO `command` (`name`,`permission`,`help`) VALUES
|
||||
('account set gmlevel', 228, 'Syntax: .account set gmlevel [$accountName] #level [#realmID]
|
||||
|
||||
Set the security level for targeted player (can\'t be used at self) or for account $accountName to a level of #level on the realm #realmID.
|
||||
|
||||
#level may range from 0 to 3.
|
||||
|
||||
#realmID - Default: -1 for all realms.
|
||||
|
||||
Note: this command will be removed soon. Use \'account set seclevel\' instead.'),
|
||||
|
||||
('account set seclevel', 228, 'Syntax: .account set seclevel [$accountName] #level [#realmID]
|
||||
|
||||
Set the security level for targeted player (can\'t be used at self) or for account $accountName to a level of #level on the realm #realmID.
|
||||
|
||||
#level may range from 0 to 3.
|
||||
|
||||
#realmID - Default: -1 for all realms.');
|
||||
Reference in New Issue
Block a user