fivemLinux is a bash tool that lets you manage your FiveM server in a easy way using the command line.
If you have any suggestions or improvements, don't hesitate to send your pull requests
- connect to your virtual server
- download the tool using wget
wget https://raw.githubusercontent.com/zerefdev/fivemLinux/master/fivem.sh
- Convert the file to unix format if needed and give it execution permission
3.1. Install dos2unix
sudo apt install dos2unix
3.2. Convert the file to unix format
dos2unix fivem.sh
3.3. Give it permission to "execute"
chmod +x fivem.sh
- Start the installation process and follow the instructions
./fivem.sh
- Done!
- ./fivem.sh update
updates fivemLinux to the latest version - ./fivem.sh start
starts the server in silent mode - ./fivem.sh stop
stops the server - ./fivem.sh restart X
restarts the server after X seconds
if X is not given, the server will be instantly restarted - ./fivem.sh status
returns if server is running or not - ./fivem.sh cmd "command arg"
allows you to send commands via the console (restart a resource..etc) - ./fivem.sh debug
starts the server in debug mode (it will output the start process)
improve cmd casebetter path saving methodUsing the best method so faradd confirmation for inputpathand cmd- daily auto-restart (refresh RAM, reset players IDs)
- option to set restart timer to minute insteads of seconds
duplicate restartMsg so players will see it 100%
- global improvement and organisation
- color variables removed, replaced with functions
- cmd prompts a confirmation text if no command was given
- debug added to see starting process output (for errors)
- update added
- initial release
- basic functions