Drive around the interstate with your buddy, enjoy GTAs environment, make own missions and events or just chill in Grove Street! 🌐
The ragecoop Drive around the interstate with your buddy, enjoy GTAs environment, make own missions and events or just chill in Grove Street! 🌐
ragecoop requires one port for both UDP/TCP
Port | default |
---|---|
Game | 4499 |
Name | Tag |
---|---|
ghcr.io/ptero-eggs/yolks:debian | ghcr.io/ptero-eggs/yolks:debian |
Name | Description | Environment Variable | Default Value | User Viewable | User Editable |
---|---|---|---|---|---|
Version | The version you want of RAGECOOP-V Example: latest, nightly , 1.5.3 | VERSION | latest | Yes | Yes |
#!/bin/bash
apt update
apt -y install curl wget git zip unzip jq
mkdir -p /mnt/server
cd /mnt/server
## get release info and download links
LATEST_JSON=$(curl --silent "https://api.github.com/repos/RAGECOOP/RAGECOOP-V/releases/latest")
RELEASES=$(curl --silent "https://api.github.com/repos/RAGECOOP/RAGECOOP-V/releases")
if [ -z "${VERSION}" ] || [ "${VERSION}" == "latest" ]; then
DOWNLOAD_URL=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url | grep -i RageCoop.Server-linux-x64.zip)
else
VERSION_CHECK=$(echo ${RELEASES} | jq -r --arg VERSION "${VERSION}" '.[] | select(.tag_name==$VERSION) | .tag_name')
if [ "${VERSION}" == "${VERSION_CHECK}" ]; then
DOWNLOAD_URL=$(echo ${RELEASES} | jq -r --arg VERSION "${VERSION}" '.[] | select(.tag_name==$VERSION) | .assets[].browser_download_url' | grep -i RageCoop.Server-linux-x64.zip)
else
echo -e "defaulting to latest release"
DOWNLOAD_URL=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url | grep -i RageCoop.Server-linux-x64.zip)
fi
fi
echo ${DOWNLOAD_URL}
wget ${DOWNLOAD_URL} -O RageCoop.Server-linux.zip
RageCoop.Server-linux.zip
unzip RageCoop.Server-linux.zip
rm RageCoop.Server-linux.zip
chmod +x RageCoop.Server
cat <<EOF > Settings.xml
<Settings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Port>4499</Port>
<MaxPlayers>32</MaxPlayers>
<MaxLatency>500</MaxLatency>
<Name>RAGECOOP server</Name>
<Website>https://ragecoop.online/</Website>
<Description>RAGECOOP server</Description>
<GameMode>FreeRoam</GameMode>
<Language>English</Language>
<WelcomeMessage>Welcome on this server :)</WelcomeMessage>
<AnnounceSelf>false</AnnounceSelf>
<MasterServer>https://masterserver.ragecoop.online/</MasterServer>
<LogLevel>0</LogLevel>
<NpcStreamingDistance>500</NpcStreamingDistance>
<PlayerStreamingDistance>-1</PlayerStreamingDistance>
<WeatherTimeSync>true</WeatherTimeSync>
<AllowedUsernameChars>ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890-_</AllowedUsernameChars>
<UseP2P>false</UseP2P>
<UseZeroTier>false</UseZeroTier>
<UseVoice>false</UseVoice>
<ZeroTierNetworkID>8056c2e21c000001</ZeroTierNetworkID>
<AutoUpdate>false</AutoUpdate>
<KickGodMode>false</KickGodMode>
<KickSpamming>true</KickSpamming>
</Settings>
EOF
echo "done"