Sonar

Sonar

Plugin

Sonar is a lightweight antibot plugin for Velocity, BungeeCord, and Bukkit. It is designed to detect and remove bots from your server without affecting any real players.

Server ManagementUtility

570 downloads
11 followers
Created6 months ago
Updated8 days ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

image

Sonar

Sonar is a lightweight and easy-to-use anti-bot plugin for your Minecraft server. It supports every client and server version. It's an effective and extensible solution for protecting your Minecraft server against all kinds of bot attacks.

Disclaimer: Currently only working on Velocity and BungeeCord — Bukkit support is being worked on

Design and Goal

  • Effective, lightweight, and easy-to-use
  • No unnecessary features and clean code
  • Protection against all kinds of bot attacks
  • No player should be annoyed by any sort of CAPTCHA
  • No sort of checking for VPNs or proxies
  • Multi-platform support (See supported versions)

Checks

  • Fallback is Sonar's main anti-bot component
  • Sonar queues new player logins to prevent spam login attacks
  • Sonar checks the handshake packets for legitimacy
  • Sonar makes sure some packets cannot be duplicated illegitimately

Fallback

Fallback analyzes a player's behavior before joining the actual server, therefore stopping malicious traffic from ever reaching the backend. It is supposed to be an instant, powerful, and invisible method of verification that should prevent all typical and advanced types of bots.

  • Sends the player to a lightweight fake server when they connect for the first time.
  • Analyzes if the player is sending the necessary packets.
  • Analyzes if the player is sending legitimate packets.
  • Checks if the player is obeying client gravity.
  • Checks if the player is colliding with blocks correctly.

Fallback also protects against huge spambot attacks since it queues the incoming connections, therefore making it technically impossible to have a ton of bots join the server at the same time.

Videos

  1. Fall check preview: https://youtu.be/u-vFWDDXgVY
  2. Fall check + CAPTCHA preview: https://youtu.be/wCXbqUubDI8

bStats

Velocity

BungeeCord

External resources



Project members

Jones

Owner


Technical information

Project ID