HeroseQ

HeroBns - Poprawiona wersja

Mar 4th, 2015
350
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.85 KB | None | 0 0
  1. #----------------------------------------------
  2. # Licencja - HeroseQ
  3. #----------------------------------------------
  4. #Zezwalam na:
  5. #- Edytowanie kodu skryptu.
  6. #- Używanie skryptu na serverach.
  7. #Nie zezwalam na:
  8. #- Podszuwanie sie pod autora
  9. #- Udostepnianie skryptu na innych forach.
  10. #- Zmienianie licencji lub usuwanie jej.
  11. #----------------------------------------------
  12.  
  13.  
  14.  
  15.  
  16. variables:
  17. {zbanowany.%player%} = false
  18. {online.%player%} = false
  19.  
  20.  
  21. options:
  22. tag: TEST
  23. czas_bana: 1 # Na ile dni ma dostac bana
  24. itemshop: xxx # Link do sklepu sms, w ktorym gracz moze sie odbanowac
  25.  
  26.  
  27. on death:
  28. victim is player:
  29. attacker is player:
  30. broadcast "&a%attacker% &7Zabił gracza &a%victim% &7używająć &a%attacker's tool%"
  31.  
  32. on join:
  33. set {online.%player%} to true
  34. on quit:
  35. set {online.%player%} to false
  36.  
  37. on death:
  38. if {online.%player%} is true:
  39. set {year.dead.%player%} to "%year%"
  40. set {month.dead.%player%} to "%month%"
  41. set {day.dead.%player%} to "%day%"
  42. set {zbanowany.%player%} to true
  43. broadcast "&cGracz &e%player% &cumarł. Wrócić może za {@czas_bana} dni !"
  44. kick player due to " {@tag} &7- &4Umarłeś Odczekaj {@czas_bana} dni lub odbanuj się na {@itemshop} &7Data zgonu &f> &q%{year.dead.%player%}%&7.&c%{month.dead.%player%}%&7.&c%{day.dead.%player%}%"
  45. wait {@czas_bana} real days
  46. set {zbanowany.%player%} to false
  47. stop
  48.  
  49. on connect:
  50. if {zbanowany.%player%} is true:
  51. kick player due to " {@tag} &7- &4Umarłeś ! &cOdczekaj {@czas_bana} dni lub odbanuj się na {@itemshop} &7Data zgonu &f> &a%{year.dead.%player%}%&7.&c%{month.dead.%player%}%&7.&c%{day.dead.%player%}%"
  52.  
  53.  
  54. command /hcunban [<offlineplayer>]:
  55. executable by: console
  56. trigger:
  57. set {zbanowany.%arg offlineplayer%} to false
  58. send "Gracz %arg offlineplayer% został odbanowany"
Advertisement
Add Comment
Please, Sign In to add comment