aboutsummaryrefslogtreecommitdiff
path: root/sql/updates/world
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2014-06-08 17:58:28 +0200
committerShauren <shauren.trinity@gmail.com>2014-06-08 17:58:28 +0200
commit434b3a80e1ef4ccef3d66661e6a260b6328eabe5 (patch)
treeac51417a1fc3cc9a70be0109252d717961e4a191 /sql/updates/world
parent7dd552c8261be9d1c9c8e45628e5aca5cdae405d (diff)
Core/Commands: Added a set of commands to manage battle.net accounts
TODO: Ban commands, linking game accounts to battle.net accounts
Diffstat (limited to 'sql/updates/world')
-rw-r--r--sql/updates/world/2014_06_08_00_world_trinity_string_434.sql14
1 files changed, 14 insertions, 0 deletions
diff --git a/sql/updates/world/2014_06_08_00_world_trinity_string_434.sql b/sql/updates/world/2014_06_08_00_world_trinity_string_434.sql
new file mode 100644
index 00000000000..806ff6bd233
--- /dev/null
+++ b/sql/updates/world/2014_06_08_00_world_trinity_string_434.sql
@@ -0,0 +1,14 @@
+DELETE FROM `trinity_string` WHERE `entry`=1029;
+
+INSERT INTO `trinity_string` (`entry`, `content_default`) VALUES
+(1029, 'Account name must contain the @ symbol.');
+
+DELETE FROM `command` WHERE `permission` IN (207,208,209,210,211,212,213);
+INSERT INTO `command` (`name`, `permission`, `help`) VALUES
+('battlenetaccount', 207, 'Syntax: .battlenetaccount $subcommand\r\nType .battlenetaccount to see the list of possible subcommands or .help account set $subcommand to see info on subcommands.'),
+('battlenetaccount create', 208, 'Syntax: .battlenetaccount create $account $password\r\nCreate battle.net account and set password to it. Account must contain the @ symbol.'),
+('battlenetaccount lock country', 209, 'Syntax: .battlenetaccount lock country [on|off]\r\nAllow login to account only from current used Country or remove this requirement.'),
+('battlenetaccount lock ip', 210, 'Syntax: .battlenetaccount lock ip [on|off]\nAllow login to account only from current used IP or remove this requirement.'),
+('battlenetaccount password', 211, 'Syntax: .battlenetaccount password $old_password $new_password $new_password\nChange your account password.'),
+('battlenetaccount set', 212, 'Syntax: .battlenetaccount set $subcommand\nType .battlenetaccount set to see the list of possible subcommands or .help account set $subcommand to see info on subcommands.'),
+('battlenetaccount set password', 213, 'Syntax: .battlenetaccount set password $account $password $password\nSet password for account.');