Factions3/src/com/massivecraft/factions/cmd/CmdLeave.java
2011-10-23 17:55:53 +02:00

31 lines
532 B
Java

package com.massivecraft.factions.cmd;
import com.massivecraft.factions.struct.Permission;
public class CmdLeave extends FCommand {
public CmdLeave()
{
super();
this.aliases.add("leave");
//this.requiredArgs.add("");
//this.optionalArgs.put("", "");
this.permission = Permission.LEAVE.node;
this.disableOnLock = true;
senderMustBePlayer = true;
senderMustBeMember = true;
senderMustBeOfficer = false;
senderMustBeLeader = false;
}
@Override
public void perform()
{
fme.leave(true);
}
}