every 10 seconds: loop all players: set loop-player's hunger to 20 command /tp [] []: trigger: if player has permission "cmd.tp": if arg 2 is not set: if arg 1 is set: if arg 1 is online: teleport player to arg 1 send "&bPrzyteleportowano do &3%arg 1%" else: send "&bGracz nie jest online" else: send "&bPoprawne uzycie &3/tp " if arg 2 is set: teleport arg 1 to arg 2 send "&bTeleportowano gracza &3%arg 1% &bdo &3%arg 2%" send "&bZostales teleportowany przez gracza &3%player% &bdo &3%arg 2%" to arg 1 else: send "&bNie posiadasz permissji! &8(&3cmd.tp&8)" command /helpop []: trigger: if arg 1 is set: loop all players: if loop-player has permission "helpop.see": send "&8[&4HelpOP&8] &7%player%&8: &7%arg 1%" to loop-players send "&6Wyslano wiadomosc prosimy o cierpliwosc!" else: send "&bPoprawne uzycie &3/helpop " command /god []: trigger: if player has permission "cmd.god": if arg 1 is not set: if {god.%player%} is not set: set {god.%player%} to true send "&bTryb &3GodMode &bzostal wlaczony!" else: clear {god.%player%} send "&bTryb &3GodMode &bzostal wylaczony!" else: if {god.%arg 1%} is not set: set {god.%arg 1%} to true send "&bTryb &3GodMode &bzostal wlaczony dla &3%arg 1%" send "&bTryb &3GodMode &bzostal wlaczony przez &3%player%" to arg 1 else: if {god.%arg 1%} is set: clear {god.%arg 1%} send "&bTryb &3GodMode &bzostal wylaczony przez &3%player%" to arg 1 send "&bTryb &3GodMode &bzostal wylaczony dla &3%arg 1%" else: send "&bNie posiadasz permissji! &8(&3cmd.god&8)" on damage: if {god.%victim%} is set: cancel event command /fly []: trigger: if player has permission "cmd.fly": if {fly.%player%} is not set: set {fly.%player%} to true allow fly for player send "&bTryb &3Fly &bzostal wlaczony!" else: clear {fly.%player%} disallow fly for player send "&bTryb &3Fly &bzostal wylaczony!" on rightclick on player: if player is holding a blaze rod: if name of player's tool is "&cZbanuj": player has permission "core.stickban" or "core.*": execute player command "/ban %clicked player% Cheaty" set lore of player's tool to "&7Ostatni zbanowany gracz&8: &9%clicked player%" stop if player is holding a stick: if name of player's tool is "&cSprawdz": player has permission "core.stickban" or "core.*": execute player command "/check %clicked player%" set lore of player's tool to "&7Ostatnio sprawdzony gracz&8: &9%clicked player%" stop on script load: broadcast "eTools reloaded!" broadcast "Version 1.2" command /gamemode []: aliases: gm trigger: if player has permission "cmd.gamemode": if arg 1 is "0": set player's game mode to survival send "&bTryb gry zostal zmieniony na &3SURVIVAL" if arg 1 is "1": set player's game mode to creative send "&bTryb gry zostal zmieniony na &3CREATIVE" if arg 1 is "2": set player's game mode to adventure send "&bTryb gry zostal zmieniony na &3ADVENTURE" if arg 1 is not "0" or "1" or "2": send "&bNiepoprawny gamemode" if arg 1 is not set: send "&bPoprawne uzycie &3/gamemode <0/1/2>" on join: set join message to "" on chat: cancel event if {ranga.%player%} is 0: if {chat} is set: send "&bChat jest wlaczony tylko dla rang &3VIP" else: broadcast "&7%player%&8: &7%message%" if {ranga.%player%} is 1: broadcast "&6VIP &7%player%&8: &7%coloured message%" cancel event if {ranga.%player%} is 2: broadcast "&6YT &6%player%&8: &7%coloured message%" cancel event if {ranga.%player%} is 3: broadcast "&6YT+ &6%player%&8: &c%coloured message%" cancel event if {ranga.%player%} is 4: broadcast "&3H &7%player%&8: &b%coloured message%" cancel event if {ranga.%player%} is 5: broadcast "&2M &7%player%&8: &a%coloured message%" cancel event if {ranga.%player%} is 6: broadcast "&cADMIN &c%player%&8: &c%coloured message%" cancel event if {ranga.%player%} is 7: broadcast "&cHA %player%&8: &6%coloured message%" cancel event if {ranga.%player%} is 8: if {incognito.%player%} is not set: broadcast "&4CEO &7%player%&8: &c%coloured message%" cancel event else: broadcast "&k%player%&8: &7%message%" if {ranga.%player%} is 9: broadcast "&3&lS &b%player%&8: &9%coloured message%" on join: if {verifed.%player%} is not set: set {verifed.%player%} to 01 set {ranga.%player%} to 0 command /group [] []: trigger: if player has permission "cmd.group": if arg 2 is not set: send "&bPoprawne uzycie &3/group " if arg 2 is "player": set {ranga.%arg 1%} to 0 send "&bPoprawnie nadano graczu &3%arg 1% &brange &3PLAYER" execute console command "/ne player %arg 1% prefix &7" if arg 2 is "vip": set {ranga.%arg 1%} to 1 send "&bPoprawnie nadano graczu &3%arg 1% &brange &3VIP" execute console command "/ne player %arg 1% prefix &6VIP &7" if arg 2 is "yt": set {ranga.%arg 1%} to 2 send "&bPoprawnie nadano graczu &3%arg 1% &brange &3YT" execute console command "/ne player %arg 1% prefix &cYouTube &7" if arg 2 is "yt+": set {ranga.%arg 1%} to 3 send "&bPoprawnie nadano graczu &3%arg 1% &brange &3YT+" execute console command "/ne player %arg 1% prefix &cYouTube&6+ &7" if arg 2 is "helper": set {ranga.%arg 1%} to 4 send "&bPoprawnie nadano graczu &3%arg 1% &brange &3Helper" execute console command "/ne player %arg 1% prefix &3HELPER &7" if arg 2 is "mod": set {ranga.%arg 1%} to 5 send "&bPoprawnie nadano graczu &3%arg 1% &brange &3Moderator" execute console command "/ne player %arg 1% prefix &2MODERATOR &a" if arg 2 is "admin": set {ranga.%arg 1%} to 6 send "&bPoprawnie nadano graczu &3%arg 1% &brange &3ADMIN" execute console command "/ne player %arg 1% prefix &cADMIN &7" if arg 2 is "ha": set {ranga.%arg 1%} to 7 send "&bPoprawnie nadano graczu &3%arg 1% &brange &3HEADADMIN" execute console command "/ne player %arg 1% prefix &4H@ &7" if arg 2 is "ceo": set {ranga.%arg 1%} to 8 send "&bPoprawnie nadano graczu &3%arg 1% &brange &3CEO" execute console command "/ne player %arg 1% prefix &4CEO &7" if arg 2 is "sponsor" or "$": set {ranga.%arg 1%} to 9 send "&bPoprawnie nadano graczu &3%arg 1% &brange &3$$" execute console command "/ne player %arg 1% prefix &3&lS &7" if executor is console: if arg 2 is not set: send "&bPoprawne uzycie &3/group " if arg 2 is "player": set {ranga.%arg 1%} to 0 send "&bPoprawnie nadano graczu &3%arg 1% &brange &3PLAYER" execute console command "/ne player %arg 1% prefix &7" if arg 2 is "vip": set {ranga.%arg 1%} to 1 send "&bPoprawnie nadano graczu &3%arg 1% &brange &3VIP" execute console command "/ne player %arg 1% prefix &6VIP &7" if arg 2 is "yt": set {ranga.%arg 1%} to 2 send "&bPoprawnie nadano graczu &3%arg 1% &brange &3YT" execute console command "/ne player %arg 1% prefix &cYouTube &7" if arg 2 is "yt+": set {ranga.%arg 1%} to 3 send "&bPoprawnie nadano graczu &3%arg 1% &brange &3YT+" execute console command "/ne player %arg 1% prefix &cYouTube&6+ &7" if arg 2 is "helper": set {ranga.%arg 1%} to 4 send "&bPoprawnie nadano graczu &3%arg 1% &brange &3Helper" execute console command "/ne player %arg 1% prefix &3HELPER &7" if arg 2 is "mod": set {ranga.%arg 1%} to 5 send "&bPoprawnie nadano graczu &3%arg 1% &brange &3Moderator" execute console command "/ne player %arg 1% prefix &2MODERATOR &a" if arg 2 is "admin": set {ranga.%arg 1%} to 6 send "&bPoprawnie nadano graczu &3%arg 1% &brange &3ADMIN" execute console command "/ne player %arg 1% prefix &cADMIN &7" if arg 2 is "ha": set {ranga.%arg 1%} to 7 send "&bPoprawnie nadano graczu &3%arg 1% &brange &3HEADADMIN" execute console command "/ne player %arg 1% prefix &4H@ &7" if arg 2 is "ceo": set {ranga.%arg 1%} to 8 send "&bPoprawnie nadano graczu &3%arg 1% &brange &3CEO" execute console command "/ne player %arg 1% prefix &4CEO &7" if arg 2 is "sponsor" or "$": set {ranga.%arg 1%} to 9 send "&bPoprawnie nadano graczu &3%arg 1% &brange &3$$" execute console command "/ne player %arg 1% prefix &3&lS &7" command /chat []: trigger: if player has permission "cmd.chat": if arg 1 is not set: send "&bPoprawne uzycie &3/chat " else: if arg 1 is "clear": loop 100 times: broadcast "" broadcast "&bChat zostal wyczysczony przez &3%player%" if arg 1 is "switch": if {chat} is not set: set {chat} to 1 loop 100 times: broadcast "" broadcast "&bChat zostal wylaczony przez &3%player%" else: if {chat} is set: clear {chat} loop 100 times: broadcast "" broadcast "&bChat zostal wlaczony przez &3%player%" command /broadcast []: aliases: bc, bcast trigger: if player has permission "cmd.bc": if arg 1 is not set: send "&bPodaj wiadomosc!" else: broadcast "&7[&3&lUWAGA&7] &b%coloured arg 1%" command /kick [] []: trigger: if player has permission "cmd.kick": if arg 2 is not set: send "&6Poprawne uzycie &7 /kick " else: if arg 1 is online: if arg 2 is set: broadcast "&4Gracz &7%arg 1% &4zostal wyrzucony z serwera przez &7%player%. &4Powod: &7%arg 2%" wait 1 real seconds kick arg 1 due to "&cZostales wyrzucony z serwera. %nl%%nl% &4Przez: &7%player% %nl%&4Powod: &7%arg 2%" else: send "&4Gracz &7%arg 1% &4jest offline!" command /msg [] []: aliases: tell , m trigger: if arg 2 is not set: send "&6Poprawne uzycie: &7/msg " if arg 2 is set: if arg 1 is not "off" or "on": if arg 1 is online: if {msgoff.%arg 1%} is not set: send "&7%player% &8> &7Ja &8> &6%arg 2%" to arg 1 send "&7Ja &8> &7%arg 1% &8> &6%arg 2%" else: send "&cGracz ma wylaczone msg!" else: send "&6Gracz jest offline!" if arg 1 is "on": clear {msgoff.%player%} send "&6Odblokowales dostep pisania do Ciebie" if arg 1 is "off": set {msgoff.%player%} to true send "&6Zablokowales dostep pisania do Ciebie"