Factions/src/com/massivecraft/factions/cmd/CmdClaim.java

34 lines
567 B
Java
Raw Normal View History

2011-10-09 21:57:43 +02:00
package com.massivecraft.factions.cmd;
import com.massivecraft.factions.struct.Permission;
2011-10-09 20:10:19 +02:00
public class CmdClaim extends FCommand
{
2011-10-09 20:10:19 +02:00
public CmdClaim()
{
super();
this.aliases.add("claim");
//this.requiredArgs.add("");
//this.optionalArgs.put("", "");
2011-10-09 21:57:43 +02:00
this.permission = Permission.CLAIM.node;
this.disableOnLock = true;
senderMustBePlayer = true;
senderMustBeMember = true;
senderMustBeModerator = false;
senderMustBeAdmin = false;
aliases.add("claim");
}
@Override
public void perform()
{
fme.attemptClaim(true);
}
}