Factions3/src/com/massivecraft/factions/commands/FCommandVersion.java

29 lines
545 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.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;
}
@Override
public void perform() {
sendMessage("You are running "+Factions.instance.getDescription().getFullName());
}
}