Factions3/src/com/massivecraft/factions/cmd/CmdFactionsInvite.java

36 lines
1.0 KiB
Java
Raw Normal View History

2011-10-09 21:57:43 +02:00
package com.massivecraft.factions.cmd;
import com.massivecraft.factions.Perm;
2014-06-04 14:02:23 +02:00
import com.massivecraft.massivecore.cmd.req.ReqHasPerm;
2014-09-18 13:41:20 +02:00
public class CmdFactionsInvite extends FactionsCommand
{
// -------------------------------------------- //
// FIELDS
// -------------------------------------------- //
public CmdFactionsInviteList cmdFactionsInviteList = new CmdFactionsInviteList();
public CmdFactionsInviteAdd cmdFactionsInviteAdd = new CmdFactionsInviteAdd();
public CmdFactionsInviteRemove cmdFactionsInviteRemove = new CmdFactionsInviteRemove();
2013-11-11 09:31:04 +01:00
// -------------------------------------------- //
// CONSTRUCT
// -------------------------------------------- //
2013-04-10 13:12:22 +02:00
public CmdFactionsInvite()
{
2013-11-11 09:31:04 +01:00
// Aliases
this.addAliases("i", "inv", "invite");
// Add SubCommands
this.addSubCommand(this.cmdFactionsInviteAdd);
this.addSubCommand(this.cmdFactionsInviteRemove);
this.addSubCommand(this.cmdFactionsInviteList);
2013-11-11 09:31:04 +01:00
// Requirements
2013-04-16 10:11:59 +02:00
this.addRequirements(ReqHasPerm.get(Perm.INVITE.node));
}
}