Guest User

Stoniarka

a guest
Dec 5th, 2015
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.99 KB | None | 0 0
  1. options:
  2.  
  3. # ==================================================#
  4.  
  5.  
  6.         block: stone
  7.  
  8.         named: "&e&lStoniarka"
  9.        
  10.         replace: 1
  11.  
  12.  
  13.         iblock: 100000
  14.        
  15. # ==================================================#
  16.  
  17.         slot-1: Diamond Block
  18.         slot-2: Diamond Block
  19.         slot-3: Diamond Block
  20.         slot-4: Diamond Block
  21.         slot-5: Blaze Rod
  22.         slot-6: Diamond Block
  23.         slot-7: Diamond Block
  24.         slot-8: Diamond Block
  25.         slot-9: Diamond Block
  26.        
  27. #==================================================#
  28.        
  29.         create: "&7Stworzyles generator kamienia"
  30.         delete: "&cUsuneles generator kamienia"
  31.         end: "&6Generator kamienia wyczerpal sie!"
  32.         error: "&cBlad"
  33.        
  34. #==================================================#
  35.  
  36. on script load:
  37.         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}
  38.        
  39. # ==================================================#
  40.  
  41.        
  42. on place:
  43.         player is holding {@block} named {@named}:
  44.                 set {stone::%event-block%} to true
  45.                 send {@create}
  46.                 wait {@replace} seconds
  47.                 set event-block to stone
  48.                
  49. on break of stone:
  50.         {stone::%event-block%} is true
  51.         player's tool is gold pickaxe:
  52.                 delete {stone::%event-block%}
  53.                 drop {@block} named {@named}
  54.                 send {@delete}
  55.                 stop
  56.         player's tool is not gold pickaxe:
  57.                 wait {@replace} seconds
  58.                 set event-block to stone
  59.                 add 1 to {uses:: %event-block%}
  60.                 {uses:: %event-block%} is more than {@iblock}:
  61.                         delete {stone::%event-block%}
  62.                         delete {uses::%event-block%}
  63.                         send {@end}
  64.                        
  65. # ==================================================#
  66.  
  67.                
  68. command /generator [<text>]:
  69.         permission: generator.*
  70.         trigger:
  71.                 if arg 1 is not set:
  72.                         send "Daj albo /generator darmowy albo /generator reset"
  73.                 if arg 1 is "Darmowy":
  74.                         send "&7Dostales Generator Firmy Cake"
  75.                         give {@block} named {@named} to the player
  76.                 if arg 1 is "reset":
  77.                         send "&7Usunałes Wszystkie generatory kamienia"
  78.                         clear {uses:: %event-block%}
  79.                         clear {stone:: %event-block%}
Advertisement
Add Comment
Please, Sign In to add comment