Skip to content

Commit

Permalink
Release 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
AitorAstorga committed Feb 28, 2024
1 parent b470aef commit 234a078
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 1.4.0
### Added or Changed
- Added a permissions system. Whenever a command or action is initiated, check if the player has the required permission.
* `botblocker.enable` - Allows the user to enable the BotBlocker plugin.
* `botblocker.disable` - Allows the user to disable the BotBlocker plugin.
* `botblocker.status` - Allows the user to see whether BotBlocker is enabled or disabled.
* `botblocker.settimelimit` - Allows the user to set the time limit for detecting bots.
* `botblocker.gettimelimit` - Allows the user to display the configured time limit for detecting bots.
* `botblocker.setbanmessage` - Allows the user to set the ban message.
* `botblocker.getbanmessage` - Allows the user to display the configured ban message.

- Added support for BanManager. If the plugin is installed, the `BmAPI.ban` command is used. Else, the default Bukkit ban adds the corresponding entry to `banned-players.json`.

## 1.3.0

### Added or Changed
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@

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.

As of version 1.4.0 BotBlocker supports integration with:
- [BanManager](https://banmanagement.com/)
- [LuckPerms](https://luckperms.net/)


### Built With

* ![Java](https://img.shields.io/badge/java-%23ED8B00.svg?style=for-the-badge&logo=openjdk&logoColor=white)
Expand Down Expand Up @@ -114,7 +119,7 @@ When a player quits, BotBlocker calculates the duration of their connection. If
* `/BotBlocker getBanMessage` - Display the configured ban message.

### Permissions
* `botblocker.enable` - Allows the user to enable the BotBlocker plugin
* `botblocker.enable` - Allows the user to enable the BotBlocker plugin.
* `botblocker.disable` - Allows the user to disable the BotBlocker plugin.
* `botblocker.status` - Allows the user to see whether BotBlocker is enabled or disabled.
* `botblocker.settimelimit` - Allows the user to set the time limit for detecting bots.
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>ovh.aichan</groupId>
<artifactId>BotBlocker</artifactId>
<version>1.3.0</version>
<version>1.4.0</version>
<packaging>jar</packaging>

<properties>
Expand Down

0 comments on commit 234a078

Please sign in to comment.