31 lines
610 B
Java
31 lines
610 B
Java
package com.massivecraft.factions.cmd;
|
|
|
|
import com.massivecraft.factions.P;
|
|
import com.massivecraft.factions.struct.Permission;
|
|
|
|
|
|
public class CmdVersion extends FCommand
|
|
{
|
|
public CmdVersion()
|
|
{
|
|
this.aliases.add("version");
|
|
|
|
//this.requiredArgs.add("");
|
|
//this.optionalArgs.put("", "");
|
|
|
|
this.permission = Permission.VERSION.node;
|
|
this.disableOnLock = false;
|
|
|
|
senderMustBePlayer = false;
|
|
senderMustBeMember = false;
|
|
senderMustBeOfficer = false;
|
|
senderMustBeLeader = false;
|
|
}
|
|
|
|
@Override
|
|
public void perform()
|
|
{
|
|
msg("<i>You are running "+P.p.getDescription().getFullName());
|
|
}
|
|
}
|