Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- # ==================================================#
- # Informacje O Stowniarce #
- # Block który ma zastepowac stowniarke #
- block: emerald ore
- # Nazwa Stowniarki #
- named: "&6Generator"
- # Czas po jakim odnawia sie stone #
- replace: 3 # W Sekundach #
- # Ilosc Bloków Po Którym Niszczy Sie Generator #
- iblock: 1000
- # ==================================================#
- # Crafting Stowniarki #
- # Poszczegulne Sloty w craftingu #
- # 1|2|3
- # 4|5|6
- # 7|8|9
- # Brak Itemu To ( None ) #
- slot-1: Stone
- slot-2: Stone
- slot-3: Stone
- slot-4: Stone
- slot-5: Piston
- slot-6: Stone
- slot-7: Stone
- slot-8: Stone
- slot-9: Stone
- # ==================================================#
- # Wiadomosci #
- create: "&7Stworzyles generator stone!"
- delete: "&cUsuneles generator stone!"
- end-generator: "&6Generator stone wyczerpal sie!"
- error: "&cBlad"
- # ==================================================#
- # Kod Na Crafting #
- on script load:
- register new shapeless recipe for {@block} named {@named} using {@slot-1}, {@slot-2}, {@slot-3}, {@slot-4}, {@slot-5}, {@slot-6}, {@slot-7}, {@slot-8}, {@slot-9}
- # ==================================================#
- # Kod Na Stowniarke #
- on place:
- player is holding {@block} named {@named}:
- set {stone::%event-block%} to true
- send {@create}
- wait {@replace} seconds
- set event-block to stone
- on break of stone:
- {stone::%event-block%} is true
- player's tool is gold pickaxe:
- delete {stone::%event-block%}
- drop {@block} named {@named}
- send {@delete}
- stop
- player's tool is not gold pickaxe:
- wait {@replace} seconds
- set event-block to stone
- add 1 to {uses:: %event-block%}
- {uses:: %event-block%} is more than {@iblock}:
- delete {stone::%event-block%}
- delete {uses::%event-block%}
- send {@end-generator}
- # ==================================================#
- # Komenda Która Daje Generator #
- command /Generator:
- permission: generator.stone
- trigger:
- send "&7Dostales Darmowy Generator"
- give {@block} named {@named} to the player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement