Saber-Factions/src/com/massivecraft/factions/commands/FCommandVersion.java

29 lines
520 B
Java
Raw Normal View History

2011-07-18 22:06:02 +02:00
package com.massivecraft.factions.commands;
2011-03-23 17:39:56 +01:00
import org.bukkit.command.CommandSender;
2011-07-18 22:06:02 +02:00
import com.massivecraft.factions.P;
2011-10-08 23:22:02 +02:00
public class FCommandVersion extends FCommand {
public FCommandVersion() {
aliases.add("version");
senderMustBePlayer = false;
helpDescription = "Which version are you using?";
}
2011-03-23 17:39:56 +01:00
@Override
public boolean hasPermission(CommandSender sender) {
return true;
}
@Override
public void perform() {
sendMessage("You are running "+P.p.getDescription().getFullName());
}
}