Guest User

Untitled

a guest
Nov 7th, 2014
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.43 KB | None | 0 0
  1. command /Crafting:
  2.  
  3. trigger:
  4.  
  5. execute console command "menu %player-arg% 1"
  6.  
  7. command /menu [<player>] [<integer>]:
  8.  
  9. executable by: console
  10.  
  11. trigger:
  12.  
  13. if arg 1 is 1:
  14.  
  15. wait 2 tick #//Proponuje dodac, bo bez tego moga byc bugi
  16.  
  17. open chest with 6 rows named "&4Craftingi (1/2)" to player-arg
  18.  
  19. wait 1 tick #//Proponuje dodac, bo bez tego moga byc bugi
  20.  
  21. format slot 4 of player-arg with 1 of 160:1 named "&a&oCRAFTINGI" to be unstealable
  22.  
  23. format slot 9 of player-arg with 1 of stone named "&7Stone" to be unstealable
  24.  
  25. format slot 10 of player-arg with 1 of stone named "&7Stone" to be unstealable
  26.  
  27. format slot 11 of player-arg with 1 of stone named "&7Stone" to be unstealable
  28.  
  29. format slot 13 of player-arg with 1 of 160:1 named "&a&oCRAFTINGI" to be unstealable
  30.  
  31. format slot 15 of player-arg with 1 of 4 named "&8CobbleStone &4&ox64" to be unstealable
  32.  
  33. format slot 16 of player-arg with 1 of 4 named "&8CobbleStone &4&ox64" to be unstealable
  34.  
  35. format slot 17 of player-arg with 1 of 4 named "&8CobbleStone &4&ox64" to be unstealable
  36.  
  37. format slot 18 of player-arg with 1 of stone named "&7Stone" to be unstealable
  38.  
  39. format slot 19 of player-arg with 1 of 33 named "&cPiston" to be unstealable
  40.  
  41. format slot 20 of player-arg with 1 of stone named "&7Stone" to be unstealable
  42.  
  43. format slot 21 of player-arg with 1 of diamond ore named "&a&OSTONIARKA" to be unstealable
  44.  
  45. format slot 22 of player-arg with 1 of 160:1 named "&a&oCRAFTINGI" to be unstealable
  46.  
  47. format slot 23 of player-arg with 1 of emerald ore named "&c&oCOBBLE&6&oX" to be unstealable
  48.  
  49. format slot 24 of player-arg with 1 of 4 named "&8CobbleStone &4&ox64" to be unstealable
  50.  
  51. format slot 25 of player-arg with 1 of 4 named "&8CobbleStone &4&ox64" to be unstealable
  52.  
  53. format slot 26 of player-arg with 1 of 4 named "&8CobbleStone &4&ox64" to be unstealable
  54.  
  55. format slot 27 of player-arg with 1 of stone named "&7Stone" to be unstealable
  56.  
  57. format slot 28 of player-arg with 1 of stone named "&7Stone" to be unstealable
  58.  
  59. format slot 29 of player-arg with 1 of stone named "&7Stone" to be unstealable
  60.  
  61. format slot 31 of player-arg with 1 of 160:1 named "&a&oCRAFTINGI" to be unstealable
  62.  
  63. format slot 33 of player-arg with 1 of 4 named "&8CobbleStone &4&ox64" to be unstealable
  64.  
  65. format slot 34 of player-arg with 1 of 4 named "&8CobbleStone &4&ox64" to be unstealable
  66.  
  67. format slot 35 of player-arg with 1 of 4 named "&8CobbleStone &4&ox64" to be unstealable
  68.  
  69. format slot 40 of player-arg with 1 of 160:1 named "&a&oCRAFTINGI" to be unstealable
  70.  
  71. format slot 49 of player-arg with 1 of paper named "&6&ONASTEPNA STRONA (1/2)" with lore "&A&oKliknij, aby przejsc na 2 strone." to run "menu %player-arg% 2"
  72.  
  73. if arg 1 is 2:
  74.  
  75. wait 2 tick #//Proponuje dodac, bo bez tego moga byc bugi
  76.  
  77. open chest with 6 rows named "&4Craftingi (2/2)" to player-arg
  78.  
  79. wait 1 tick #//Proponuje dodac, bo bez tego moga byc bugi
  80.  
  81. format slot 1 of player-arg with 1 of arrow named "Strzala bez kakala" with lore "Ta strzala nie ma kakala." to be unstealable
  82.  
  83. format slot 8 of player-arg with 2 of paper named "Strona: 2" with lore "Kliknij, aby przejsc na 1 strone." to run "menu %player-arg% 1"
Advertisement
Add Comment
Please, Sign In to add comment