Open fhazal opened 10 months ago
There isn't any real installation process to speak of; just extract the executable somewhere and run it.
I'll write some documentation on the exact setup process later today.
Greetings, I am also having issues when trying to extract and install the file. My steps are as follows
I keep getting the error in the image above "ARRCON: command not found". I have even tried appending the file extension .sh to the file and still no luck. I have tried running in SUDO and editing the file permissions using chmod A+x
. I forgot to include it in the screenshot but I also try ./ARRCON
and ./ARRCON.sh
and get the same error.
@muhubi You have to type the path to the file when it isn't on your PATH. In your case, that would be .
(current directory), so ./ARRCON
should work.
The file also needs execution perms for the current user, if you need to fix that you can use chmod 0755 ./ARRCON
.
Thank you, I did not use the ./
in my command execution. ./ARRCON
worked.
@fhazal
@muhubi
Here's a shell script you can use to upgrade versions in the future without having to download & extract it on a separate system:
#!/bin/sh
set -e
if [ $# = 0 ]; then
echo -n "Version number to upgrade to: "
read version
else
version=$1
fi
wget "https://github.com/radj307/ARRCON/releases/download/$version/ARRCON-$version-Linux.zip"
unzip -o ARRCON-$version-Linux.zip
rm ARRCON-$version-Linux.zip
echo "ARRCON was upgraded to v$version"
It requires wget
& unzip
, which can be installed with the following oneliner on debian-based distros like ubuntu:
sudo apt-get update && sudo apt-get install -y wget unzip
If you name it upgrade-arrcon.sh
, give it execute perms with chmod 0755 upgrade-arrcon.sh
(or your preferred permissions), then call it like: ./upgrade-arrcon.sh <VERSION>
You can also run it without specifying the version number & it'll prompt you for it.
@radj307 expansion upon your script:
Here's an install/update script for whatever the latest version currently released to github, (rather than prompting):
#!/bin/bash
# Prerequisites
sudo apt-get -yqq install wget unzip curl
if [ $# = 0 ]; then
# Get latest version # from github url redirect
releases="https://github.com/radj307/ARRCON/releases/"
tag_link=$(curl -Ls -o /dev/null -w %{url_effective} $releases/latest)
latest_tag=${tag_link#"$releases"}
version=${latest_tag#"tag/"}
else
version=$1
fi
# Download version
wget -q "$releases/download/$version/ARRCON-$version-Linux.zip"
unzip -oqq ARRCON-$version-Linux.zip
rm ARRCON-$version-Linux.zip
echo "ARRCON was upgraded to $version"
Toss it in a cron job, and it should keep the system updated to the latest ARRCON. 👍
# Documentation Request
What is the documentation for?
a guide on how to install ARRCON on Ubuntu 22.04 and run it with palworld game server
Is there existing documentation?
NoWhat changes would you want to see?
the command list
how to use the command, if rcon have it already where can we read the list of the commmand, or just use the same command in game?