Factions3/src/com/massivecraft/factions/cmd/CmdFactionsInvite.java
2015-01-22 09:34:35 +01:00

36 lines
1.0 KiB
Java

package com.massivecraft.factions.cmd;
import com.massivecraft.factions.Perm;
import com.massivecraft.massivecore.cmd.req.ReqHasPerm;
public class CmdFactionsInvite extends FactionsCommand
{
// -------------------------------------------- //
// FIELDS
// -------------------------------------------- //
public CmdFactionsInviteList cmdFactionsInviteList = new CmdFactionsInviteList();
public CmdFactionsInviteAdd cmdFactionsInviteAdd = new CmdFactionsInviteAdd();
public CmdFactionsInviteRemove cmdFactionsInviteRemove = new CmdFactionsInviteRemove();
// -------------------------------------------- //
// CONSTRUCT
// -------------------------------------------- //
public CmdFactionsInvite()
{
// Aliases
this.addAliases("i", "inv", "invite");
// Add SubCommands
this.addSubCommand(this.cmdFactionsInviteAdd);
this.addSubCommand(this.cmdFactionsInviteRemove);
this.addSubCommand(this.cmdFactionsInviteList);
// Requirements
this.addRequirements(ReqHasPerm.get(Perm.INVITE.node));
}
}