Factions/src/org/mcteam/factions/commands/FCommandVersion.java

28 lines
523 B
Java
Raw Normal View History

2011-04-08 15:51:07 +02:00
package org.mcteam.factions.commands;
2011-03-23 17:39:56 +01:00
import org.bukkit.command.CommandSender;
2011-04-08 15:51:07 +02:00
import org.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());
}
}