options: #Tu ustaw itemy które mają być w gui (dropped) item1: diamond item2: iron ingot item3: gold ingot item4: emerald item5: bookshelf item6: apple item7: coal item8: ender pearl item9: obsidian item10: slimeball item12: redstone item18: light green wool item19: red wool item26: cobble #Nazwa itemu powyżej np (n1 = &bDiament) name1: &3DIAMENT name2: &7ZELAZO name3: &eZLOTO name4: &2Szmaragd name5: &6Bliblioteczka name6: &4jabłko name7: &7wegiel name8: &1perła name9: &7Obsydian name10: &2Szlam name12: &4Czerowny proszek name18: &2Włacz cały &2&lDROP name19: &4Wyłacz cały &2&lDROP name26: &7Bruk #Chance = Szansa (pamietaj o wstawianu 2 x %) //Gracz chance1: 20%% chance2: 20%% chance3: 20%% chance4: 20%% chance5: 20%% chance6: 20%% chance7: 20%% chance8: 5%% chance9: 20%% chance10: 20%% chance12: 20%% chance18: &2wcisnij aby właczyć &2&lDROP chance19: &2wcisnij aby &4wyłaczyć &2&lDROP chance26: 100%% # dla gracza szansa1: 20% szansa2: 20% szansa3: 20% szansa4: 20% szansa5: 20% szansa6: 20% szansa7: 20% szansa8: 5% szansa9: 20% szansa10: 20% szansa11: 20% szansa12: 20% szansa18: 20% szansa19: 20% szansa26: 100% version: 0.1 variables: {status.drop.1.%player%} = "&aWLACZONY" {status.drop.2.%player%} = "&aWLACZONY" {status.drop.3.%player%} = "&aWLACZONY" {status.drop.4.%player%} = "&aWLACZONY" {status.drop.5.%player%} = "&aWLACZONY" {status.drop.6.%player%} = "&aWLACZONY" {status.drop.7.%player%} = "&aWLACZONY" {status.drop.8.%player%} = "&aWLACZONY" {status.drop.9.%player%} = "&aWLACZONY" {status.drop.10.%player%} = "&aWLACZONY" {status.drop.12.%player%} = "&aWLACZONY" {status.drop.26.%player%} = "&aWLACZONY" command /drop: trigger: open chest with 3 rows named "&cDrop" to player wait 2 ticks format slot 0 of player with 1 of {@item1} named "&6&l{@name1}" with lore "&8» &7Szansa: &6{@chance1} &8•||&8» &7Status: %{status.drop.1.%player%}% &8•||&8» &7FORTUNE: &cNIE &8•" to close then run [execute player command "zmiendrop 1"] format slot 1 of player with 1 of {@item2} named "&6&l{@name2}" with lore "&8» &7Szansa: &6{@chance2} &8•||&8» &7Status: %{status.drop.2.%player%}% &8•||&8» &7FORTUNE: &cNIE &8•" to close then run [execute player command "zmiendrop 2"] format slot 2 of player with 1 of {@item3} named "&6&l{@name3}" with lore "&8» &7Szansa: &6{@chance3} &8•||&8» &7Status: %{status.drop.3.%player%}% &8•||&8» &7FORTUNE: &cNIE &8•" to close then run [execute player command "zmiendrop 3"] format slot 3 of player with 1 of {@item4} named "&6&l{@name4}" with lore "&8» &7Szansa: &6{@chance4} &8•||&8» &7Status: %{status.drop.4.%player%}% &8•||&8» &7FORTUNE: &cNIE &8•" to close then run [execute player command "zmiendrop 4"] format slot 4 of player with 1 of {@item5} named "&6&l{@name5}" with lore "&8» &7Szansa: &6{@chance5} &8•||&8» &7Status: %{status.drop.5.%player%}% &8•||&8» &7FORTUNE: &cNIE &8•" to close then run [execute player command "zmiendrop 5"] format slot 5 of player with 1 of {@item6} named "&6&l{@name6}" with lore "&8» &7Szansa: &6{@chance6} &8•||&8» &7Status: %{status.drop.6.%player%}% &8•||&8» &7FORTUNE: &cNIE &8•" to close then run [execute player command "zmiendrop 6"] format slot 6 of player with 1 of {@item7} named "&6&l{@name7}" with lore "&8» &7Szansa: &6{@chance7} &8•||&8» &7Status: %{status.drop.7.%player%}% &8•||&8» &7FORTUNE: &cNIE &8•" to close then run [execute player command "zmiendrop 7"] format slot 7 of player with 1 of {@item8} named "&6&l{@name8}" with lore "&8» &7Szansa: &6{@chance8} &8•||&8» &7Status: %{status.drop.8.%player%}% &8•||&8» &7FORTUNE: &cNIE &8•" to close then run [execute player command "zmiendrop 8"] format slot 8 of player with 1 of {@item9} named "&6&l{@name9}" with lore "&8» &7Szansa: &6{@chance9} &8•||&8» &7Status: %{status.drop.9.%player%}% &8•||&8» &7FORTUNE: &cNIE &8•" to close then run [execute player command "zmiendrop 9"] format slot 9 of player with 1 of {@item10} named "&6&l{@name10}" with lore "&8» &7Szansa: &6{@chance10} &8•||&8» &7Status: %{status.drop.10.%player%}% &8•||&8» &7FORTUNE: &cNIE &8•" to close then run [execute player command "zmiendrop 10"] format slot 10 of player with 1 of {@item12} named "&6&l{@name12}" with lore "&8» &7Szansa: &6{@chance12} &8•||&8» &7Status: %{status.drop.12.%player%}% &8•||&8» &7FORTUNE: &cNIE &8•" to close then run [execute player command "zmiendrop 12"] format slot 18 of player with 1 of {@item18} named "&6&l{@name18}" with lore "&8» {@chance18} &8•" to close then run [execute player command "wlaczall"] format slot 19 of player with 1 of {@item19} named "&6&l{@name19}" with lore "&8» &6{@chance19}&8•" to close then run [execute player command "wylaczall"] format slot 26 of player with 1 of {@item26} named "&6&l{@name26}" with lore "&8» &7Status: %{status.drop.26.%player%}% &8•" to close then run [execute player command "zmiendrop 26"] command /zmiendrop []: trigger: if {drop.%integer-arg%.%player%} is false: set {status.drop.%integer-arg%.%player%} to "&aWLACZONY" set {drop.%integer-arg%.%player%} to true send "&8» &aWlaczono drop" to player stop else: set {status.drop.%integer-arg%.%player%} to "&cWYLACZONY" set {drop.%integer-arg%.%player%} to false send "&8» &cWylaczono drop" to player stop command /wylaczall: trigger: set {status.drop.1.%player%} to "&cWYLACZONY" set {drop.1.%player%} to false set {status.drop.2.%player%} to "&cWYLACZONY" set {drop.2.%player%} to false set {status.drop.3.%player%} to "&cWYLACZONY" set {drop.3.%player%} to false set {status.drop.4.%player%} to "&cWYLACZONY" set {drop.4.%player%} to false set {status.drop.5.%player%} to "&cWYLACZONY" set {drop.5.%player%} to false set {status.drop.6.%player%} to "&cWYLACZONY" set {drop.6.%player%} to false set {status.drop.7.%player%} to "&cWYLACZONY" set {drop.7.%player%} to false set {status.drop.8.%player%} to "&cWYLACZONY" set {drop.8.%player%} to false set {status.drop.9.%player%} to "&cWYLACZONY" set {drop.9.%player%} to false set {status.drop.10.%player%} to "&cWYLACZONY" set {drop.10.%player%} to false set {status.drop.12.%player%} to "&cWYLACZONY" set {drop.12.%player%} to false set {status.drop.26.%player%} to "&cWYLACZONY" set {drop.26.%player%} to false send "&4wylaczyłes &4cały &6&lDROP" command /wlaczall: trigger: set {status.drop.1.%player%} to "&aWLACZONY" set {drop.1.%player%} to true set {status.drop.2.%player%} to "&aWLACZONY" set {drop.2.%player%} to true set {status.drop.3.%player%} to "&aWLACZONY" set {drop.3.%player%} to true set {status.drop.4.%player%} to "&aWLACZONY" set {drop.4.%player%} to true set {status.drop.5.%player%} to "&aWLACZONY" set {drop.5.%player%} to true set {status.drop.6.%player%} to "&aWLACZONY" set {drop.6.%player%} to true set {status.drop.7.%player%} to "&aWLACZONY" set {drop.7.%player%} to true set {status.drop.8.%player%} to "&aWLACZONY" set {drop.8.%player%} to true set {status.drop.9.%player%} to "&aWLACZONY" set {drop.9.%player%} to true set {status.drop.10.%player%} to "&aWLACZONY" set {drop.10.%player%} to true set {status.drop.11.%player%} to "&aWLACZONY" set {drop.11.%player%} to true set {status.drop.12.%player%} to "&aWLACZONY" set {drop.12.%player%} to true set {status.drop.26.%player%} to "&aWLACZONY" set {drop.26.%player%} to true send "&2wlaczyłes &3cały &6&lDROP" on mine of stone: delete block chance of {@szansa1}: if {drop.1.%player%} is true: add {@item1} to the player's inventory chance of {@szansa2}: if {drop.2.%player%} is true: add {@item2} to the player's inventory chance of {@szansa3}: if {drop.3.%player%} is true: add {@item3} to the player's inventory chance of {@szansa4}: if {drop.4.%player%} is true: add {@item4} to the player's inventory chance of {@szansa5}: if {drop.5.%player%} is true: add {@item5} to the player's inventory chance of {@szansa6}: if {drop.6.%player%} is true: add {@item6} to the player's inventory chance of {@szansa7}: if {drop.7.%player%} is true: add {@item7} to the player's inventory chance of {@szansa8}: if {drop.8.%player%} is true: add {@item8} to the player's inventory chance of {@szansa9}: if {drop.9.%player%} is true: add {@item9} to the player's inventory chance of {@szansa10}: if {drop.10.%player%} is true: add {@item10} to the player's inventory chance of {@szansa12}: if {drop.12.%player%} is true: add {@item12} to the player's inventory chance of {@szansa26}: if {drop.26.%player%} is true: add {@item26} to the player's inventory on first join: set {status.drop.1.%player%} to "&aWLACZONY" set {drop.1.%player%} to true set {status.drop.2.%player%} to "&aWLACZONY" set {drop.2.%player%} to true set {status.drop.3.%player%} to "&aWLACZONY" set {drop.3.%player%} to true set {status.drop.4.%player%} to "&aWLACZONY" set {drop.4.%player%} to true set {status.drop.5.%player%} to "&aWLACZONY" set {drop.5.%player%} to true set {status.drop.6.%player%} to "&aWLACZONY" set {drop.6.%player%} to true set {status.drop.7.%player%} to "&aWLACZONY" set {drop.7.%player%} to true set {status.drop.8.%player%} to "&aWLACZONY" set {drop.8.%player%} to true set {status.drop.9.%player%} to "&aWLACZONY" set {drop.9.%player%} to true set {status.drop.10.%player%} to "&aWLACZONY" set {drop.10.%player%} to true set {status.drop.12.%player%} to "&aWLACZONY" set {drop.12.%player%} to true set {status.drop.26.%player%} to "&aWLACZONY" set {drop.26.%player%} to true on join: set {status.drop.1.%player%} to "&aWLACZONY" set {drop.1.%player%} to true set {status.drop.2.%player%} to "&aWLACZONY" set {drop.2.%player%} to true set {status.drop.3.%player%} to "&aWLACZONY" set {drop.3.%player%} to true set {status.drop.4.%player%} to "&aWLACZONY" set {drop.4.%player%} to true set {status.drop.5.%player%} to "&aWLACZONY" set {drop.5.%player%} to true set {status.drop.6.%player%} to "&aWLACZONY" set {drop.6.%player%} to true set {status.drop.7.%player%} to "&aWLACZONY" set {drop.7.%player%} to true set {status.drop.8.%player%} to "&aWLACZONY" set {drop.8.%player%} to true set {status.drop.9.%player%} to "&aWLACZONY" set {drop.9.%player%} to true set {status.drop.10.%player%} to "&aWLACZONY" set {drop.10.%player%} to true set {status.drop.12.%player%} to "&aWLACZONY" set {drop.12.%player%} to true set {status.drop.26.%player%} to "&aWLACZONY" set {drop.26.%player%} to true on item spawn of cobblestone: if {cobble} is set: cancel event clear {cobble} on item spawn of cobblestone: if {cobble} is not set: cancel event clear {cobble}