2014-11-19 10:30:44 +01:00
|
|
|
package com.massivecraft.factions.cmd;
|
|
|
|
|
|
|
|
import com.massivecraft.factions.Perm;
|
|
|
|
import com.massivecraft.massivecore.cmd.req.ReqHasPerm;
|
|
|
|
|
|
|
|
|
|
|
|
public class CmdFactionsClaim extends FactionsCommand
|
|
|
|
{
|
|
|
|
// -------------------------------------------- //
|
|
|
|
// FIELDS
|
|
|
|
// -------------------------------------------- //
|
|
|
|
|
|
|
|
public CmdFactionsSetOne cmdFactionsClaimOne = new CmdFactionsSetOne(true);
|
|
|
|
public CmdFactionsSetAuto cmdFactionsClaimAuto = new CmdFactionsSetAuto(true);
|
|
|
|
public CmdFactionsSetFill cmdFactionsClaimFill = new CmdFactionsSetFill(true);
|
|
|
|
public CmdFactionsSetSquare cmdFactionsClaimSquare = new CmdFactionsSetSquare(true);
|
|
|
|
public CmdFactionsSetCircle cmdFactionsClaimCircle = new CmdFactionsSetCircle(true);
|
|
|
|
public CmdFactionsSetAll cmdFactionsClaimAll = new CmdFactionsSetAll(true);
|
|
|
|
|
|
|
|
// -------------------------------------------- //
|
|
|
|
// CONSTRUCT
|
|
|
|
// -------------------------------------------- //
|
|
|
|
|
|
|
|
public CmdFactionsClaim()
|
|
|
|
{
|
|
|
|
// Aliases
|
|
|
|
this.addAliases("claim");
|
|
|
|
|
2015-10-21 19:35:41 +02:00
|
|
|
// Children
|
|
|
|
this.addChild(this.cmdFactionsClaimOne);
|
|
|
|
this.addChild(this.cmdFactionsClaimAuto);
|
|
|
|
this.addChild(this.cmdFactionsClaimFill);
|
|
|
|
this.addChild(this.cmdFactionsClaimSquare);
|
|
|
|
this.addChild(this.cmdFactionsClaimCircle);
|
|
|
|
this.addChild(this.cmdFactionsClaimAll);
|
2014-11-19 10:30:44 +01:00
|
|
|
|
|
|
|
// Requirements
|
|
|
|
this.addRequirements(ReqHasPerm.get(Perm.CLAIM.node));
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|