Saber-Factions/src/com/bukkit/mcteam/factions/commands/FCommandVersion.java

28 lines
537 B
Java
Raw Normal View History

package com.bukkit.mcteam.factions.commands;
2011-03-23 17:39:56 +01:00
import org.bukkit.command.CommandSender;
import com.bukkit.mcteam.factions.Factions;
public class FCommandVersion extends FBaseCommand {
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;
}
public void perform() {
sendMessage("You are running "+Factions.instance.getDescription().getFullName());
}
}