Advertisement
Guest User

Untitled

a guest
Aug 20th, 2014
722
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.24 KB | None | 0 0
  1. options:
  2. #Komenda wywołująca podstawowy item np. /youritem spawn emeraldkilof
  3. komenda.podstawowy.item: epicpickaxe
  4. #Nazwa itemku
  5. item.podstawowy.nazwa: &6Kilof Magii
  6. #Pierwszy enchant
  7. pierwszy.enchant.podstawowego.itemka: efficiency 10
  8. #Drugi enchant
  9. drugi.enchant.podstawowego.itemka: fortune 10
  10. #Trzeci enchant
  11. trzeci.enchant.podstawowego.itemka: unbreaking 10
  12. #Typ itemka
  13. item.type: diamond pickaxe
  14.  
  15. command /youritem [<text>] [<text>]:
  16. permission: youritem.*
  17. permission message: &cNie masz uprawnien!
  18. trigger:
  19. if arg 1 is "spawn":
  20. if arg 2 is "{@komenda.podstawowy.item}":
  21. give player {@item.type} of {@pierwszy.enchant.podstawowego.itemka} and {@drugi.enchant.podstawowego.itemka} and {@trzeci.enchant.podstawowego.itemka} named "{@item.podstawowy.nazwa}"
  22. if arg 2 is "eq":
  23. give player diamond helmet of unbreaking 9999 and protection 9999
  24. give player diamond chestplate of unbreaking 9999 and thorns 10 and protection 9999
  25. give player diamond leggings of unbreaking 9999 and protection 9999
  26. give player diamond boots of unbreaking 9999 and protection 9999
  27. give player diamond sword of sharpness 10 and unbreaking 9999 and fire aspect 10 and knockback 30
  28. if arg 2 is "fapstick":
  29. give player stick of knockback 35
  30. if arg 2 is "healing":
  31. give player stick named "&4Healing stick"
  32. if arg 2 is not set:
  33. send "{@komenda.podstawowy.item}"
  34. send "eq"
  35. send "fapstick"
  36. send "healing"
  37. if arg 2 is not "{@komenda.podstawowy.item}" or "eq" or "fapstick" or "healing":
  38. send "{@komenda.podstawowy.item}"
  39. send "eq"
  40. send "fapstick"
  41. send "healing"
  42. if arg 1 is not set:
  43. if arg 2 is not set:
  44. send "&cWpisz /youitem spawn (itemek)"
  45. on damage:
  46. if player is attacker:
  47. if attacker's tool is stick named "&4Healing stick":
  48. #tu
  49. heal victim
  50. #Kod na wrazie co jeśli nie zadziała górny na heal. Przenieś go tam gdzie jest #tu
  51. # send "Z powodu bladu skryptu kill Ciebie - za utrudnienia przepraszamy" to attacker
  52. # send "Z powodu bladu skryptu kill tego kto Ciebie zabil - za utrudnienia przepraszamy" to victim
  53. # set {bladskryptu.%attacker%} to location of attacker
  54. # kill attacker
  55. # teleport attacker to {bladskryptu.%attacker%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement