Advertisement
Guest User

deadbuilder

a guest
May 25th, 2015
369
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. package me.deadbuilder.PickaxePlugin;
  2.  
  3. import org.bukkit.Bukkit;
  4. import org.bukkit.command.Command;
  5. import org.bukkit.command.CommandSender;
  6. import org.bukkit.entity.Player;
  7. import org.bukkit.plugin.java.JavaPlugin;
  8.  
  9.  
  10. public class PickaxeMain extends JavaPlugin {
  11.  
  12. public void onEnable() {
  13. Bukkit.getServer().getLogger().info("[Pickaxe] Enabled!");
  14. }
  15.  
  16. public void onDisable() {
  17. Bukkit.getServer().getLogger().info("[Pickaxe] Disabled!");
  18. }
  19.  
  20. public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args) {
  21. if (commandLabel.equalsIgnoreCase("pickaxeeffect")) {
  22. Player player = (Player) sender;
  23. }
  24. return false;
  25. }
  26.  
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement