2015-01-09 22:36:12 +01:00
|
|
|
package com.massivecraft.factions.cmd;
|
|
|
|
|
|
|
|
import com.massivecraft.factions.Perm;
|
2015-11-06 02:10:29 +01:00
|
|
|
import com.massivecraft.massivecore.command.requirement.RequirementHasPerm;
|
2015-01-09 22:36:12 +01:00
|
|
|
|
|
|
|
public class CmdFactionsFlag extends FactionsCommand
|
|
|
|
{
|
|
|
|
// -------------------------------------------- //
|
|
|
|
// FIELDS
|
|
|
|
// -------------------------------------------- //
|
|
|
|
|
|
|
|
CmdFactionsFlagList cmdFactionsFlagList = new CmdFactionsFlagList();
|
|
|
|
CmdFactionsFlagShow cmdFactionsFlagShow = new CmdFactionsFlagShow();
|
|
|
|
CmdFactionsFlagSet cmdFactionsFlagSet = new CmdFactionsFlagSet();
|
|
|
|
|
|
|
|
// -------------------------------------------- //
|
|
|
|
// CONSTRUCT
|
|
|
|
// -------------------------------------------- //
|
|
|
|
|
|
|
|
public CmdFactionsFlag()
|
|
|
|
{
|
|
|
|
// Aliases
|
|
|
|
this.addAliases("flag");
|
|
|
|
|
2015-10-21 19:35:41 +02:00
|
|
|
// Children
|
|
|
|
this.addChild(this.cmdFactionsFlagList);
|
|
|
|
this.addChild(this.cmdFactionsFlagShow);
|
|
|
|
this.addChild(this.cmdFactionsFlagSet);
|
2015-01-09 22:36:12 +01:00
|
|
|
|
|
|
|
// Requirements
|
2015-11-06 02:10:29 +01:00
|
|
|
this.addRequirements(RequirementHasPerm.get(Perm.FLAG.node));
|
2015-01-09 22:36:12 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|