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 CmdFactionsPerm extends FactionsCommand
|
|
|
|
{
|
|
|
|
// -------------------------------------------- //
|
|
|
|
// FIELDS
|
|
|
|
// -------------------------------------------- //
|
|
|
|
|
|
|
|
CmdFactionsPermList cmdFactionsPermList = new CmdFactionsPermList();
|
|
|
|
CmdFactionsPermShow cmdFactionsPermShow = new CmdFactionsPermShow();
|
|
|
|
CmdFactionsPermSet cmdFactionsPermSet = new CmdFactionsPermSet();
|
|
|
|
|
|
|
|
// -------------------------------------------- //
|
|
|
|
// CONSTRUCT
|
|
|
|
// -------------------------------------------- //
|
|
|
|
|
|
|
|
public CmdFactionsPerm()
|
|
|
|
{
|
|
|
|
// Aliases
|
|
|
|
this.addAliases("perm");
|
|
|
|
|
2015-10-21 19:35:41 +02:00
|
|
|
// Children
|
|
|
|
this.addChild(this.cmdFactionsPermList);
|
|
|
|
this.addChild(this.cmdFactionsPermShow);
|
|
|
|
this.addChild(this.cmdFactionsPermSet);
|
2015-01-09 22:36:12 +01:00
|
|
|
|
|
|
|
// Requirements
|
2015-11-06 02:10:29 +01:00
|
|
|
this.addRequirements(RequirementHasPerm.get(Perm.PERM.node));
|
2015-01-09 22:36:12 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|