Advertisement
Guest User

Effekte Kommando

a guest
Aug 8th, 2013
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.47 KB | None | 0 0
  1.         //Standart Effekte mit Kommando
  2.             if(cmd.getName().equalsIgnoreCase("Effekte")){
  3.                 if(args.length == 0){
  4.                 p.addPotionEffect(new PotionEffect(PotionEffectType.SPEED, 50000000, 3));
  5.                 p.addPotionEffect(new PotionEffect(PotionEffectType.INVISIBILITY, 50000000, 3));
  6.                 p.sendMessage(ChatColor.BLUE + "[" + ChatColor.YELLOW + "MeXxCraft" + ChatColor.BLUE + "]" + ChatColor.DARK_RED + "Du hast dir selbst Effekte gegeben.");
  7.                
  8.                 return true;
  9.                
  10.             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement