Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- #Schwerter
- Schwert1: 50
- GlassPane: 10
- test1: 20
- #---Navigation---
- on right click on villager:
- cancel event
- wait 1 tick
- execute console command "/Tab1 %player%"
- command /Tab1 <player>:
- permission: sk.admin
- trigger:
- wait 1 tick
- open chest with 6 rows named "&8» &eItems-Shop" to argument 1
- wait 1 tick
- 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%"
- 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%"
- 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%"
- #---Kategorien---
- command /shopschwerter <player>:
- permission: sk.admin
- trigger:
- wait 1 tick
- open chest with 6 row named "&8» &eSchwerter" to argument 1
- wait 1 tick
- format slot 0 of argument 1 with golden sword named "&6Schwert I" with lore "&bPreis: &e{@Schwert1}||&aUnbreaking X" to run "shopschwerter1 %argument 1%"
- command /shopbloecke <player>:
- permission: sk.admin
- trigger:
- wait 1 tick
- open chest with 6 row named "&8» &eBlöcke" to argument 1
- wait 1 tick
- format slot 0 of argument 1 with gray stained glass pane named "&6Glas Fenster" with lore "&bPreis: &e{@GlassPane}" to run "shopbloecke1 %argument 1%"
- #(...)
- #---Items---
- command /shopschwert1 <player>:
- permission: sk.admin
- trigger:
- wait 1 tick
- if {geldsumme.%argument 1%} is more than {@Schwert1}-1:
- subtract {@Schwert1} from {geldsumme.%argument 1%}
- give argument iron sword of sharpness 10, unbreaking 10 named "&eÜberkrasses Schwert!111!" with lore "Hier kommt die Lore"
- else:
- message "&4Du hast nicht genügend Geld!" to argument 1
- command /shopbloecke1 <player>:
- permission: sk.admin
- trigger:
- wait 1 tick
- if {geldsumme.%argument 1%} is more than {@GlassPane}-1:
- give argument gray stained glass pane
- subtract {@GlassPane} from {geldsumme.%argument 1%}
- else:
- message "&4Du hast nicht genügend Geld!" to argument 1
- command /shoptest1 <player>:
- permission: sk.admin
- trigger:
- wait 1 tick
- if {geldsumme.%argument 1%} is more than {@test1}-1:
- give argument iron sword
- subtract {@test1} from {geldsumme.%argument 1%}
- else:
- message "&4Du hast nicht genügend Geld!" to argument 1
- command /CÄSH:
- trigger:
- add 40 to {geldsumme.%player%}
- #youtube.com/L0v0lup
- #vid.me/L0v0lup
Add Comment
Please, Sign In to add comment