Releases: TheGektor/AntiGrifer-origin
Release list
[AGS] AntiGriferSistem 2.4.1
Changelog
[2.4.1] - 2026-02-13
🚀 Improvements & Fixes (Улучшения и Исправления)
-
Critical Locations (Критические Локации):
- FIX: Исправлена логика выделения регионов. Теперь команды
/critical pos1и/critical pos2используют блок, на который смотрит игрок (RayTrace), что предотвращает ошибки с "незащищенным полом". - FIX: Исправлено отображение пинга роли в Discord (
<@&ID>). - FIX: Улучшена проверка нарушений внутри региона (теперь корректно учитывается только использование запрещенных предметов).
- FIX: Исправлена логика выделения регионов. Теперь команды
-
Merge & Compatibility (Слияние и Совместимость):
- Успешно объединены изменения версии 2.3.0 (Alerts, Feedback) и 2.4.0 (Critical Locations).
- Единая система инициализации менеджеров (
AlertManager,FeedbackManager,CriticalLocationManager). - Исправлены конфликты в
build.gradleиplugin.yml.
🛠 Migration Guide (Миграция на 2.4.1)
Если вы обновляетесь с 2.3.0 или 2.4.0, выполните:
-
Обновите
discord.yml:
Убедитесь, что у вас есть секцияcritical-location-alert(добавлена в v2.4.0). Если нет, добавьте её (см. пример ниже). -
Пересоздайте критические регионы (Рекомендуется):
Если у вас были проблемы с высотой региона (пол/потолок), удалите старые регионы (/critical remove) и создайте новые, глядя прямо на блоки углов. -
Права (Permissions):
Убедитесь, что у администраторов есть права:antigrief.admin.critical(управление критическими зонами)antigrief.bypass.critical(обход)ags.alerts(уведомления о подозрительных действиях)
🇬🇧 English Version
🚀 Improvements & Fixes
-
Critical Locations:
- FIX: Improved region selection logic. Commands
/critical pos1and/critical pos2now use the target block (RayTrace), preventing "unprotected floor" issues. - FIX: Fixed role ping display in Discord (
<@&ID>). - FIX: Improved violation check within the region (now correctly checks only for restricted items).
- FIX: Improved region selection logic. Commands
-
Merge & Compatibility:
- Successfully merged changes from v2.3.0 (Alerts, Feedback) and v2.4.0 (Critical Locations).
- Unified manager initialization (
AlertManager,FeedbackManager,CriticalLocationManager). - Fixed conflicts in
build.gradleandplugin.yml.
🛠 Migration Guide (v2.4.1)
If upgrading from 2.3.0 or 2.4.0, please:
-
Update
discord.yml:
Ensurecritical-location-alertsection exists. If missing, add it (see example in changelog history). -
Recreate Critical Locations (Recommended):
If facing floor/ceiling protection issues, remove old regions (/critical remove) and recreate them by looking directly at corner blocks. -
Permissions:
Ensure admins have:antigrief.admin.critical(manage critical zones)antigrief.bypass.critical(bypass protection)ags.alerts(suspicious activity alerts)
[AGS] AntiGriferSistem notification update
Changelog
[2.3.0] - 2026-01-16
✨ Новые возможности (Features)
- Система слежки и Алертов (Alerts & Spectator):
- 🎨 Premium Design: Новые красивые градиенты для уведомлений.
- 👁️ Click-to-Spectate: Кнопка [СЛЕЖКА] в чате для мгновенного перехода в режим наблюдения за подозреваемым.
- 📡 Discord Integration: Улучшенные вебхуки с указанием ника игрока и действия.
- Команда
/ags internal spectate <player>(внутренняя).
- Стабильность и Исправления:
- ✅ Исправлено отключение плагина при первом запуске (авто-создание
messages.yml). - ✅
DatabaseManager: Добавлен авто-реконнект к базе данных (fixconnection closed). - ✅
LocaleManager: Исправлена ошибка "Message not found" для ключей в корне файла. - ✅
Dependency Loading: Автоматическая загрузка драйверов SQLite черезlibraries(Paper 1.21+).
- ✅ Исправлено отключение плагина при первом запуске (авто-создание
🇬🇧 Added (EN)
- Alerts & Spectator System:
- 🎨 Premium Design: New gradient colors for in-game notifications.
- 👁️ Click-to-Spectate: Clickable [SPECTATE] button to instantly teleport to potential griefers.
- 📡 Discord Integration: Enhanced webhooks with player names.
- Stability & Fixes:
- ✅ Fixed plugin disabling on first launch (auto-create
messages.yml). - ✅
DatabaseManager: Added auto-reconnect logic to preventconnection closederrors. - ✅
LocaleManager: Fixed "Message not found" error for root keys. - ✅
Dependency Loading: Native support forlibrariesloading (SQLite/HikariCP) on Paper 1.21+.
- ✅ Fixed plugin disabling on first launch (auto-create
[AGS] AntiGriferSistem
Changelog
[2.2.0] - 2026-01-14
Added
- Secure Feedback System: New feature allowing players to send feedback/bug reports directly to Discord.
- Command:
/feedback send <message>(Permission:plugin.feedback.send). - Command:
/feedback history(Permission:plugin.feedback.history).
- Command:
- Security:
- AES/GCM encryption for Discord Webhook URL.
- Obfuscated key generation to prevent string analysis.
- Zero plain-text tokens in source code.
- Database:
- Migrated to HikariCP for connection pooling and better performance.
- Added
feedback_historytable.
- Architecture:
- New package
features.feedbackfollowing Package by Feature. - Async execution for all network and DB operations.
- New package
Добавлено (RU)
- Безопасная система обратной связи: Новая функция для отправки отзывов/баг-репортов в Discord.
- Команда:
/feedback send <сообщение>(Право:plugin.feedback.send). - Команда:
/feedback history(Право:plugin.feedback.history).
- Команда:
- Безопасность:
- AES/GCM шифрование для URL вебхука Discord.
- Обфускация генерации ключа для защиты от строкового анализа.
- Полное отсутствие токенов в открытом виде в коде.
- База Данных:
- Переход на HikariCP для пулинга соединений (лучшая производительность).
- Добавлена таблица
feedback_history.
- Архитектура:
- Новый пакет
features.feedback(Package by Feature). - Асинхронное выполнение всех операций с сетью и БД.
- Новый пакет
[2.1.0]
- Initial refactoring and cleanup.
v2.1.0 - Multi-Language Support & Discord Webhook Overhaul
🚀 What's New in v2.1.0
🌍 Multi-language Support
Added full localization support! You can now switch between languages in config.yml.
- Supported Languages: English (
en), Russian (ru). - Locale Files: Messages are now stored in
messages_en.ymlandmessages_ru.yml.
🎨 New Discord Webhooks
Discord notifications have been rewritten from scratch.
- Templates: Use
discord.ymlto customize every aspect of your embeds (titles, colors, fields). - Rich Embeds: Now supports hex colors, footers, timestamps, and placeholders (
{player},{item}, etc.).
🛡️ Enhanced Protection
- Redstone Mechanism Check: Dispensers and Droppers are now checked for restricted items. If a mechanism tries to use a banned item, it will be blocked and logged to Discord with coordinates.
- Tab Completion: The
/agscommand now supports smart auto-completion.
🛠️ Technical Improvements
- Modern Formatting: Switched to MiniMessage (, ) for all chat messages.
- Thread Safety: Fixed critical concurrency issues in database handling.
- Java 21: Updated to support the latest Paper 1.21.1 ecosystem.
⚠️ Migration Guide from v1.x
Breaking Changes: Config files have changed structure.
- Delete your old
messages.yml(legacy colors are no longer supported). - Add
language: en(orru) to yourconfig.yml. - Restart the server to generate
discord.ymland new locale files.