This release focuses on streamlining the configuration process for automated server restarts and introducing various quality-of-life enhancements for managing ARK server instances. Key changes include integrating Restart Manager configuration into the main ARK Server Manager menu, refining instance management, and improving reliability and flexibility.
Key Changes
1. Integrated Restart Manager Configuration
- New "Configure Restart Manager" menu option in the main script.
- Users can now configure automated restarts from the interactive menu, eliminating the need for manual edits.
- Allows selection of server instances, setting announcement times/messages, and scheduling daily restarts.
- When scheduling restarts, the script removes any existing cron lines referencing
ark_restart_manager.sh
to prevent duplicates, then adds a fresh entry.
2. Refined Instance Management for Restart Configuration
- Updated
list_instances
to dynamically gather available instances into an array.- This enables a clear, user-friendly instance selection process during Restart Manager setup.
3. Enhanced Base Server Update Logic
- Update Skipping: Skips base server updates if any server instance is running, providing clear feedback to ensure safe operation.
4. Improved Shutdown Handling
- Timeout Mechanism: If a server does not stop within 30 seconds of a graceful shutdown attempt, it is forcefully terminated.
5. Flexible RCON Configuration
- Configurable
RCON_SCRIPT
: Replaced static references torcon.py
with a variable, allowing more adaptable server setups.
6. Dependency Management Improvements
- Cron Detection: Enhanced
check_dependencies()
to detect and suggest Cron installation for major Linux distributions (Debian, Ubuntu, Fedora, openSUSE, and Arch).
Additional Fixes and Optimizations
- Restart Manager Config Adjustment: Moved
start_wait_time
from the "Configuration Starts Here" section into the main script logic to prevent user misconfiguration while maintaining functionality. - Single Entry Fix: Resolved an issue where the restart manager incorrectly handled a single
announcement_times
entry. - Verbose RCON Debugging: Added comprehensive debug logs in
rcon.py
for better visibility into RCON operations.