Advertisement
Guest User

Untitled

a guest
Oct 10th, 2012
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. package me.pixelzeugs.simplevote.simplevote;
  2.  
  3. import org.bukkit.command.Command;
  4. import org.bukkit.command.CommandSender;
  5. import org.bukkit.entity.Player;
  6. import org.bukkit.plugin.java.JavaPlugin;
  7.  
  8. public class simplevote extends JavaPlugin {
  9.  
  10. @Override
  11. public void onDisable() {
  12. System.out.println("[SimpleVote] Plugin deaktiviert!");
  13.  
  14. }
  15.  
  16. @Override
  17. public void onEnable() {
  18. System.out.println("[SimpleVote] Plugin von PixelZeugs");
  19. System.out.println("[SimpleVote] Plugin aktiviert!");
  20.  
  21. }
  22.  
  23. public boolean onCommand(CommandSender sender, Command cmd, String cmdLabel, String[] args){
  24. Player p = (Player)sender;
  25.  
  26. if(cmd.getName().equalsIgnoreCase("vote")){
  27. if(args.length == 0){
  28.  
  29.  
  30.  
  31. }
  32. }
  33.  
  34.  
  35.  
  36.  
  37.  
  38. return false;
  39. }
  40.  
  41.  
  42.  
  43.  
  44. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement