Releases: jishnukarri/a2s-discord-status-bot
Releases · jishnukarri/a2s-discord-status-bot
Version 1.4.2
What's Changed
- test1 by @jishnukarri in #1
New Contributors
- @jishnukarri made their first contribution in #1
Full Changelog: 1.4.1...1.4.2
RENAME .env.example
to .env
before using
Version 1.4.1 - Hot Fix
Full Changelog: 1.4.1...1.4.1
Version 1.4 - Non GUI
Release Notes - Discord Server Status Bot v1.4
Overview
This release introduces the Discord Server Status Bot, a powerful tool for monitoring game servers and displaying real-time status updates in your Discord channel. The bot supports multiple servers, player tracking, and customizable embeds.
New Features
- Real-Time Server Monitoring: Tracks server status, player counts, and server details.
- Player Information: Displays player stats (kills, playtime) for each server.
- Auto-Refresh: Updates server status every 30 seconds.
- Reaction-Based Refresh: Users can refresh the status by reacting with an emoji.
- Leaderboard: Tracks player stats and displays a leaderboard.
- Monthly Reset: Automatically resets the leaderboard at the end of each month.
- Customizable Embeds: Customize status messages and embeds with markdown support.
Improvements
- Error Handling: Improved error handling for server queries and Discord API interactions.
- Message Cleanup: Automatically cleans up old messages to maintain a tidy channel.
- Performance Optimization: Reduced resource usage and improved response times.
Bug Fixes
- Fixed an issue where the bot would crash if a server went offline.
- Resolved a bug causing incorrect player counts in the leaderboard.
- Fixed a rare issue where the bot would fail to update the status message.
Installation Instructions
- Download the latest release from the Releases section.
- Extract the files to a folder.
- Edit the
.env
file with your Discord bot token and server details. - Run the bot using the provided executable or Python script.
Upgrade Instructions
If you’re upgrading from a previous version:
- Backup your
.env
file and database (bot_data.db
). - Replace the old files with the new release files.
- Restore your
.env
file and database. - Run the bot as usual.
Known Issues
- The bot may fail to query servers with strict firewall rules.
- Leaderboard stats may not update immediately after a server restart.
Future Plans
- Add support for more game server types.
- Implement an auto-updater for the bot.
- Add a web dashboard for managing the bot and viewing stats.
Full Changelog: 1.3...1.4
Version 1.3 - GUI
Release Notes - Version 1.3
New Features:
- Dynamic Emoji Assignment: Emojis are assigned to only active servers in numerical order.
- Server Status Refresh: Improved server status updates with only active servers displaying emojis.
Improvements:
- Code Refactoring: Cleaned up and optimized the code for better performance.
- Enhanced Error Handling: More robust error handling for server connections and timeouts.
- Logging Enhancements: Logs now include timestamps and are saved in the
logs
folder.
Bug Fixes:
- Emoji Refresh Fixed: Emojis now correctly reflect only active servers.
Notes:
- Update your
.env
file with the correct API key and server configurations. - Check the
logs
folder for detailed, timestamped logs.
Full Changelog: https://github.com/jishnukarri/a2s-discord-status-bot/commits/1.3
Version 1.2
Release Notes - Version 1.2
New Features:
- Dynamic Emoji Assignment: Emojis for online servers are now dynamically assigned based on the current online status. If a server goes offline, its emoji is removed, and other servers will be renumbered accordingly.
- Failed Connection Handling: Introduced a mechanism to track failed connection attempts. If a server fails to connect after a set number of attempts (default: 5), its emoji will not be reassigned until it comes back online.
Improvements:
- Logging Enhancements: Improved logging to capture timeout and connection errors more effectively.
- Code Optimization: Refactored code for better readability and performance, especially in the server status generation and reaction handling processes.
Bug Fixes:
- Emoji Refresh Issue: Fixed an issue where emojis were unnecessarily cleared and reassigned during each refresh cycle, ensuring more stable and accurate representation of server statuses.
- Index Error Handling: Resolved potential index errors when fetching server info based on emoji reactions.
Notes:
- Ensure to update your
.env
file with the correct API key and server configurations. - Monitor server performance through the updated logging system for better insight.
Full Changelog: 1.1...1.2
1.1
Release Notes - Discord Server Status Bot v1.1
Release Date: 21-09-2024
New Features
-
Logging Implementation:
- Introduced a logging feature that records bot activities and errors to a
bot.log
file, facilitating easier debugging and monitoring.
- Introduced a logging feature that records bot activities and errors to a
-
Server Status Updates:
- Enhanced server status updates with more detailed information regarding server performance and player counts.
Changes
-
Environment Configuration:
- Streamlined the creation of the default environment file for improved usability.
-
Embed Generation:
- Improved embed messages to include additional details such as player scores and time played.
Fixes
-
Error Handling:
- Resolved multiple issues related to server connection errors, ensuring graceful handling of downtime.
-
Performance Improvements:
- Optimized message editing and reaction handling to reduce lag and enhance responsiveness.
Notes
- Users should check the
bot.log
file for any operational issues or logs related to the bot's performance. - Ensure to update your
.env
file with the correct settings after installation.
Full Changelog: https://github.com/jishnukarri/a2s-discord-status-bot/commits/1.1