
FoxLogger
Logging commands to Yandex. discord and telegram

FoxLogger
FoxLogger is a plugin for Minecraft servers (Purpur1.21.5), which allows you to log administrator commands, send notifications to Discord and Telegram, and also provides statistics and log export functions.
Features
Logging of player and console commands to the file (plugins/FoxLogger/logs/admin_commands. log) Notifications in Discord via webhook (with a custom player avatar) Notifications in Telegram via the bot Anti-spam for commands (configurable cooldown) Command usage statistics (/adminlog stats) Export logs to CSV (/adminlog export) Support for localizations (Russian and English) Configurable time zone (by default - Moscow time)
Installation
Download the latest version Place the JAR file in the plugins folder of your server Restart the server Configure config.yml in the plugins/FoxLogger
Setting up
config.yml debug: Enable debugging logs (true/false) The Discord URL of the webhook The Telegram bot Time zone (for example, Europe/Moscow) Details can be found in the config.yml
Discord
Create a webhook in Discord: Server → Channel Settings → Integrations → Create a webhook Copy the webhook URL and paste it into webhook url
Telegram
Create a bot using @BotFather and get the token Add the bot to the chat and get the chat-id via @GetIDsBot Specify chatId (topicId optional)
Commands
/adminlog reload - Reload the configuration /adminlog toggle - Enable/disable logging /adminlog stats - Show team statistics /adminlog export <start_date> <end_date>
Rights
foxlogger.log - Log commands (default for operators) foxlogger.admin - Access to plugin commands (default for\operators)
