View Single Post
MaNaReaver
Member
Join Date: Apr 2020
Location: India
Old 07-30-2020 , 13:44   Re: Communication between two servers
Reply With Quote #14

Quote:
Originally Posted by Gabe Iggy View Post
All my tests were done by downloading the executable itself.

https://github.com/42wim/matterbridg...es/tag/v1.18.0

In my case I used matterbridge-1.18.0-linux-64bit, it's just a single file so there's no need to use a package manager.
So, I put the executable and .toml file in a folder, and added gRIP module. I also compiled matteramxx, but the relay isn't happening. Also, what do I need to have in amx_matter_bridge_url? Should it be my server url or something else?

This is my toml file:

Code:
[api.myserver1]
BindAddress="35.200.152.63:27010"
Token="token"
Buffer=1000
RemoteNickFormat="{NICK}"

[api.myserver2]
BindAddress="35.200.152.63:27020"
Token="token"
Buffer=1000
RemoteNickFormat="{NICK}"

[discord]
[discord.mydiscord]
Token="token"
Server="server-id"
#Server="Crimson Demons Multimod"
WebhookURL="webhookurl"

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

[[gateway.inout]]
account="discord.mydiscord"
channel="discussion"

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

[[gateway.inout]]
account="api.myserver2"
channel="api"
Best regards.
__________________
MaNaReaver is offline