on load: if folder "plugins/AntyBot" doesn't exists: create folder "plugins/AntyBot" on connect: if file "plugins/AntyBot/%player%.yml" doesn't exists: create file "plugins/AntyBot/%player%.yml" kick player due to "&a&lWejdz ponownie w celu weryfikacji!" set "Data weryfikacji:" to "%now%" in yaml file "plugins/AntyBot/%player%.yml" else: stop command /antybot [] []: permission: wario.antybot permission message: &cBrak uprawnien &7(&6wario.antybot&7) trigger: if arg 1 is not set: send "&cPodaj argument!" send "&7Dostepne: &6dodaj&7, &6usun&7, &6sprawdz&7." if arg 2 is not set: send "&cPodaj gracza!" if arg 1 is "dodaj": if arg 2 is set: if file "plugins/AntyBot/%arg 2%.yml" doesn't exists: create file "plugins/AntyBot/%arg 2%.yml" set "Data weryfikacji:" to "Dodany przez administratora: %sender%" in yaml file "plugins/AntyBot/%arg 2%.yml" send "&7Gracz &6%arg 2% &7zostal dodany do antybota" else: send "&cTen gracz juz jest zweryfikowany!" if arg 1 is "usun": if arg 2 is set: if file "plugins/AntyBot/%arg 2%.yml" doesn't exists: send "&cTen gracz nie jest zweryfikowany!" else: delete file "plugins/AntyBot/%arg 2%.yml" send "&7Gracz &6%arg 2% &7zostal usuniety z antybota!" if arg 1 is "sprawdz": if arg 2 is set: if file "plugins/AntyBot/%arg 2%.yml" doesn't exists: send "&7Gracz &6%arg 2% &7nie jest zweryfikowany." else: send "&7Gracz &6%arg 2% &7jest zweryfikowany."