mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
Core/Scripts: added command to move characters across accounts
(cherry-picked from f7f865f818)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
DELETE FROM `rbac_permissions` WHERE `id`=698;
|
||||
INSERT INTO `rbac_permissions` (`id`, `name`) VALUES
|
||||
(698, 'Command: character changeaccount');
|
||||
INSERT INTO `rbac_linked_permissions` (`id`, `linkedId`) VALUES
|
||||
(196, 698);
|
||||
@@ -0,0 +1,7 @@
|
||||
DELETE FROM `command` WHERE `permission`=698;
|
||||
INSERT INTO `command` (`name`, `permission`, `help`) VALUES
|
||||
('character changeaccount', 698, 'Syntax: .character changeaccount [$player] $account\n\nTransfers ownership of named (or selected) character to another account');
|
||||
|
||||
DELETE FROM `trinity_string` WHERE `entry`=1192;
|
||||
INSERT INTO `trinity_string` (`entry`, `content_default`) VALUES
|
||||
(1192, 'Successfully transferred ownership of character %s to account %s');
|
||||
Reference in New Issue
Block a user