Advertisement
Guest User

Untitled

a guest
Dec 15th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.85 KB | None | 0 0
  1.  
  2. on mine of stone:
  3. If yaml value "stone-drop" from file "plugins/Skript/scripts/drop/user/%player%.yml" is false:
  4.  
  5.  
  6. on item spawn of cobblestone:
  7. if {cobble} is set:
  8. cancel event
  9. clear {cobble}
  10.  
  11.  
  12. on mine of stone:
  13. if player's gamemode is survival:
  14. if player's tool is any pickaxe of silk touch:
  15. if yaml value "stone-drop" from file "plugins/Skript/scripts/drop/user/%player%.yml" is false:
  16. set {cobb} to false
  17. stop
  18. else:
  19. if yaml value "stone-doeq" from file "plugins/Skript/scripts/drop/user/%player%.yml" is false:
  20. set {cobb} to false
  21. drop 1 stone
  22. stop
  23. else:
  24. if player have enough space for 1 of stone:
  25. set {cobb} to false
  26. give 1 of stone to player
  27. stop
  28. else:
  29. set {cobb} to false
  30. drop 1 stone
  31. stop
  32. else:
  33. if yaml value "stone-drop" from file "plugins/Skript/scripts/drop/user/%player%.yml" is false:
  34. set {cobb} to false
  35. stop
  36. else:
  37. if yaml value "stone-doeq" from file "plugins/Skript/scripts/drop/user/%player%.yml" is false:
  38. set {cobb} to false
  39. drop 1 cobblestone
  40. stop
  41. else:
  42. if player have enough space for 1 of stone:
  43. set {cobb} to false
  44. give 1 of cobblestone to player
  45. stop
  46. else:
  47. set {cobb} to false
  48. drop 1 cobblestone
  49. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement