Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- # ==================================================#
- block: stone
- named: "&e&lStoniarka"
- replace: 1
- iblock: 100000
- # ==================================================#
- slot-1: Diamond Block
- slot-2: Diamond Block
- slot-3: Diamond Block
- slot-4: Diamond Block
- slot-5: Blaze Rod
- slot-6: Diamond Block
- slot-7: Diamond Block
- slot-8: Diamond Block
- slot-9: Diamond Block
- #==================================================#
- create: "&7Stworzyles generator kamienia"
- delete: "&cUsuneles generator kamienia"
- end: "&6Generator kamienia wyczerpal sie!"
- error: "&cBlad"
- #==================================================#
- 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}
- # ==================================================#
- 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}
- # ==================================================#
- command /generator [<text>]:
- permission: generator.*
- trigger:
- if arg 1 is not set:
- send "Daj albo /generator darmowy albo /generator reset"
- if arg 1 is "Darmowy":
- send "&7Dostales Generator Firmy Cake"
- give {@block} named {@named} to the player
- if arg 1 is "reset":
- send "&7Usunałes Wszystkie generatory kamienia"
- clear {uses:: %event-block%}
- clear {stone:: %event-block%}
Advertisement
Add Comment
Please, Sign In to add comment