Coder Social home page Coder Social logo

infinitecod3 / sonar Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jonesdevelopment/sonar

0.0 0.0 0.0 2.73 MB

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

Home Page: https://docs.jonesdev.xyz

License: GNU General Public License v3.0

Java 100.00%

sonar's Introduction

๐Ÿ’ซ Sonar

Lightweight and easy-to-use anti-bot plugin for your Minecraft server.
Sonar keeps your server safe from common and even sophisticated bot attacks.


Releases | Issues | Pull Requests | Discord | License

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

Sonar 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 simple method of verification that should prevent all typical and advanced types of bots.

  1. Sonar sends the player to a lightweight fake server when they connect for the first time.
  2. Sonar verifies that players obey the laws of Minecraft's physics, including gravity and proper block collision.
  3. Sonar verifies that players send legitimate packets when interacting with vehicles (e.g. boats).
  4. Sonar makes sure that players send legitimate packets according to the vanilla Minecraft protocol.

Sonar also protects against 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.

False positives

Sonar is unlikely to ever falsely prevent a player from joining the server since Minecraft uses the TCP protocol, which means that packets are always sent in the correct order. Therefore, lag or ping should not affect the bot check. If you or one of your players experiences a false positive, make sure to report it by opening a GitHub issue or a ticket on the Discord server.

Building

If you want to build your own version of Sonar, please take a look at the Sonar building documentation.
You can also take a look at the gradle documentation for a better understanding of Gradle.

Contributing

If you are interested in contributing, you can check out the Contributing Guidelines for detailed instructions.

License

Sonar is licensed under the GNU General Public License 3.0.

Credits

sonar's People

Contributors

jonesdevelopment avatar dependabot[bot] avatar fallencrystal avatar greeneddev avatar infinitecod3 avatar xism4 avatar micartey avatar slosacoder avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.