Advertisement
Kacperski89

Najłatwieszy Drop w GUI (ŁATWY KONFIG!)

Jul 7th, 2015
533
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.75 KB | None | 0 0
  1. options:
  2. #Tu ustaw itemy które mają być w gui (dropped)
  3. item1: diamond
  4. item2: iron
  5. item3: gold
  6. item4: apple
  7. item5: book
  8. item6: air # Nic
  9. #Nazwa itemu powyżej np (n1 = &bDiament)
  10. name1: &3DIAMENT
  11. name2: &7ZELAZO
  12. name3: &eZLOTO
  13. name4: &cJABLKO
  14. name5: &6KSIAZKA
  15. name6: &lNIC
  16. #Chance = Szansa (pamietaj o wstawianu 2 x %)
  17. chance1: 10%%
  18. chance2: 10%%
  19. chance3: 10%%
  20. chance4: 10%%
  21. chance5: 10%%
  22. chance6: 10%%
  23. #Lore = Opis itemku (Nowa linijka = ||)
  24. lore1: &7Szansa: &610%%||&7Status: &aWLACZONE||&aFORTUNE: &cNIE
  25. lore2: &7Szansa: &610%%||&7Status: &aWLACZONE||&aFORTUNE: &cNIE
  26. lore3: &7Szansa: &610%%||&7Status: &aWLACZONE||&aFORTUNE: &cNIE
  27. lore4: &7Szansa: &610%%||&7Status: &aWLACZONE||&aFORTUNE: &cNIE
  28. lore5: &7Szansa: &610%%||&7Status: &aWLACZONE||&aFORTUNE: &cNIE
  29. # msg = Wiadomosc po wykopaniu sórowca
  30. msg1: &6Znalazles &3DIAMENT &7(x1)
  31. msg2: &6Znalazles &7ZELAZO &7(x1)
  32. msg3: &6Znalazles &eZLOTO &7(x1)
  33. msg4: &6Znalazles &cJABLKO &7(x1)
  34. msg5: &6Znalazles &6KSIAZKE &7(x1)
  35. msg6: &6Znalazles NIC &7(x0)
  36. command /drop:
  37. trigger:
  38. format slot 0 of player with 1 of {@item1} item named "&6&l{@n1}" with lore "{@lore1}" to be unstealable
  39. format slot 1 of player with 1 of {@item2} item named "&6&l{@n2}" with lore "{@lore2}" to be unstealable
  40. format slot 2 of player with 1 of {@item3} item named "&6&l{@n3}" with lore "{@lore3}" to be unstealable
  41. format slot 3 of player with 1 of {@item4} item named "&6&l{@n4}" with lore "{@lore4}" to be unstealable
  42. format slot 4 of player with 1 of {@item5} item named "&6&l{@n5}" with lore "{@lore5}" to be unstealable
  43. format slot 5 of player with 1 of {@item6} item named "&6&l{@n6}" with lore "{@lore6}" to be unstealable
  44. mine of stone:
  45. chance of {@chance1}:
  46. if player has {@item1} or empty slot:
  47. add {@item1} to the player
  48. send "{@msg1}"
  49. else:
  50. drop {@item1} at event-block
  51. send "{@msg1}"
  52. chance of {@chance2}:
  53. if player has {@item2} or empty slot:
  54. add {@item2} to the player
  55. send "{@msg2}"
  56. else:
  57. drop {@item2} at event-block
  58. send "{@msg2}"
  59. chance of {@chance3}:
  60. if player has {@item3} or empty slot:
  61. add {@item3} to the player
  62. send "{@msg3}"
  63. else:
  64. drop {@item3} at event-block
  65. send "{@msg3}"
  66. chance of {@chance4}:
  67. if player has {@item4} or empty slot:
  68. add {@item4} to the player
  69. send "{@msg4}"
  70. else:
  71. drop {@item4} at event-block
  72. send "{@msg4}"
  73. chance of {@chance5}:
  74. if player has {@item5} or empty slot:
  75. add {@item5} to the player
  76. send "{@msg5}"
  77. else:
  78. drop {@item5} at event-block
  79. send "{@msg5}"
  80. chance of {@chance6}:
  81. if player has {@item6} or empty slot:
  82. add {@item6} to the player
  83. send "{@msg6}"
  84. else:
  85. drop {@item6} at event-block
  86. send "{@msg6}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement