options: # Glowne opkcje. permissjavip: mcag.drop.vip permissjasvip: mcag.drop.svip # Opkcje dropu diamentu. diament: 5 diament1: 5 diament2: 5 diament3: 5 # Drop VIP diamentu. diamentvip1: 6 diamentvip2: 6 diamentvip3: 6 command /SprawdzDrop []: trigger: if arg 1 is set: if arg 1 is "diament": send "&8|&8&m--------------&8&m--------------|" send "&8&l• &7Drop diamentu jest aktualnie: %{diament::stan::%player%}%" send "&8&l• &7Wpisz: &2/MCAGdrop diament " send "&8&l• &7Aby &cwylaczyc&7/&awlaczyc &7drop!" send "&8|&8&m--------------&8&m--------------|" stop on join: wait 1 tick set {diament::stan::%player%} to true set {diament::stan::%player%} to "&aWlaczony" command /MCAGdrop []: trigger: if arg 1 is "diament": if {diament::stan::%player%} is true: if {diament::stan::%player%} is "&aWlaczony": set {diament::stan::%player%} to false set {diament::stan::%player%} to "&cWylaczony" send "&8&l• &cDrop diamentu zostal wlaczony!" to player stop if {diament::stan::%player%} is false: if {diament::stan::%player%} is "&cWylaczony": set {diament::stan::%player%} to true set {diament::stan::%player%} to "&aWlaczony" send "&8&l• &aDrop diamentu zostal wlaczony!" to player stop on mine of stone: if player's game mode is survival: if {diament::stan::%player%} is true: chance of {@diament}%: give 1 264 to the player send "" to player stop if player's tool is pickaxe of fortune 1: chance of {@diament1}%: give 1 264 to the player send "" to player stop if player's tool is pickaxe of fortune 2: chance of {@diament2}%: give 1 264 to the player send "" to player stop if player's tool is pickaxe of fortune 3: chance of {@diament3}%: give 1 264 to the player send "" to player stop if player has permission "{@permissjavip}": if player's tool is pickaxe of fortune 1: chance of {@diamentvip1}%: give 1 264 to the player send "" to player stop if player has permission "{@permissjavip}": if player's tool is pickaxe of fortune 2: chance of {@diamentvip2}%: give 1 264 to the player send "" to player stop if player has permission "{@permissjavip}": if player's tool is pickaxe of fortune 3: chance of {@diamentvip3}%: give 1 264 to the player send "" to player stop