Skip to content

Releases: TheGektor/AntiGrifer-origin

[AGS] AntiGriferSistem 2.4.1

Choose a tag to compare

@TheGektor TheGektor released this 13 Feb 13:50
fc22eaa

Changelog

[2.4.1] - 2026-02-13

🚀 Improvements & Fixes (Улучшения и Исправления)

  • Critical Locations (Критические Локации):

    • FIX: Исправлена логика выделения регионов. Теперь команды /critical pos1 и /critical pos2 используют блок, на который смотрит игрок (RayTrace), что предотвращает ошибки с "незащищенным полом".
    • FIX: Исправлено отображение пинга роли в Discord (<@&ID>).
    • 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, выполните:

  1. Обновите discord.yml:
    Убедитесь, что у вас есть секция critical-location-alert (добавлена в v2.4.0). Если нет, добавьте её (см. пример ниже).

  2. Пересоздайте критические регионы (Рекомендуется):
    Если у вас были проблемы с высотой региона (пол/потолок), удалите старые регионы (/critical remove) и создайте новые, глядя прямо на блоки углов.

  3. Права (Permissions):
    Убедитесь, что у администраторов есть права:

    • antigrief.admin.critical (управление критическими зонами)
    • antigrief.bypass.critical (обход)
    • ags.alerts (уведомления о подозрительных действиях)

🇬🇧 English Version

🚀 Improvements & Fixes

  • Critical Locations:

    • FIX: Improved region selection logic. Commands /critical pos1 and /critical pos2 now 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).
  • 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.gradle and plugin.yml.

🛠 Migration Guide (v2.4.1)

If upgrading from 2.3.0 or 2.4.0, please:

  1. Update discord.yml:
    Ensure critical-location-alert section exists. If missing, add it (see example in changelog history).

  2. Recreate Critical Locations (Recommended):
    If facing floor/ceiling protection issues, remove old regions (/critical remove) and recreate them by looking directly at corner blocks.

  3. Permissions:
    Ensure admins have:

    • antigrief.admin.critical (manage critical zones)
    • antigrief.bypass.critical (bypass protection)
    • ags.alerts (suspicious activity alerts)

[AGS] AntiGriferSistem notification update

Choose a tag to compare

@TheGektor TheGektor released this 16 Jan 13:15
a35c5ee

Changelog

[2.3.0] - 2026-01-16

✨ Новые возможности (Features)

  • Система слежки и Алертов (Alerts & Spectator):
    • 🎨 Premium Design: Новые красивые градиенты для уведомлений.
    • 👁️ Click-to-Spectate: Кнопка [СЛЕЖКА] в чате для мгновенного перехода в режим наблюдения за подозреваемым.
    • 📡 Discord Integration: Улучшенные вебхуки с указанием ника игрока и действия.
    • Команда /ags internal spectate <player> (внутренняя).
  • Стабильность и Исправления:
    • ✅ Исправлено отключение плагина при первом запуске (авто-создание messages.yml).
    • DatabaseManager: Добавлен авто-реконнект к базе данных (fix connection 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 prevent connection closed errors.
    • LocaleManager: Fixed "Message not found" error for root keys.
    • Dependency Loading: Native support for libraries loading (SQLite/HikariCP) on Paper 1.21+.

[AGS] AntiGriferSistem

Choose a tag to compare

@TheGektor TheGektor released this 14 Jan 09:05

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).
  • 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_history table.
  • Architecture:
    • New package features.feedback following Package by Feature.
    • Async execution for all network and DB operations.

Добавлено (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

Choose a tag to compare

@TheGektor TheGektor released this 09 Jan 09:28

🚀 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.yml and messages_ru.yml.

🎨 New Discord Webhooks

Discord notifications have been rewritten from scratch.

  • Templates: Use discord.yml to 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 /ags command 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.

  1. Delete your old messages.yml (legacy colors are no longer supported).
  2. Add language: en (or ru) to your config.yml.
  3. Restart the server to generate discord.yml and new locale files.