Skip to content

leolama/PalServer-Monitoring

Repository files navigation

Pal Server Monitoring with Bash

My own (probably bad) Bash scripts to start, monitor, backup and restart a PalServer for Palworld (through a command line). I shouldn't have to say that this is obviously for fun. All the scripts assume you're just in your user folder, this isn't anything fancy :)

Usage

Dependencies:

Features

Restarts the server every 6 hours along with a backup every 6 hours

Variable changing:

I've tried to make the scripts easy to change with variables, for example:

  • In backup.palserver.sh - you'll have to change BACKUP_SCRIPT, BACKUP_FILE and PALSERVER_SAVED to your own paths

ARRCON

The script uses the command ARRCON -S palworld -q "$1" to run RCON commands. You'll have to use ARRCON --host <host> --port <port> --pass <password> --save-host palworld to get RCON working

Basic setup

Run ./setup-palserver.sh (or bash setup-palserver.sh), this will install tmux, ARRCON and SteamCMD. The script assumes you're in your home folder (/home/user)

Starting the server

Make sure you've given each file execute permissions: sudo chmod +x <yourscript>, and then simply run ./monitor-palserver.sh Run tmux attach -t PalServerMonitor to...monitor the server for RAM usage and current players

Stopping the server

Run ./shutdown-palserver.sh The server will save and shutdown in 1 second

About

My dive into insanity with Bash, also what I use to monitor a PalServer through a terminal

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors

Languages