HeroseQ

Bany na server hardcore by HeroseQ

Mar 4th, 2015
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.16 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. {banuje.%player%} = false
  19. {online.%player%} = false
  20.  
  21.  
  22. options:
  23. tag: TEST
  24. czas_bana: 1 # Na ile dni ma dostac bana
  25. itemshop: xxx # Link do sklepu sms, w ktorym gracz moze sie odbanowac
  26.  
  27.  
  28. on death:
  29. victim is player:
  30. attacker is player:
  31. broadcast "&a%attacker% &7Zabił gracza &a%victim% &7używająć &a%attacker's tool%"
  32.  
  33. on join:
  34. set {online.%player%} to true
  35. on quit:
  36. set {online.%player%} to false
  37.  
  38. on death:
  39. if {online.%player%} is true:
  40. set {year.dead.%player%} to "%year%"
  41. set {month.dead.%player%} to "%month%"
  42. set {day.dead.%player%} to "%day%"
  43. set {banuje.%player%} to true
  44. 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
  45. set {banuje.%player%} to false
  46. set {zbanowany.%player%} to true
  47. broadcast "&cGracz &e%player% &cumarł. Wrócić może za {@czas_bana} dni !"
  48. 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%}%"
  49. wait {@czas_bana} real seconds
  50. set {zbanowany.%player%} to false
  51. stop
  52.  
  53. on connect:
  54. if {zbanowany.%player%} is true:
  55. 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%}%"
  56. set {banuje.%player%} to false
  57.  
  58.  
  59. command /hcunban [<offlineplayer>]:
  60. executable by: console
  61. trigger:
  62. set {zbanowany.%arg offlineplayer%} to false
  63. send "&cOdbanowałeś gracza %arg offlineplayer%"
Advertisement
Add Comment
Please, Sign In to add comment