AntiAutoFishingСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачать
ВЕРСИИ (8)
release
1.7
1.730 авг. 2026 г.64Minecraft: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2bukkit, paper, purpur, spigot
Что нового
# AntiAutoFishing v1.7 - Changelog
## New Features
- **Asynchronous Saving** - YAML files are now saved in the background, no longer blocking the main thread
- **Asynchronous Reload** - `/aaf reload` command now runs in the background
- **GUI Optimization** - faster CAPTCHA window opening
## Bug Fixes
- Fixed TriggerPercentage - 5% is now truly 5% (not 5.94%)
- Fixed UpdateChecker - update notifications are now only sent to players with permission
release
1.6
1.626 июл. 2026 г.36Minecraft: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2bukkit, paper, purpur, spigot
Что нового
# Changelog - AntiAutoFishing v1.6
## 🚀 New Features
### 🔄 Update Checker
- Added automatic update checker that checks for new versions on SpigotMC
- Configurable check interval (default: 24 hours)
- Update notifications are shown to:
- All online players with `antiautofish.update` or `antiautofish.admin` permission
- On player join
- In server console
- New command: `/aaf update` for manual check
- Clickable download link directly in-game
### 🛡️ CAPTCHA System Improvements
- Fixed duplicate CAUGHT_FISH event issue
- TriggerPercentage now works exactly as configured (pure 5% chance)
## 📝 Configuration
New section added to `config.yml`:
```yaml
#----------- UPDATE NOTIFICATIONS
UpdateChecker:
Enabled: true # Enable/disable update checking
Interval: 24 # Check every X hours (0 = only on startup)
NotifyOnlyAdmin: false # false = all with permission, true = only admins
release
1.5
v1.517 июл. 2026 г.27Minecraft: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2bukkit, folia, paper, purpur, spigot
Что нового
# AntiAutoFishing v1.5 - Changelog
## 🚀 New Features
- **Leaderboard System** - New commands `/aaf top [page]` and `/aaf top fails [page]` to view top players
- **Asynchronous Discord Webhook** - Discord notifications now run asynchronously with 5s timeout (no more server freezes!)
- **Automatic Language Updates** - Language files are automatically updated with missing messages from the JAR
- **Config Auto-Update** - Missing sections in config.yml are automatically added (e.g., Discord module)
## 📊 Leaderboard Commands
| Command | Description |
|---------|-------------|
| `/aaf top` | View top 10 players (most successful CAPTCHAs) |
| `/aaf top 2` | View page 2 of leaderboard |
| `/aaf top fails` | View top 10 players (most failed CAPTCHAs) |
| `/aaf top fails 2` | View page 2 of fail leaderboard |
## 🔧 Improvements
- Discord webhook now runs asynchronously with 5-second connection/read timeout
- Language files now auto-update with missing messages from JAR (preserves custom translations)
- Config.yml now auto-adds missing sections (`Modules.Discord`, `Log.Life`, etc.)
- Better config loading order (fixes locale detection issues)
- Removed `loadDefaults()` that was overwriting user configs
## 🐛 Bug Fixes
- Fixed Discord webhook causing server freeze/crash (now fully async)
- Fixed locale not loading from config.yml (now correctly reads `Locale` setting)
- Fixed config.yml being overwritten on startup
- Fixed language files not updating with new messages
---
release
1.4
1.413 июл. 2026 г.24Minecraft: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2bukkit, folia, paper, purpur, spigot
Что нового
# AntiAutoFishing v1.4 - Changelog
## 🚀 New Features
- **Discord Webhook Integration** - Full Discord webhook support with customizable embeds for all major events
- **Automatic Unban Message** - Players now receive a message when their ban expires (no need to cast a rod)
- **Shield Expiration Notifications** - Players receive a message and Discord notification when their shield expires
- **Expired Unban Notifications** - Optional Discord notifications for expired bans (configurable)
## 📋 Discord Webhook Events
| Event | Description |
|-------|-------------|
| Fishing Ban | When a player is banned from fishing |
| Fishing Unban | When a player is unbanned (admin or expired) |
| Player Kick | When a player is kicked for failing CAPTCHA |
| CAPTCHA Failed | When a player fails the CAPTCHA test |
| CAPTCHA Passed | When a player passes the CAPTCHA test (with rewards) |
| Shield Received | When a player receives a shield (auto or admin) |
| Shield Expired | When a player's shield expires (auto or admin remove) |
## 🔧 Improvements
- Each Discord event can be individually enabled/disabled
- Customizable embed titles, colors, descriptions, thumbnails, and footers
- Player avatar support via Cravatar (`http://cravatar.eu/avatar/%name%/64.png`)
- Placeholder support: `$playerName`, `$executor`, `$duration`, `$reason`, `$extra`, `$failed`
- Expired ban notifications can be toggled separately (`notify_expired`)
- Improved unban message delivery to players
- Rewards now display as a formatted list in Discord
- Better debug logging for troubleshooting
---
## 📁 New File: discord.yml
```yaml
webhook:
enabled: false
url: "https://discord.com/api/webhooks/your-webhook-id/your-webhook-token"
username: "AntiAutoFishing"
avatar_url: ""
events:
embed_ban:
enabled: true
title: "Fishing Ban"
color: "#CC2200"
description: |-
**$playerName** has been banned from fishing!
• **By:** $executor
• **Duration:** $duration
• **Reason:** $reason
thumbnail: "http://cravatar.eu/avatar/%name%/64.png"
footer: "AntiAutoFishing"
release
1.3
1.32 июл. 2026 г.15Minecraft: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2bukkit, folia, paper, purpur, spigot
Что нового
# AntiAutoFishing v1.3 - Changelog
## 🐛 Bug Fixes
- **Fixed GUI Loop Bug** - Fixed issue where CAPTCHA GUI would continuously reset/refresh every 0.2 seconds
- **Fixed GUI Reopen Issue** - GUI now properly reopens when player closes it too quickly
- **Fixed Cache Issues** - Improved GUI cache management to prevent duplicate instances
- **Fixed Fishing Interference** - Players in CAPTCHA check can no longer interrupt the GUI by fishing
## 🔧 Improvements
- Added **guiOpening** lock system to prevent duplicate GUI opening attempts
- Improved **InventoryCloseEvent** handling for better reliability
release
1.2
1.228 июн. 2026 г.20Minecraft: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2bukkit, folia, paper, purpur, spigot
Что нового
# AntiAutoFishing v1.2 - Changelog
## 🚀 New Features
- **Manual CAPTCHA Check** - New command `/aaf check <player>` to manually open CAPTCHA GUI for any player (permission: `antiautofish.check`)
- **PlaceholderAPI Support** - 12 new placeholders for stats and information
- **Persistent Fail Counter** - Failed CAPTCHA count now survives server restarts (saved in `check.yml`)
- **Smart Language Updates** - Language files update automatically without overwriting custom translations
## 📊 New Placeholders
| Placeholder | Description |
|-------------|-------------|
| `%aaf_captcha_fail%` | Current failed CAPTCHA streak |
| `%aaf_captcha_success%` | Total successful CAPTCHAs |
| `%aaf_captcha_total%` | Total CAPTCHA attempts |
| `%aaf_shield_time%` | Shield remaining time (formatted) |
| `%aaf_shield_time_raw%` | Shield remaining time (milliseconds) |
| `%aaf_shield_cooldown%` | Cooldown remaining time (formatted) |
| `%aaf_shield_cooldown_raw%` | Cooldown remaining time (milliseconds) |
| `%aaf_shield_active%` | Shield active (true/false) |
| `%aaf_banned%` | Banned from fishing (true/false) |
| `%aaf_ban_time%` | Ban remaining time (formatted) |
| `%aaf_ban_time_raw%` | Ban remaining time (milliseconds) |
| `%aaf_check_count%` | GUI open status (1/0) |
## 🔧 Changes & Improvements
- Fail counter now persists across server restarts using `check.yml`
- Improved shield system with better duration calculation
- Better logging with detailed entries
- Updated language files with new messages
- Language files now update automatically without losing custom translations
## 🐛 Bug Fixes
- Fixed fail count resetting after server restart
- Fixed various GUI issues
- Improved timeout handling
---
release
1.1
1.127 июн. 2026 г.25Minecraft: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2bukkit, folia, paper, purpur, spigot
Что нового
## 📋 Changelog v1.1
### 🆕 New Features
**Log System** - Complete logging system
- 5 log types: SUCCESS, FAIL, SHIELD, BAN, UNBAN
- All logs stored in `data/log.log`
- Color-coded output in console
**Log Commands**
- `/aaf log` - View last 20 log entries
- `/aaf log <player>` - View logs for specific player
- `/aaf logclear` - Clear log file (keeps header)
**Auto Cleanup** - Old logs auto-deleted after configurable period
### 🔧 Improvements
**Reward System** - Better parsing
- Supports all formats: `50:give`, `'50:give'`, `"50:give"`
- Logs only actually executed rewards (with chance)
**Shield System** - Now stays active for full duration (no longer consumed on use)
**Less Log Spam** - Minimal console output on startup, detailed only in debug mode
### 🐛 Bug Fixes
- Fixed log header being deleted when writing new entries
- Fixed duplicate language loading on startup
- Fixed reward logging - only executed rewards shown
- Fixed shield usage behavior
### 📁 Config Changes
New **Log** section in `config.yml`:
```yaml
Log:
Enabled: true
Life: 7d
```
Life formats: `7d`, `1d`, `12h`, `30m` (0 = forever)
release
AntiAutoFishing 1.0.0
1.0.027 июн. 2026 г.22Minecraft: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2bukkit, folia, paper, purpur, spigot
Что нового
# 🎣 AntiAutoFish
**Smart Anti-Autofish Plugin with Shield System & FishBan**
## 📖 Description
AntiAutoFish is a comprehensive anti-autofish plugin for Paper/Spigot servers. Unlike other plugins that use simple detection methods, it offers an **intelligent CAPTCHA system** with rewards, a **FishBan** system for temporarily banning suspicious players, and a unique **Shield** system that rewards fair players.
> ### 📚 [Full Wiki & Documentation](https://wiki.kulih.eu/anti-afk-fishing/)
## ✨ Features
- 🎯 **Smart CAPTCHA** - Players see a GUI with fish and trash items and must click on the correct fish
- 🛡️ **Shield System** - Fair players earn a shield that protects them from CAPTCHA for a set duration
- ⛔ **FishBan** - Players who repeatedly fail CAPTCHA receive a temporary fishing ban
- 🎁 **Rewards** - Configure rewards (commands/messages) for successfully completing CAPTCHA
- 🌍 **Multi-world** - Enable or disable the plugin per world
- 🌐 **Multi-language** - Built-in support for English, Czech, German, Spanish, Russian, and Japanese
## 🖼️ GUI Examples
| With Resource Pack | Vanilla (No Resource Pack) |
|:---:|:---:|
|  |  |
## ⚙️ How It Works
1. When a player catches a fish, there's a configurable chance (%) to trigger a CAPTCHA
2. A GUI opens with random fish and trash items - the player must click on a fish
3. Clicking on trash counts as a wrong click - after X wrong clicks, the player fails
4. Successful CAPTCHA completions grant rewards and count toward Shield progress
5. After Y successful CAPTCHAs, the player receives a Shield
6. While shielded, the player is immune to CAPTCHA for the shield duration
7. Failed CAPTCHAs count toward the threshold - after Z failures, the player gets a fishing ban
## 🛡️ Shield System Details
The Shield system is what makes this plugin unique:
- **Dynamic Duration** - Shield duration is calculated based on player performance (faster = longer shield)
- **Cooldown** - After shield expires, players enter a cooldown before earning another
- **Configurable** - Min/Max duration, cooldown length, and required tests are all configurable
- **Admin Commands** - Give or remove shields/cooldowns manually
## 📋 Commands & Permissions
**Main Command:** `/antiautofish`, `/aaf`, `/antifish`
| Command | Description | Permission |
|---------|-------------|------------|
| `/aaf reload` | Reload the configuration | `antiautofish.admin` |
| `/aaf stats [player]` | View player statistics | `antiautofish.stats` |
| `/aaf shield <player> add/remove <time>` | Manage shields | `antiautofish.admin` |
| `/aaf shieldcooldown <player> add/remove <time>` | Manage cooldowns | `antiautofish.admin` |
| `/aaf ban <player> <duration> [reason]` | Ban a player from fishing | `antiautofish.ban` |
| `/aaf unban <player>` | Unban a player from fishing | `antiautofish.unban` |
| `/aaf bancheck <player>` | Check a player's ban status | `antiautofish.bancheck` |
**Permissions:**
| Permission | Description |
|------------|-------------|
| `antiautofish.bypass` | Bypass all CAPTCHA checks |
| `antiautofish.announce` | See announcements when players fail CAPTCHA |
| `antiautofish.admin` | Access to admin commands |
| `antiautofish.ban` | Can ban players from fishing |
| `antiautofish.unban` | Can unban players from fishing |
| `antiautofish.bancheck` | Can check ban status of players |
| `antiautofish.stats` | Can view own statistics |
| `antiautofish.stats.other` | Can view other players' statistics |
## 📁 Configuration
The plugin comes with 5 configuration files:
- **config.yml** - Main plugin settings (locale, debug, modules)
- **antiautofish.yml** - CAPTCHA settings (trigger chance, GUI items, rewards, shield)
- **fishban.yml** - Fishing ban settings (duration, reason)
- **shield.yml** - Shield system settings (duration, cooldown, history)
- **languages/*.yml** - Translation files (cs, en, de, es, ru, ja)
## 📦 Requirements
- **Server:** Paper 1.20.6+ (Spigot may work but Paper is recommended)
- **Java:** 17 or higher
- **Optional:** PlaceholderAPI (for placeholders in messages)
## 🔧 PlaceholderAPI Support
All messages support PlaceholderAPI placeholders. Use `%player_name%`, `%server_tps%`, or any other PAPI placeholder in your messages.
---
⭐ **Don't forget to leave a review if you like the plugin!** ⭐
---