Advertisement
Guest User

Untitled

a guest
May 21st, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.87 KB | None | 0 0
  1. # LuckyAntiCheat (LAC) Made by Tapen #
  2. # Do not take any credits of this AntiCheat, being found will be resulted with a permanent ban from the discord server of LAC and a blacklist from downloading. #
  3.  
  4. variables:
  5. {bannedLAC::%player%} = false
  6.  
  7. on join:
  8. set the join message to ""
  9. if {bannedLAC::%player%} = true:
  10. send ""
  11. send "&3&lYou are permanently banned from this server"
  12. send ""
  13. send "&bReason: &f[LAC] Blacklisted Modifications"
  14. send "&bBanned By: &fConsole"
  15. send ""
  16. kick the player due to ""
  17.  
  18. on quit:
  19. set the quit message to ""
  20.  
  21. on load:
  22. wait 1 second
  23. broadcast "&3[LAC] &bLoaded LuckyAntiCheat Made by Tapen."
  24.  
  25. options:
  26. server_name: Gladiators
  27.  
  28. # Reach Detection / LuckyAntiCheat Smart Detection #
  29. # Small Reach - Alert #
  30. # Blatant Reach - Autoban #
  31.  
  32. on damage of player:
  33. attacker is a player
  34. projectile doesn't exist
  35. if distance between attacker and victim is greater than or equal to 4.25:
  36. loop all players:
  37. loop-player has permission "lac.alerts":
  38. send "&3[LAC] &b%attacker% may have reach. (%distance between attacker and victim% blocks)" to loop-player
  39. if distance between attacker and victim is greater than or equal to 5:
  40. loop all players:
  41. loop-player has permission "lac.alerts":
  42. send "&3[LAC] &b%attacker% has reach. (%distance between attacker and victim% blocks)" to loop-player
  43. send "&3[LAC] &bAutobanning %attacker%." to loop-player
  44. broadcast ""
  45. broadcast "&3&l%attacker% &fwas permanently blacklisted from &b{@server_name}"
  46. broadcast "&3&lReason: &fBlacklisted Modifications."
  47. broadcast ""
  48. wait 0.25 seconds
  49. send "" to attacker
  50. send "&3&lYou are permanently banned from this server" to attacker
  51. send "" to attacker
  52. send "&bReason: &f[LAC] Blacklisted Modifications" to attacker
  53. send "&bBanned By: &fConsole" to attacker
  54. send "" to attacker
  55. wait 0.1 seconds
  56. kick the attacker due to ""
  57. set {bannedLAC::%attacker%} to true
  58.  
  59. command /lacunban [<offlineplayer>]:
  60. permission: lac.unban
  61. trigger:
  62. if arg is not set:
  63. send "&3[LAC] &b/lacunban (player)"
  64. if arg is set:
  65. set {bannedLAC::%arg%} to false
  66. broadcast "&3[LAC] &b%player% has unbanned %arg%"
  67.  
  68. command /lacban [<offlineplayer>]:
  69. permission: lac.ban
  70. trigger:
  71. if arg is not set:
  72. send "&3[LAC] &b/lacban (player)"
  73. if arg is set:
  74. set {bannedLAC::%arg%} to true
  75. broadcast ""
  76. broadcast "&3&l%arg% &fwas permanently blacklisted from &b{@server_name}"
  77. broadcast "&3&lReason: &fBlacklisted Modifications."
  78. broadcast ""
  79. wait 0.25 seconds
  80. send "" to arg
  81. send "&3&lYou are permanently banned from this server" to arg
  82. send "" to arg
  83. send "&bReason: &f[LAC] Blacklisted Modifications" to arg
  84. send "&bBanned By: &fConsole" to arg
  85. send "" to arg
  86. wait 0.1 seconds
  87. kick the arg due to ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement