Enhancements:
Custom RCON Client (rcon.py
)
- Developed a new custom RCON client (
rcon.py
), specifically designed for the ARK Instance Manager to better align with its unique requirements. Key features include:- Silent Mode: Suppress unnecessary connection details with the
--silent
flag. - Interactive Console: Allows users to send multiple commands in an interactive session.
- Robust Parsing: Processes multiple RCON packets per response, ignoring irrelevant
KEEP_ALIVE
messages for cleaner output. - Debug Mode: Includes a
--debug
flag for detailed output during troubleshooting. - Error Handling: Provides meaningful error messages for login failures, timeouts, and connection issues.
- Silent Mode: Suppress unnecessary connection details with the
Server Shutdown Process
- Updated
stop_server()
for improved shutdown handling:- Validates RCON response for the
DoExit
command to ensure graceful server termination. - Automatically falls back to forced shutdown if the graceful process fails or times out.
- Validates RCON response for the
Improved Script Accessibility
- Added a
setup_symlink
function to streamline script usage by creating user-friendly symlinks.
Executable Checks
- Introduced
check_executables()
to verify that required files (rcon.py
,ark_restart_manager.sh
,ark_instance_manager.sh
) are executable, reducing operational errors.
Bug Fixes:
Colored Output
- Fixed color formatting issues to enhance script readability during execution.
Documentation:
README Overhaul
- Completely rewrote the README to make it clearer and more organized:
- Improved structure for easier navigation.
- Simplified instructions to enhance user understanding and accessibility.
- Added detailed examples and explanations to help users set up and manage their servers effectively.