feat(Core/Commands): Arena command (#1798)

* New arena command
This commit is contained in:
IntelligentQuantum
2019-05-13 10:46:57 +04:30
committed by Poszer
parent b7863dc4f1
commit 9a7084e42d
8 changed files with 384 additions and 4 deletions

View File

@@ -0,0 +1,10 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1557081152867649198');
DELETE FROM `command` WHERE `name` IN ('arena create', 'arena disband', 'arena rename', 'arena captain', 'arena info', 'arena lookup');
INSERT INTO `command` (`name`, `security`, `help`) VALUES
('arena create', 3, 'Syntax: .arena create $name "arena name" #type\n\nA command to create a new Arena-team in game. #type = [2/3/5]'),
('arena disband', 3, 'Syntax: .arena disband #TeamID\n\nA command to disband Arena-team in game.'),
('arena rename', 3, 'Syntax: .arena rename "oldname" "newname"\n\nA command to rename Arena-team name.'),
('arena captain', 3, 'Syntax: .arena captain #TeamID $name\n\nA command to set new captain to the team $name must be in the team'),
('arena info', 2, 'Syntax: .arena info #TeamID\n\nA command that show info about arena team'),
('arena lookup', 2, 'Syntax: .arena lookup $name\n\nA command that give a list of arenateam with the given $name');