command /register [] []: aliases: /reg trigger: if arg 1 is set: if arg 2 is set: if arg 2 is "%arg-1%": if {register.%player%} is false: teleport player to {lobby} message "&bSuccesfuly registered!" set {pass.%player%} to arg 1 set {register.%player%} to true set {login.%player%} to true else: message "&1Error: You are already registered!" else: message "&0[&4ShifoAuth&0] &cRegister with /register [] []" else: message "&0[&4ShifoAuth&0] &cRegister with /register [] []" else: message "&0[&4ShifoAuth&0] &cRegister with /register [] []" command /login []: aliases: /l trigger: if {login.%player%} is false: if arg 1 is "%{pass.%player%}%": teleport player to {lobby} message "&cSuccesfuly logged!" set {login.%player%} to true else: message "&4Error: Incorrect password" else: message "&4Error: You already logged!" on join: teleport player to {lobby} wait 1.25 ticks set {login.%player%} to false on join: if {login.%player%} is not set: teleport player to {lobby} set {login.%player%} to false if {register.%player%} is not set: teleport player to {lobby} set {register.%player%} to false every 1 second: loop all players: if {register.%loop-player%} is false: message "&0[&4ShifoAuth&0] &cRegister with /register [] []" to loop-player wait 30 seconds if loop-player is online: if {register.%loop-player%} is false: kick loop-player due to "&4You isn't logged, you may get effect like kick" else if {login.%loop-player%} is false: send "&0[&4ShifoAuth&0] &cLogin with /login []" to loop-player wait 30 seconds if loop-player is online: if {login.%loop-player%} is false: kick loop-player due to "&4You isn't logged, you may get effect like kick" on skript load: wait 3.5 seconds broadcast "&f&m----------------------------------" broadcast "&f&m- -" broadcast "&f&m- -" broadcast "&f&m- [Auth] By Shifo Owner -" broadcast "&f&m- -" broadcast "&f&m- -" broadcast "&f&m----------------------------------" command /shifoauth [] [] []: permission: shifoauth.admin permission message: nopu trigger: if arg 1 is "register": if arg 2 is set: if arg 3 is set: message "&cSuccesfuly registered!" set {pass.%arg-2%} to arg 3 set {register.%arg-2%} to true if arg 1 is "unregister": if arg 2 is set: if arg 3 is set: message "&cSuccesfuly unregistered!" clear {pass.%arg-2%} set {register.%arg-2%} to false if arg 1 is "changepassword": if arg 2 is set: if arg 3 is set: message "&cSuccesfuly changed password." set {pass.%arg-2%} to arg 3 set {register.%arg-2%} to true on any move: if {register.%player%} is false: cancel event if {login.%player%} is false: cancel event on chat: if {register.%player%} is false: cancel event if {login.%player%} is false: cancel event on command: command is not "register" command is not "login" if {register.%player%} is false: cancel event if {login.%player%} is false: cancel event on damage: if {register.%attacker%} is false: cancel event if {login.%attacker%} is false: cancel event command /changepassword [] []: trigger: if {register.%player%} is true: if {login.%player%} is true: if arg 1 is set: if arg 2 is set: if arg 2 is "%arg-1%": set {pass.%player%} to arg 1 kick player due to "&cPassword has changed! %arg-1%. Join server again." else: message "/changepassword [] []" else: message "/changepassword [] []" else: message "/changepassword [] []" else: message "&b&lAn error occured. Login please" else: stop on skript load: if folder "plugins/Skript/AntiAlts" is not exists: create folder "plugins/Skript/AntiAlts" on first join: if file "plugins/Skript/AntiAlts/%player's ip%.data" is not exists: create file "plugins/Skript/AntiAlts/%player's ip%.data" set {player.%player's ip%} to player else: loop all players: loop-player has permission "ac.message": send "&4[Alt] &bDetected Alt new alt! IP: %player's ip%. Player: %player%. Has probably two accounts" to loop-player send "&4[Alt] &bDetected Alt new alt! IP: %player's ip%. Player: %player%. Has probably two accounts" to console on join: if file "plugins/Skript/AntiAlts/%player's ip%.data" is not exists: create file "plugins/Skript/AntiAlts/%player's ip%.data" wf "%player%" to "plugins/Skript/AntiAlts/%player's ip%.data" else: wf "%player%" to "plugins/Skript/AntiAlts/%player's ip%.data" command /ipban [] []: permission: hugoBans.PERM permission message: nie trigger: if arg 1 is set: if arg 2 is set: loop all players: if loop-player is arg-1: set {ipban.%loop-player's ip%} to true kick loop-player due to "&6&k9&4Blacklisted&6&k9 &c%arg-2% &4(%player%)" set {appeal.%loop-player's ip%} to arg 2 set {player.%loop-player's ip%} to player create file "plugins/Skript/ShifoBans/%loop-player's ip%.yml" broadcast "&b%player% &7has suspended IP of the &b%loop-player% &7for &b%arg-2%" send "&bSave his ip! IP: %loop-player's ip%" to player on join: if {ipban.%player's ip%} is true: wait 0.2 tick kick player due to "&6&k9&4Blacklisted&6&k9 &c%{appeal.%player's ip%}% &4(%{player.%player's ip%}%)" command /unbanip []: permission: hugoBans.PERM permission message: nie trigger: if arg 1 is set: delete file "plugins/Skript/ShifoBans/%arg-1%.yml" set {ipban.%arg-1%} to false message "&bUnbanned" on damage: if world of victim is not "FFA" or "UHC": if {induel.%victim%} is false: if damage is caused by fire: cancel event on damage: if world of victim is not "FFA" or "UHC": if {induel.%victim%} is false: if damage is caused by lava: cancel event on damage: if world of victim is not "FFA" or "UHC": if {induel.%victim%} is false: if damage is caused by drowning: cancel event on damage: if world of victim is not "FFA" or "UHC": if {induel.%victim%} is false: if damage is caused by burning: cancel event on damage: if world of victim is not "FFA" or "UHC": if {induel.%victim%} is false: if damage is caused by void: cancel event every 2.5 seconds: loop all players: if loop-player's food level is 0: set the loop-player's food level to 10 command /maitenance []: permission: op.maitenance permission message: ... trigger: if arg 1 is "on": set {maitenance} to true message "&4Maitenance mode enabled" if arg 1 is "off": set {maitenance} to false message "&4Maitenance mode disabled" on join: if player doesn't have permission "op.maitenance": if {maitenance} is true: kick player due to "&c&lWe comeback later" on command "/worldedit:calculate": cancel event on command "/worldedit:solve": cancel event on command "/worldedit:eval": cancel event on command "/worldedit:evaluate": cancel event on command "/worldedit:calc": cancel event on command "//calculate": cancel event on command "//solve": cancel event on command "//eval": cancel event on command "//evaluate": cancel event on command "//calc": cancel event on command "/solve": cancel event on command "/eval": cancel event on command "/evaluate": cancel event on command "/calc": cancel event on command "/calculate": cancel event on command "/kill": if player doesn't have permission "lisegskript.death": cancel event on command "/suicide": if player doesn't have permission "lisegskript.death": cancel event command /warn [] []: permission: antycheat.message permission message: nope trigger: if arg 1 is set: if arg 2 is set: broadcast "&7Player &c%player% &7warned &c%arg-1% &7for &c%arg-2%" command /pl: trigger: message "lmao k" command /setlobby: permission: lmao.lol permission: no trigger: set {lobby} to player' location command /list: aliases: /info, /information trigger: set {_tps} to tps message "&a&l&m-------------------------------------" message "" message "&b&lThere are %size of all players%/50 online" message "&e&lPing: &6%player's ping%" message "&4Shop: &chttp://shifo.tasrv.com/shop" message "&cTPS: %{_tps}%" message "" message "&a&l&m-------------------------------------" on command "/info": cancel event execute player command "list" command /msg [] []: trigger: if arg 1 is set: if player-argument is online: if arg 2 is set: if {ignore.%arg-1%} is false: set {chat.private.reply.%player%} to arg 1 set {chat.private.reply.%arg 1%} to player send "&d[From &a%player%&d: &a%arg-2%&d]" to player-argument send "&d[You -> %player-argument%&d: &a%arg-2%&d]" to player wait 30 seconds set {chat.private.reply.%player%} to arg 1 set {chat.private.reply.%arg 1%} to player else: message "&cPlayer has disabled private messagess" else: message "" else: message "&cPlayer is not online" else: message "&cUsage /msg [] []" command /r []: trigger: if arg 1 is set: if {ignore.%{chat.private.reply.%player%}%} is false: send "&d[From &a%player%&d: &a%arg-1%&d]" to {chat.private.reply.%player%} send "&d[You -> %{chat.private.reply.%player%}%&d: &a%arg-1%&d]" to player else: message "&cPlayer has disabled private messagess" else: message "&cUsage /r []" command /reply []: trigger: if arg 1 is set: if {ignore.%{chat.private.reply.%player%}%} is false: send "&d[From &a%player%&d: &a%arg-1%&d]" to {chat.private.reply.%player%} send "&d[You -> %{chat.private.reply.%player%}%&d: &a%arg-1%&d]" to player else: message "&cPlayer has disabled private messagess" else: message "&cUsage /r []" on block place: world of player is "UHC" if event-block is cobblestone: wait 3.5 seconds set event-block to air if event-block is lava: wait 3.5 seconds set event-block to air player has bucket in inventory remove 1 bucket from player's inventory give a lava bucket to player if event-block is water: wait 3.5 seconds set event-block to air player has bucket in inventory remove 1 bucket from player's inventory give a water bucket to player else: set event-block to air on block break: world of player is "UHC" block is not lava block is not water block is not cobblestone cancel event on respawn: teleport player to {lobby} command /fakekick: trigger: kick player due to "&fDisconneted" command /m [] []: trigger: if arg 1 is set: if player-argument is online: if arg 2 is set: if {ignore.%arg-1%} is false: set {chat.private.reply.%player%} to arg 1 set {chat.private.reply.%arg 1%} to player send "&d[From &a%player%&d: &a%arg-2%&d]" to player-argument send "&d[You -> %player-argument%&d: &a%arg-2%&d]" to player wait 30 seconds set {chat.private.reply.%player%} to arg 1 set {chat.private.reply.%arg 1%} to player else: message "&cPlayer has disabled private messagess" else: message "" else: message "&cPlayer is not online" else: message "&cUsage /msg [] []" on join: if {ignore.%player%} is not set: set {ignore.%player%} to false command /ignore []: aliases: /disablemsg trigger: if arg 1 is "off": set {ignore.%player%} to false message "&cYou no longer ignoring messagess" if arg 1 is "on": set {ignore.%player%} to true message "&cYou ignoring now messagess" on join: if player's name contain "ż" or "ś" or "ą" or "ę" or "ź" or "ó" or "ń" or "ł" or " " or "[" or "]" or "(" or ")" or "{" or "}" or "-" or "+" or "*" or "&" or "§" or "!" or "^" or "~" or "$" or "@": kick player due to "Invalid nickname." on join: if player's name contain "`" or "." or "," or "/" or "\" or "|" or ":" or ";" or "?": kick player due to "Invalid nickname." if player's name length is less than 3: kick player due to "Your nickname must be greater than 2 letters"