Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #----------------------------------------------
- # Licencja - HeroseQ
- #----------------------------------------------
- #Zezwalam na:
- #- Edytowanie kodu skryptu.
- #- Używanie skryptu na serverach.
- #Nie zezwalam na:
- #- Podszuwanie sie pod autora
- #- Udostepnianie skryptu na innych forach.
- #- Zmienianie licencji lub usuwanie jej.
- #----------------------------------------------
- variables:
- {zbanowany.%player%} = false
- {banuje.%player%} = false
- {online.%player%} = false
- options:
- tag: TEST
- czas_bana: 1 # Na ile dni ma dostac bana
- itemshop: xxx # Link do sklepu sms, w ktorym gracz moze sie odbanowac
- on death:
- victim is player:
- attacker is player:
- broadcast "&a%attacker% &7Zabił gracza &a%victim% &7używająć &a%attacker's tool%"
- on join:
- set {online.%player%} to true
- on quit:
- set {online.%player%} to false
- on death:
- if {online.%player%} is true:
- set {year.dead.%player%} to "%year%"
- set {month.dead.%player%} to "%month%"
- set {day.dead.%player%} to "%day%"
- set {banuje.%player%} to true
- send " {@tag} &7- &4Umarłeś ! &cOdczekaj 2 dni lub odbanuj się na {@itemshop} &7Data zgonu &f> &a%{year.dead.%player%}%&7.&c%{month.dead.%player%}%&7.&c%{day.dead.%player%}%" to the victim
- set {banuje.%player%} to false
- set {zbanowany.%player%} to true
- broadcast "&cGracz &e%player% &cumarł. Wrócić może za {@czas_bana} dni !"
- kick player due to " {@tag} &7- &4Umarłeś Odczekaj 2 dni lub odbanuj się na {@itemshop} &7Data zgonu &f> &q%{year.dead.%player%}%&7.&c%{month.dead.%player%}%&7.&c%{day.dead.%player%}%"
- wait {@czas_bana} real seconds
- set {zbanowany.%player%} to false
- stop
- on connect:
- if {zbanowany.%player%} is true:
- kick player due to " {@tag} &7- &4Umarłeś ! &cOdczekaj 2 dni lub odbanuj się na {@itemshop} &7Data zgonu &f> &a%{year.dead.%player%}%&7.&c%{month.dead.%player%}%&7.&c%{day.dead.%player%}%"
- set {banuje.%player%} to false
- command /hcunban [<offlineplayer>]:
- executable by: console
- trigger:
- set {zbanowany.%arg offlineplayer%} to false
- send "&cOdbanowałeś gracza %arg offlineplayer%"
Advertisement
Add Comment
Please, Sign In to add comment