Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on mine of stone:
- If yaml value "stone-drop" from file "plugins/Skript/scripts/drop/user/%player%.yml" is false:
- on item spawn of cobblestone:
- if {cobble} is set:
- cancel event
- clear {cobble}
- on mine of stone:
- if player's gamemode is survival:
- if player's tool is any pickaxe of silk touch:
- if yaml value "stone-drop" from file "plugins/Skript/scripts/drop/user/%player%.yml" is false:
- set {cobb} to false
- stop
- else:
- if yaml value "stone-doeq" from file "plugins/Skript/scripts/drop/user/%player%.yml" is false:
- set {cobb} to false
- drop 1 stone
- stop
- else:
- if player have enough space for 1 of stone:
- set {cobb} to false
- give 1 of stone to player
- stop
- else:
- set {cobb} to false
- drop 1 stone
- stop
- else:
- if yaml value "stone-drop" from file "plugins/Skript/scripts/drop/user/%player%.yml" is false:
- set {cobb} to false
- stop
- else:
- if yaml value "stone-doeq" from file "plugins/Skript/scripts/drop/user/%player%.yml" is false:
- set {cobb} to false
- drop 1 cobblestone
- stop
- else:
- if player have enough space for 1 of stone:
- set {cobb} to false
- give 1 of cobblestone to player
- stop
- else:
- set {cobb} to false
- drop 1 cobblestone
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement