View Single Post
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 07-30-2020 , 09:49   Re: Communication between two servers
Reply With Quote #11

Quote:
Originally Posted by MaNaReaver View Post
Hey Iggy, I'm unsure on how to install gRIP for Counter-Strike, as there's not much information on it. Could you guide me through it? Also, where should the matterbridge.toml file be placed? Thanks!
You can get the latest version of gRIP here. (don't download the 0.0.0.0 version, which is for some reason marked as the latest release, it's probably a test version that doesn't work.)

Once you download MatterBridge you need to configure the bridges and gateways in the matterbridge.toml file (this file needs to be in the same directory as the MatterBridge executable)

Example of matterbridge.toml on your case use:
PHP Code:
[api.server1]
BindAddress="0.0.0.0:1337"
Token="verysecrettoken"
Buffer=1000
RemoteNickFormat
="{NICK}"

[api.server2]
BindAddress="0.0.0.0:1338"
Token="verysecrettoken"
Buffer=1000
RemoteNickFormat
="{NICK}"

[[gateway]]
name="server_gateway"
enable=true

[[gateway.inout]]
account="api.server1"
channel="api" 

[[gateway.inout]]
account="api.server2"
channel="api" 
Then configure your servers to point to the IP where MatterBridge is running.
__________________

Last edited by gabuch2; 07-30-2020 at 12:53.
gabuch2 is offline