Guest User

Untitled

a guest
Jan 29th, 2019
354
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.87 KB | None | 0 0
  1. options:
  2. #Schwerter
  3. Schwert1: 50
  4. GlassPane: 10
  5. test1: 20
  6.  
  7. #---Navigation---
  8.  
  9. on right click on villager:
  10. cancel event
  11. wait 1 tick
  12. execute console command "/Tab1 %player%"
  13.  
  14. command /Tab1 <player>:
  15. permission: sk.admin
  16. trigger:
  17. wait 1 tick
  18. open chest with 6 rows named "&8» &eItems-Shop" to argument 1
  19. wait 1 tick
  20. format slot 12 of argument 1 with diamond chestplate named "&8» &eRüstung" with lore "&8» &7Klicke für mehr Infos" to run "shopschwerter %argument 1%"
  21. format slot 13 of argument 1 with grass named "&8» &eBlöcke" with lore "&8» &7Klicke für mehr Infos" to run "shopbloecke %argument 1%"
  22. format slot 14 of argument 1 with glowing iron sword of sharpness 10, unbreaking 10 named "&eÜberkrasses Schwert!111!" with lore "&8» &7Hier kommt die Lore" to run "shopschwert1 %argument 1%"
  23. #---Kategorien---
  24.  
  25. command /shopschwerter <player>:
  26. permission: sk.admin
  27. trigger:
  28. wait 1 tick
  29. open chest with 6 row named "&8» &eSchwerter" to argument 1
  30. wait 1 tick
  31. format slot 0 of argument 1 with golden sword named "&6Schwert I" with lore "&bPreis: &e{@Schwert1}||&aUnbreaking X" to run "shopschwerter1 %argument 1%"
  32.  
  33. command /shopbloecke <player>:
  34. permission: sk.admin
  35. trigger:
  36. wait 1 tick
  37. open chest with 6 row named "&8» &eBlöcke" to argument 1
  38. wait 1 tick
  39. format slot 0 of argument 1 with gray stained glass pane named "&6Glas Fenster" with lore "&bPreis: &e{@GlassPane}" to run "shopbloecke1 %argument 1%"
  40.  
  41. #(...)
  42. #---Items---
  43.  
  44. command /shopschwert1 <player>:
  45. permission: sk.admin
  46. trigger:
  47. wait 1 tick
  48. if {geldsumme.%argument 1%} is more than {@Schwert1}-1:
  49. subtract {@Schwert1} from {geldsumme.%argument 1%}
  50. give argument iron sword of sharpness 10, unbreaking 10 named "&eÜberkrasses Schwert!111!" with lore "Hier kommt die Lore"
  51. else:
  52. message "&4Du hast nicht genügend Geld!" to argument 1
  53.  
  54. command /shopbloecke1 <player>:
  55. permission: sk.admin
  56. trigger:
  57. wait 1 tick
  58. if {geldsumme.%argument 1%} is more than {@GlassPane}-1:
  59. give argument gray stained glass pane
  60. subtract {@GlassPane} from {geldsumme.%argument 1%}
  61. else:
  62. message "&4Du hast nicht genügend Geld!" to argument 1
  63.  
  64. command /shoptest1 <player>:
  65. permission: sk.admin
  66. trigger:
  67. wait 1 tick
  68. if {geldsumme.%argument 1%} is more than {@test1}-1:
  69. give argument iron sword
  70. subtract {@test1} from {geldsumme.%argument 1%}
  71. else:
  72. message "&4Du hast nicht genügend Geld!" to argument 1
  73.  
  74.  
  75. command /CÄSH:
  76. trigger:
  77. add 40 to {geldsumme.%player%}
  78. #youtube.com/L0v0lup
  79. #vid.me/L0v0lup
Add Comment
Please, Sign In to add comment