#BY MasteriZiomaX (SkiLLerK_1337) #ZABRANIAM: #- Publikowania go jako swój skrypt #- Zarabiania na tym skrypcie #- Podszywania się pod autora #- Usuwania 25, 26 linijki options: haslo: pin #Tu wpisz PIN block: grass #Tu wpisz na jakim bloku ma cofac gracza on join: if {banpin.%player%} is on: execute console command "kick %player% Masz chwilowa blokade!" if {op.%player%} is on: set {pinoff.%player%} to on execute console command "gamemode 0 %player%" execute console command "ungod %player%" set {miejscespawn.%player%} to location of player teleport player to {miejscepin} execute console command "deop %player%" set {pin.%player%} to on if player's gamemode is creative: set {creative.%player%} to on if player is "MasteriZiomaX" or "SkiLLerK_1337": # PROSZE NIE USUWAC send "&f&lTen serwer wykorzystuje twoj skrypt na PIN!" command /epin [] []: permission: epin.admin executable by: players and console trigger: if arg 1 is "wylacz": set {banpin.%arg 2%} to off send "&f&lWylaczyles Blokade PIN graczowi %arg-2%" if arg 1 is "sprawdz": send "&f&lStatus Blokady PIN Gracza %arg-2%: %{banpin.%arg-2%}%" if arg 1 is "ustawspawn": set {miejscepin} to location of player send "&f&lUstawiono miejsce spawnu PIN!" if arg 1 is "tpspawn": teleport player to {miejscepin} send "&f&lPrzeteleportowano do miejsca spawnu PIN!" if arg 1 is "op": set {op.%arg 2%} to on execute console command "kick %arg 2% Relognij!" send "&f&lDodano Uprawnienie Graczowi %arg 2% do /pin" if arg 1 is "deop": set {op.%arg 2%} to off execute console command "kick %arg 2% Relognij!" send "&f&lOdebrano Uprawnienie Graczowi %arg 2% do /pin" if arg 1 is not set: send "&c/epin wylacz [gracz] - wylacza blokade graczowi" send "&c/epin sprawdz [gracz] - sprawdza status blokady gracza" send "&c/epin ustawspawn - ustawia miejsce spawnu pinu" send "&c/epin tpspawn - teleportuje na miejsce spawnu pinu" send "&c/epin op - daje uprawnienie graczowi do /pin" send "&c/epin deop - odbiera uprawnienia graczowi do /pin" command /pin []: trigger: if {op.%player%} is on: if arg 1 is "{@haslo}": execute console command "op %player%" set {pin.%player%} to off send "&2Haslo wpisane poprawne." teleport player to {miejscespawn.%player%} set {pinproba.%player%} to 0 set {miejscespawn.%player%} to off else: add 1 to {pinproba.%player%} if {pinproba.%player%} is 3: execute console command "kick %player% Zostales zbanowany na 5 minut!" set {banpin.%player%} to on remove 3 from {pinproba.%player%} wait 5 minute set {banpin.%player%} to off send "&f&lZle wpisales PIN!" on walking on {@block}: if {op.%player%} is on: if {pin.%player%} is on: cancel event send "&f&lWpisz najpierw PIN! /pin [kod]" on chat: if {op.%player%} is on: if {pin.%player%} is on: send "&f&lWpisz najpierw PIN! /pin [kod]" cancel event on command: if {op.%player%} is on: if {pin.%player%} is on: if command is not "helpop" or "login" or "pin": cancel event on click: if {op.%player%} is on: if {pin.%player%} is on: cancel event on break: if {op.%player%} is on: if {pin.%player%} is on: cancel event on drop: if {op.%player%} is on: if {pin.%player%} is on: cancel event