2011-05-29 13:25:25 +02:00
|
|
|
package com.Acrobot.ChestShop.Commands;
|
|
|
|
|
|
|
|
import com.Acrobot.ChestShop.ChestShop;
|
2011-08-13 12:08:34 +02:00
|
|
|
import org.bukkit.ChatColor;
|
2011-05-29 13:25:25 +02:00
|
|
|
import org.bukkit.command.Command;
|
|
|
|
import org.bukkit.command.CommandExecutor;
|
|
|
|
import org.bukkit.command.CommandSender;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @author Acrobot
|
|
|
|
*/
|
|
|
|
public class Version implements CommandExecutor {
|
|
|
|
public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
|
2011-08-13 12:08:34 +02:00
|
|
|
sender.sendMessage(ChatColor.GRAY + ChestShop.getPluginName() + "'s version is: " + ChatColor.GREEN + ChestShop.getVersion());
|
2011-05-29 13:25:25 +02:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|