37 lines
832 B
Java
37 lines
832 B
Java
package com.massivecraft.factions.cmd;
|
|
|
|
import com.massivecraft.factions.P;
|
|
import com.massivecraft.factions.struct.Permission;
|
|
|
|
public class CmdCape extends FCommand
|
|
{
|
|
public CmdCapeGet cmdCapeGet = new CmdCapeGet();
|
|
public CmdCapeSet cmdCapeSet = new CmdCapeSet();
|
|
public CmdCapeRemove cmdCapeRemove = new CmdCapeRemove();
|
|
|
|
public CmdCape()
|
|
{
|
|
super();
|
|
this.aliases.add("cape");
|
|
|
|
this.permission = Permission.CAPE.node;
|
|
|
|
senderMustBePlayer = false;
|
|
senderMustBeMember = false;
|
|
senderMustBeOfficer = false;
|
|
senderMustBeLeader = false;
|
|
|
|
this.addSubCommand(this.cmdCapeGet);
|
|
this.addSubCommand(this.cmdCapeSet);
|
|
this.addSubCommand(this.cmdCapeRemove);
|
|
}
|
|
|
|
@Override
|
|
public void perform()
|
|
{
|
|
this.commandChain.add(this);
|
|
P.p.cmdAutoHelp.execute(this.sender, this.args, this.commandChain);
|
|
}
|
|
|
|
}
|