AdamGrzegorz

AnimalCreator Skript Bukkit 1.7+

Aug 3rd, 2014
583
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. #Skrypt AnimalCreator stworzony przez AdamGrzegorz dla Skript.PL
  2. #All rights reserved. Copyright (c)
  3.  
  4. options:
  5. cooldown: 10
  6. usun: 20
  7. zwierze: pig
  8. ilosc_zwierzat: 5
  9.  
  10. on every {@cooldown} real seconds:
  11. if {animalcreator.loc} is set:
  12. spawn {@ilosc_zwierzat} {@zwierze} at {animalcreator.loc}
  13. wait {@usun} seconds
  14. #Kill pigs - wiem ze to zla funkcja bo zabija wszystkie swinie na swiecie. Jak to ominac zeby zabijalo w obszarze 50 kratek od "animalcreator.loc"
  15. kill pigs
  16. stop
  17. command /animalcreator <text>:
  18. trigger:
  19. player has permission "animalcreator.admin":
  20. if arg 1 is "stworz":
  21. set {animalcreator.loc} to location of player
  22. send "&5AnimalCreator &l>> &dStworzono maszyne."
  23. if arg 1 is "usun":
  24. clear {animalcreator.loc}
  25. send "&5AnimalCreator &l>> &dUsunieto maszyne."
Advertisement
Add Comment
Please, Sign In to add comment