Skip to content
@BotBlocker-Minecraft

BotBlocker-Minecraft

Contributors MIT License LinkedIn


Logo

BotBlocker

A Minecraft Bukkit/Spigot plugin and Fabric mod designed to limit bot intrusion!
Explore the docs »

Table of Contents
  1. About The Project
  2. Versions of the Project
  3. Functionality
  4. Usage
  5. License
  6. Contact

About The Project

BotBlocker is a solution for Minecraft servers designed to limit bot intrusion. It is available for both Bukkit/Spigot Minecraft servers and as a Fabric mod. If a user logs out too quickly after joining (indicating they might be a bot), the user is banned. This approach limits the number of login attempts from each UUID, effectively mitigating the consequences of a bot attack.

(back to top)

Versions of the Project

Bukkit/Spigot BotBlocker

Fabric BotBlocker

(back to top)

Functionality

Initialization

When the server starts, BotBlocker initializes its configuration files (config.yml and players.yml). The initial default time limit for joining and leaving is set to 20 seconds. A message indicating the mod has successfully loaded with the set time limit is logged to the console.

Player Join

When a player joins, if BotBlocker is enabled and the player is not already exempt from BotBlocker's checks, the mod/plugin records the player's UUID and the current time.

Player Quit

When a player quits, BotBlocker calculates the duration of their connection. If this time is less than the set time limit and BotBlocker is enabled, the player is considered a bot. They get banned and a ban entry is added to the players.yml file. A disconnect message is sent to the player and a message is logged to the console. If the player stays longer than the time limit, they are deemed a legitimate player. Their UUID is added to the players.yml file as exempt.

Commands

  • /BotBlocker enable - Enables BotBlocker.
  • /BotBlocker disable - Disables BotBlocker.
  • /BotBlocker setTimeLimit [seconds] - Sets the time limit for detecting bots.

Configuration Files

BotBlocker maintains its configuration and the list of player UUIDs in config.yml and players.yml files, respectively.

Note: Players identified as legitimate are marked as such in the players.yml file and are not checked again in the future. If BotBlocker is disabled, it stops checking players for potential bot activity.

(back to top)

Usage

Once installed and enabled, BotBlocker works in the background without any intervention. If needed, you can adjust the bot protection parameters in the generated config.yml file.

(back to top)

License

Distributed under the GNU General Public License v3.0. See LICENSE for more information.

(back to top)

Contact

Aitor Astorga Saez de Vicuña - [email protected]

Project Link: https://github.com/BotBlocker-Minecraft

(back to top)

Pinned Loading

  1. BotBlocker BotBlocker Public

    Automatically ban MC bots that log into your server.

    Java 8

Repositories

Showing 3 of 3 repositories
  • BotBlocker Public

    Automatically ban MC bots that log into your server.

    BotBlocker-Minecraft/BotBlocker’s past year of commit activity
    Java 8 GPL-3.0 0 1 0 Updated Feb 28, 2024
  • BotBlocker-Fabric Public

    Automatically ban MC bots that log into your server.

    BotBlocker-Minecraft/BotBlocker-Fabric’s past year of commit activity
    Java 0 GPL-3.0 0 0 0 Updated Aug 3, 2023
  • .github Public
    BotBlocker-Minecraft/.github’s past year of commit activity
    0 GPL-3.0 0 0 0 Updated Aug 3, 2023

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…