Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on left click:
- add 1 to {click.%player%}
- on break:
- delete {click.%player%}
- every 20 ticks:
- loop all players:
- if {click.%loop-player%} is more than 14:
- send "&cYou may be banned! Click slower!" to loop-player
- if {click.%loop-player%} is more than 20:
- broadcast "&a[CustomEye] &c%loop-player% &7has been banned for &aAuto Clicker / Illegal Modifications!"
- make console execute "/minecraft:ban %loop-player% [CustomEye] Auto Clicker Detected / Illegal Modifications!"
- add 1 to {anticheat.bans}
- add loop-player to {anticheat.players::*}
- delete {click.%loop-player%}
- command /customeye [<text>]:
- aliases: /ce
- permission: essentials.customeye
- permission message: &fUnknow command. Type "/help" for help
- trigger:
- if arg-1 is not set:
- send "&a[CustomEye]"
- send " "
- send "&a/customeye Reload"
- send "&a/customeye List"
- if arg-1 is set:
- if arg-1 is "reload":
- send "&a[CustomEye] &7Reloading..."
- wait 5 seconds
- send "&a[CustomEye] &7CustomEye reload successfully reload!"
- if arg-1 is "list":
- send "&6[CusomEye]"
- send " "
- send "&6Banned users &8[&a%{anticheat.bans}%&8]:"
- send " "
- send "&a%{anticheat.players::*}%"
- command /ceban [<offlineplayer>] [<text>]:
- permission: essentials.customeyeban
- permission message: &fUnknow command. Type "/help" for help
- trigger:
- if arg-1 is not set:
- send "&6[CusotmEye]"
- send "&c/ceban (Player) (Reason)"
- stop
- if arg-2 is not set:
- send "&6[CustomEye]"
- send "&c/ceban (Player) (Reason)"
- stop
- if arg-1 is set:
- if arg-2 is set:
- broadcast "&a[CustomEye] &a%arg-1% &7has been banned for &a%arg-2%"
- make console execute "/minecraft:ban %arg-1% [CustomEye] %arg-2%"
- add 1 to {anticheat.bans}
- add arg 1 to {anticheat.players::*}
- on chat:
- if player is sneaking:
- wait 3 seconds
- if player is sneaking:
- broadcast "&a[CustomEye] &a%player% &7has been banned for &aAuto Sneak"
- make console execute "/minecraft:ban %player% [CustomEye] Auto Sneak"
- add 1 to {anticheat.bans}
- add player to {anticheat.players::*}
- on command:
- if player is sneaking:
- wait 3 seconds
- if player is sneaking:
- broadcast "&a[CustomEye] &a%player% &7has been banned for &aAuto Sneak"
- make console execute "/minecraft:ban %player% [CustomEye] Auto Sneak"
- add 1 to {anticheat.bans}
- add player to {anticheat.players::*}
- every second in "world" or "ASkyBlock" or "ASkyBlock_nether":
- loop all players:
- if loop-player is flying:
- if loop-player doesn't have permission "essentials.fly":
- wait 1 second
- if loop-player is flying:
- loop all players:
- if loop-player has permission "customeye.notify":
- send "&a[CustomEye] &a%loop-player% &7has been flying for 2 seconds!" to loop-player
- wait 2 seconds
- if loop-player is flying:
- broadcast "&a[CustomEye] &a%player% &7has been banned for &aFlying"
- make console execute "/minecraft:ban %player% [CustomEye] Auto Sneak"
- add 1 to {anticheat.bans}
- add player to {anticheat.players::*}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement