Sueta

SybAntiBot (NO LONGER MAINTAINED)

1.2.0

Catch auto-mine bots and punish them.

·Plugin

Use this plugin to catch bots like Baritone. If your staff suspects someone of botting, they can use /isbot <player>. This command will rotate the player a bit, if the player is a bot, his head will snap back immediately and that will be detected by this plugin. Use the /isbot command when a player is walking straight, that will give the best results.

This plugin also has a auto detection system. When a player mines an ore there is a chance (default: 5%) that some time later (default: 5 seconds or 100 ticks) the /isbot command will be executed by the console.

config.yml
# How many ticks before the check looks at the pitch and yaw difference, the time the bot has to change his pitch/yaw back to what it was before. Keep this below 20 ticks, but not too low because of ping.   
ticksBeforeCheck   :  4 
 # The max difference between the yaw before change and after change, lower means more certain and less false flags, but keep this between 0.5 and 0.01   
maxDifference   :  0.025 
 # How many ticks to wait before the check starts, after a player mines a block   
delayBeforeRunBotCheck   :  100 
 # How many times the player will be checked after the first check. Don't make this number too big. I suggest keeping it below 5.   
delayedChecks   :  3  
default   : 
    # Don't make these lower then the maxDifference   
  yaw   :  3.0  
  pitch   :  3.0 
 # Which blocks activate the check (default is 1.8 blocks, so if you're using newer versions change LOG to OAK_LOG and add the other logs too, CASE SENSITIVE   
ores   : 
  - IRON_ORE 
  - GOLD_ORE 
  - DIAMOND_ORE 
  - EMERALD_ORE 
  - COAL_ORE 
  - LAPIS_ORE 
  - REDSTONE_ORE 
  - QUARTZ_ORE 
  - LOG 
  - LOG_2 
  - OAK_LOG 
  - BIRCH_LOG 
  - JUNGLE_LOG 
  - ACACIA_LOG 
  - DARK_OAK_LOG 
  - SPRUCE_LOG 
 # Customizable messages   
messages  :  
  reloadSuccess   :   "&2Successfully reloaded config files."   
  reloadNoPermission   :   "&cYou don't have permission to execute this command."   
  playerAlreadyBeingChecked   :   "&cThat player is already being checked."   
  playerDoesNotExist   :   "&cThat player does not exist."   
  noPermission   :   "&cYou don't have permission to execute this command."  
 # Chance the check gets activated on mining one of the ores, don't make this too high. 5% = 0.05   
checkChanceOnOreMine   :  0.05 
 # Teleport the player back to his old position and facing, not recommended.   
setback   :  false 
 # Enable or disable the bypass permission: sybantibot.bypass   
enableBypassPermission   :  true 
 # How many violations are needed to trigger the punishment commands.  
 # Higher number means less false punishments, but slower.  
 # Lower number means more false punishments, but faster.  
 # I suggest setting this to 2 or 3   
violations   :  2 
 # After how many seconds will all the violations be cleared.   
clearViolations   :  600 
 # Notification settings   
notify   : 
    # Wether you want to enable notifications   
  enable   :  true 
   # The notification message   
  message   :   "&f[&cSybAntiBot&f] &l%player% &7might be using an &f&lauto-mine bot&7 (&f%violations%VL&7)."  
 # Commands that will be executed by the console when a player is detected as a bot. If you don't want to use this function set it to commands: []   
commands   : 
  -  "kick %player% Bots are not allowed."  
 # The text that will be returned if a player uses the /rot <player> command  
 # %player% = player name  
 # %pitch% = the pitch difference  
 # %yaw% = the yaw difference   
return  :  
  true   :   "&4%player% is probably a bot. (Pitch: %pitch%, Yaw: %yaw%)"   
  false   :   "&2%player% is not a bot. (Pitch: %pitch%, Yaw: %yaw%)"  
 # The text that will be printed into the log file.   
log   : 
    # Enable or disable logs   
  enable   :  true  
  true   :   "%player% is a bot. p: %pitch%, y: %yaw%"   
  false   :   "%player% isn''t a bot. p: %pitch%, y: %yaw%"

Let me know in the discord server if you have any suggestions or if you need help with the plugin.

Similar projects

Plugin →