package me.wasiak.tutorial; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; import org.bukkit.plugin.java.JavaPlugin; public class Main extends JavaPlugin{ @Override public void onEnable(){ System.out.println("Uruchamianie...!"); } @Override public void onDisable() { System.out.println("Wylaczanie..."); } @Override public boolean onCommand(CommandSender sender, Command command, String label, String[] args) { if(command.getName().equalsIgnoreCase("witaj")) { sender.sendMessage("Witaj! :D"); } return false; } }