variables: {pointsquest.%player%} = 0 {quest1.%player%} = 0 {Quest1-stone.%player%} = 0 {Quest1-online.%player%} = true {quest2.%player%} = 0 {Quest2-obs.%player%} = 0 {Quest2-online.%player%} = true {quest3.%player%} = 0 {Quest3-kox.%player%} = 0 {Quest3-online.%player%} = true command /jem10koxow: trigger: set {quest3.%player%} to 0 command /questy []: trigger: if arg 1 is not set: if {quest1.%player%} is 0: send "&6Quest 1: &7Wykop 1000 stone" send "&7(Command: &6/questy 1000stone&7)" if {quest1.%player%} is 1: send "&6Quest 1: &7Wykop 1000 stone" send "&7( &aWYKONANY! &7)" if {quest2.%player%} is 0: send "&6Quest 2: &7Wykop 50 obsydianu" send "&7(Command: &6/questy 50obsydian&7)" if {quest2.%player%} is 1: send "&6Quest 2: &7Wykop 50 obsydianu" send "&7( &aWYKONANY! &7)" if {quest3.%player%} is 0: send "&6Quest 3: &7Zjedz 10 koxow" send "&7(Command: &6/questy jem10koxow&7)" if {quest3.%player%} is 1: send "&6Quest 3: &7Zjedz 10 koxow" send "&7( &aWYKONANY! &7)" if arg 1 is "1000stone": if {Quest3-stone.%player%} is 1000: if {Quest1-online.%player%} is true: set {Quest1-online.%player%} to false set {quest1.%player%} to 1 broadcast "&f%player% &6Wykonal quest 1 &7( &8Wykop 1000 stone &7)" give 1 diamond helmet and 1 diamond chestplate of protection 4 and unbreaking 4 to player add 100 to {pointsquest.%player%} else: send "&cJuz wykonales ten quest!" else: send "&cNie wykopales 100 stone!" if arg 1 is "50obsydian": if {Quest2-obs.%player%} is 50: if {Quest2-online.%player%} is true: set {Quest2-online.%player%} to false set {quest2.%player%} to 1 broadcast "&f%player% &6Wykonal quest 2 &7( &8Wykop 50 obsydianu &7)" give 1 diamond leggings and 1 diamond boots of protection 4 and unbreaking 3 to player give 1 diamond sword of sharpness 5 and fire aspect 3 to player add 200 to {pointsquest.%player%} else: send "&cJuz wykonales ten quest!" else: send "&cNie wykopales 50 obsydianu!" if arg 1 is "jem10koxow": if {Quest3-kox.%player%} is 10: if {Quest3-online.%player%} is true: set {Quest3-online.%player%} to false broadcast "&f%player% &6Wykonal quest 3 &7( &8Zjedz 10 koxow &7)" set {quest3.%player%} to 1 give 3 322:1 to player give 1 diamond sword of sharpness 6 and fire aspect 3 to player add 500 to {pointsquest.%player%} else: send "&cJuz wykonales ten quest!" else: send "&cNie zjadles 10 koxow!" on consume: player's tool is golden apple:1: add 1 to {Quest3-kox.%player%} on mine of stone: add 1 to {Quest1-stone.%player%} on mine of obsidian: add 1 to {Quest2-obs.%player%}