options: permisjia_root: serw.restart permisjia_reklama: serw.reklama permisjia_wulgaryzmy: serw.wulgi permisjia_chat: czat.admin czas_bana_reklama: 7d czas_mute_wulgaryzmy: 1h command /serw []: trigger: if player has permission "*" or "{@permisjia_root}": if arg is not set: send "&cPoprawne użycie:&7 /serw [restart/off/on]" to player stop if arg is "restart": execute console command "chat off" loop 100 times: send "" to all players send "&cZa 2 minuty nastąpi restart serwera!" to all players send "" to all players wait 2400 ticks kick all players due to "&8&l&m------------------------------%nl%&c&lTrwa restart serwera!%nl% Zapraszamy ponownie za chwile!%nl%&8&l&m------------------------------" execute console command "whitelist on" else: if arg is "off": execute console command "chat off" loop 100 times: send "" to all players send "&cZa 2 minuty nastąpi wyłączenie serwera!" to all players send "&cAle zostanie on wkrótce włączony ponownie!" to all players send "" to all players wait 2400 ticks kick all players due to "&8&l&m------------------------------%nl%&c&lSerwer został wyłączony!%nl% Ale wracamy za chwile!%nl%&8&l&m------------------------------" execute console command "whitelist on" wait 1 tick execute console command "save-all" wait 100 ticks execute console command "stop" else: if arg is "on": execute console command "whitelist off" send "&cChat jest nadal wyłączony!" to all ops else: send "&cBrak permisji!" to player # command /rek []: trigger: if arg is not set: send "&cPoprawne użycie:&7 /rek [gracz]" to player else: if arg is not player: send "&4Błąd! &cNie ma takiego gracza!" else: if player has permission "{@permisjia_reklama}" or "*": loop 100 times: send "" to all players execute player command "/tempban %arg% {@czas_bana_reklama} &cReklama" send "&aZbanowano pomyślnie!" to player else: send "&cBrak permisji!" to player # command /wulgi []: trigger: if arg is not set: send "&cPoprawne użycie:&7 /wulgi [gracz]" else: if arg is not player: send "&4Błąd! &cNie ma takiego gracza!" else: if player has permission "{@permisjia_wulgaryzmy}" or "*": execute player command "/mute %arg% {@czas_mute_wulgaryzmy}" send "&cZostałeś wyciszony z powodu:&7 Wulgi&c." to arg send "&cCzas mute'a:&7 {@czas_mute_wulgaryzmy}" to arg else: send "&cBrak permisji!" to player # command /chat []: trigger: if player has permission "*" or "{@permisjia_chat}": if arg 1 is not set: send "&cPoprawne użycie: &7/chat [on/off/clear]" to player stop if arg 1 is "clear" or "c": loop all players: loop 300 times: send "" to loop-players send "&9Czat zostal wyczyszczony" to all players if arg 1 is "off": set {chat.status} to false send "&4Czat został wyłączony" to all players stop if arg 1 is "on": set {chat.status} to true send "&aCzat jest włączony." to all players stop else: send "&cBrak permisji!" to player # command /dajadmaplz: aliases: dajadmapls trigger: apply Blindness 255 to player for 10 seconds loop 100 times: send "" to player send "&cNie dla psa, dla pana to!" to player send "&4&kIOI&r &cTwój komputer spali się za 10 min! &4&kIOI&r" to player wait 100 ticks send "" to player send "&aNie no żarcik taki XD" to player on chat: if {chat.status} is false: send "&cCzat jest wyłączony!" cancel event if {chat.status} is true: