on script load: if folder "plugins/Rekru" doesn't exists: create folder "plugins/Rekru" on script load: if file "plugins/zgloszenia.yml" doesn't exists: create file "plugins/zgloszenia.yml" wf "#Drop:" to "plugins/fDrop/drop.yml" wf "diament: 5.23" to "plugins/fDrop/drop.yml" wf "zelazo: 11.67" to "plugins/fDrop/drop.yml" wf "zloto: 7.43" to "plugins/fDrop/drop.yml" wf "tnt: 1.31" to "plugins/fDrop/drop.yml" wf "refil: 0.56" to "plugins/fDrop/drop.yml" wf "perla: 0.23" to "plugins/fDrop/drop.yml" wf "kox: 0.01" to "plugins/fDrop/drop.yml" wf "jablko: 3.12" to "plugins/fDrop/drop.yml" wf "obsydian: 4.14" to "plugins/fDrop/drop.yml" wf "ksiazki: 2.34" to "plugins/fDrop/drop.yml" wf "szmaragd: 4.69" to "plugins/fDrop/drop.yml" variables: {diament} = 5.23 {zelazo} = 11.67 {zloto} = 7.43 {tnt} = 1.31 {ref} = 0.56 {perla} = 0.23 {kox} = 0.01 {jablko} = 3.12 {obsydian} = 4.14 {ksiazki} = 2.34 {szmaragd} = 4.69 command /drop: trigger: open chest with 3 rows named "&cDrop" to player format slot 0 of player with 1 diamond named "&4Diament" with lore "&cSzansa: {diament}%" format slot 1 of player with 1 gold ingot named "&4Zloto" with lore "&cSzansa: {zloto}%" format slot 2 of player with 1 iron ingot named "&4Zelazo" with lore "&cSzansa: {zelazo}%" format slot 3 of player with 1 tnt named "&4TnT" with lore "&cSzansa: {tnt}%" format slot 4 of player with 1 golden apple named "&4Refil" with lore "&cSzansa: {ref}%" format slot 5 of player with 1 ender pearl named "&4Perla" with lore "&cSzansa: {perla}%" format slot 6 of player with 1 golden apple:1 named "&4Kox" with lore "&cSzansa: {kox}%" format slot 7 of player with 1 apple named "&4Jablko" with lore "&cSzansa: {jablko}%" format slot 8 of player with 1 obsidian named "&4Obsydian" with lore "&cSzansa: {obsydian}%" format slot 9 of player with 1 bookshelf named "&4Biblioteczka" with lore "&cSzansa: {ksiazki}%" format slot 10 of player with 1 emerald named "&4Szmaragd" with lore "&cSzansa: {szmaragd}%" on mine stone: chance of {diament}%: give player 1 diamond chance of {zloto}%: give player 1 gold ingot chance of {zelazo}%: give player 1 iron ingot chance of {tnt}%: give player 1 tnt chance of {ref}%: give player 1 golden apple chance of {perla}%: give player 1 ender pearl chance of {kox}%: give player 1 golden apple:1 chance of {jablko}%: give player 1 apple chance of {obsydian}%: give player 1 obsidian chance of {ksiazki}%: give player 1 bookshelf chance of {szmaragd}%: give player 1 emerald