BASICUse a ssh program like Putty (
Link) (necessary if you use Windows)
Guide based on b46, should work with any linux_full version. Check
ftp://otb-server.de/pub/Game/ for the newest one.
Connect to your server (Debian, commands may change on other distro) and login as root.
Attention: The server may not launch properly if the necessary libs aren't installed.As user root:apt update && apt dist-upgrade
apt install screen
useradd -m -s /bin/bash paintball
passwd paintball
(use another password than root!)su paintball
As user paintball:cd
wget
ftp://otb-server.de/pub/Game/paintball2_build046_linux_full.tar.gztar xvf paintball2_build046_linux_full.tar.gz
cd paintball2
cp ./pball/configs/server.cfg ./pball/configs/
myserver1.cfg
nano pball/configs/
myserver1.cfg
(This is the serverconfig for your server, you can add standard settings, logins etc here)nano pball/configs/motd.txt
(This file contains the Message of the Day, which you see when you join the server)nano pball/configs/rotation.txt
(This file containts the rotation for the server)chmod +x paintball2
./paintball2 +set dedicated 1 +exec
myserver1.cfg +set port 11111 +map arenaball
Check the serverbrowser if you see your server.
If you get an error like "paintball2 not found", read the error part.ErrorAs user root:Debian 7 and earlier:
As root:dpkg --add-architecture i386
apt-get update
apt-get install ia32-libs
Debian 8 and newer:
As root:dpkg --add-architecture i386
apt-get update
apt-get install build-essential gcc-multilib rpm libstdc++6 libgcc1 zlib1g libncurses5 libc6
If you want to run your server in background:nano /home/paintball/paintball2/
myserver1.sh
Copy & Paste + Modify:while true; do
./paintball2 +set dedicated 1 +exec myserver1.cfg +set port 11111 +map arenaball
done
chmod +x /home/paintball/paintball2/
myserver1.sh
screen -A -m -d -S
myserver1 ./
myserver1.sh
Screen: Get back to the myserver1 consoleRegarding screen, if you need to get back to the myserver1 console, you can use "screen -r myserver1" to restore it. "myserver1" is whatever you specified in in the after "screen -S".
screen -r
myserver1Multiple serverJust replace the highlighted green word (
myserver1) with another word (a.e. match (match.cfg, match.sh, ...)) and the port in the .sh file!
Useful commandsUpdate your Mapfolder with wgetPublic Maps
wget -N -P /home/paintball/paintball2/pball/maps ftp://www.otb-server.de/pub/Maps/*.bsp
Beta Maps:
wget -N -P /home/paintball/paintball2/pball/maps/beta ftp://www.otb-server.de/pub/Maps/beta/*.bsp
Jump Maps:
wget -N -P /home/paintball/paintball2/pball/maps/jump ftp://www.otb-server.de/pub/Maps/jump/*.bsp
Mapinfos:
wget -N -P /home/paintball/paintball2/pball/maps/mapinfo ftp://www.otb-server.de/pub/Maps/mapinfo/*.txt