A self-hosted Discord <=> Source game relay
- Bidirectional - You can receive/send on both Discord and game server side!
- Channel - Get creative! With the ability to specify receive/send channels, you can even send messages to other game servers, not only to Discord!
- Ease of use - Setup is incrediblily easy with Discord bot commands and simple config files
- Reliable - Upon disconnect, game servers will attempt to reconnect at a fixed interval
- A MySQL server
- A game server with the socket extension
- A server to host the relay server on
- A Discord bot token
-
Head over to Releases and download the latest package for your operating system
-
Relay Server
- Upload the binary to the server
- Configure
config.toml.example
and rename it toconfig.toml
- Start it by running
./server
-
Game server
- Upload the plugin to
addons/sourcemod/plugins
- Load the plugin
- Configure the config at
cfg/sourcemod/Source-Chat-Relay.cfg
with the host/port of the relay server - Reload the plugin
- Upload the plugin to
-
If all goes properly, the client should connect to the relay server and authenticate itself
Before any clients can send messages, you must set the receive/send channels on them
- r/receivechannel #Channel/EntityID Channel
- r/sendchannel #Channel/EntityID Channel
- r/entities ?channel/server
- Ron for being a human linter
This project is licensed under GPL 3.0