-
-
Notifications
You must be signed in to change notification settings - Fork 19
Set up a server
- Go to the release page and download RageCoop.Server-win-x64.zip.
- Extract the zip with whatever tool you desire.
- Simply click RageCoop.Server.exe, now your server is running and
Settings.xml
will be generated. - Remeber to add a firewall exclusion so the connection is not blocked: (change 4499 to other number if you're using a different port)
netsh advfirewall firewall add rule name="RageCoop.Server" dir=in action=allow protocol=UDP localport=4499
- Go to the release page and download RageCoop.Server-linux-x64.zip
- Run the following commands:
cd [the_directory_you_downloaded_ragecoop]
unzip RageCoop.Server-linux-x64.zip
chmod +x RageCoop.Server
./RageCoop.Server
- Now your server is running and
Settings.xml
will be generated, every time you want to run it just type./RageCoop.Server
again in terminal - Firewall configuration may differ on different distro. Well... if you're using linux, you probaly don't need to be told what to do
Normally you can't just run a server at your home, since your computer is behind a NAT firewall, which will randomly assign you a port or block all incoming connections. You'll need to forward a port to make your server reachable to others. Contact you ISP or use VLAN software(see below) if you're unable to do that.
All server seetings are stored in Settings.xml
located at the working directory, you can see all avalible options here
RAGECOOP comes with built-in ZeroTier intergration, allowing you to host a public server at your home without complex setup.
To use it, first download and install ZeroTier for your server and client PC, log in / sing up to https://my.zerotier.com/ and create a network, set UseZeroTier
and AnnounceSelf
to true and change ZeroTierNetworkID
to your network in server settings, then start your server. Now you'll be able to connect to your server from the server list.
RAGECOOP supports P2P connection to an extent. You must enable VLAN functionality and set UseP2P
to true for this to work.
It's not possible to add a server password, although if you want to announce the server (AnnounceSelf) but want to restrict access, you can use the Management resource.
- Download
RageCoop.Resources.Management.respkg
from https://github.com/RAGECOOP/GTAV-RESOURCES/releases/tag/nightly and put it in the folderResources\Packages
- Run the server, the following commands must be executed in the server console
-
/register username password
(replaceusername
by your user name andpassword
by your password) -
/setrole username Admin
(replaceusername
by your user name) -
/unregister Sausage
(it's the default Admin user) - Press
Ctrl + C
to stop the server - Edit
Config.json
inResources\Server\data\RageCoop.Resources.Management
and changeAllowGuest
tofalse
. - Run the server again
Now only registered users (with /register
command) can join the server, they must type the password in RageCoop menu.
Commands can also be executed in the game chat.