FiveM Server Manager
FiveM Server Manager is a Bash script designed to simplify the management of FiveM servers. Whether you’re setting up a new server, starting an existing one, or troubleshooting issues, this script provides a convenient interface to perform common tasks efficiently.
Features
Server Management
- Server Creation: Quickly create new FiveM server instances with customizable configurations, including server name, resources, server data path, server port, and more.
- Server Start: Start a designated FiveM server instance with a single command.
- Server Stop: Gracefully shut down a running FiveM server to ensure data integrity.
- Server Restart: Restart a running FiveM server instance without interrupting gameplay.
- Server Update: Automatically update the FiveM server resources to the latest versions available.
Monitoring and Logging
- Real-time Console Output: View live console output from the FiveM server to monitor player activity, server performance, and debug issues in real-time.
- Server Logs: Access and analyze comprehensive server logs to track player actions, server events, errors, and more.
Security Enhancements
- Firewall Configuration: Configure firewall rules to restrict access to the FiveM server and enhance security.
- SSH Hardening: Implement best practices to secure SSH access to the server, including key-based authentication, disabling root login, and more.
- Automatic Security Updates: Automatically apply security updates to the server operating system and installed packages to mitigate potential vulnerabilities.
- Fail2Ban Integration: Set up Fail2Ban to prevent brute-force attacks and protect against unauthorized access attempts.
Backup and Recovery
- Server Backup: Schedule automatic backups of the FiveM server data, including server configuration, resources, player data, and more, to ensure data integrity and disaster recovery.
- Backup Management: Easily manage and restore server backups from a centralized interface.
Script Management
- Automatic Updates: Check for and apply updates to the management script itself to ensure access to the latest features, bug fixes, and improvements.
- Customization Options: Customize script behavior and configurations to suit your specific requirements and preferences.
- Extensibility: Easily extend the script’s functionality through modular design and integration with third-party tools and services.
Usage
-
Clone the Repository: Start by cloning this repository to your local machine using the following command:
git clone https://github.com/Syslogine/fivem-server-manager.git
-
Navigate to the Directory: Move into the cloned directory:
cd fivem-server-manager
-
Make the Script Executable: Ensure that the script has the necessary permissions to be executed:
chmod +x fivemanager.sh
-
Run the Script: Execute the script to access the interactive menu:
./fivemanager.sh
-
Follow the Menu Options: Use the numbered menu options to perform various server management tasks such as creating a new server, starting or stopping an existing server, monitoring server output, debugging, or updating the script itself.
Contributing
Contributions are welcome! If you encounter any issues, have suggestions for improvements, or want to contribute code enhancements, feel free to open an issue or submit a pull request. Your input helps make this project better for everyone.
License
This project is licensed under the MIT License, which means you are free to use, modify, and distribute the script for both personal and commercial purposes, with appropriate attribution.
Credits
This script is maintained by Yarpii, aiming to simplify the management of FiveM servers for users of all experience levels.