Skip to content

Sourcemod <-> Discord chat relay with cross server functionality.

License

Notifications You must be signed in to change notification settings

PaxPlay/discord-chat-relay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sourcemod Discord Chat Relay

Discord and cross server chat relay for sourcemod servers.

Requirements:

Note: You'll need a discord app with bot. How to create

Installation:

  1. Put the dcr-server.smx/dcr-client.smx in your servers addons/sourcemod/plugins directory.
  2. For the dcr-server.smx, you have to copy the dcr.cfg to addons/sourcemod/configs and replace <insert-bot-token> with your bot token
  3. Start the server once and modify the now created cfg/sourcemod/discord-chat-relay-server.cfg/cfg/sourcemod/discord-chat-relay-client.cfg. To get the Channel id, enable Developer Mode in Discords Apperance -> Andvanced settings and right click the channel you want to get the id from. Select Copy ID to copy the ID.
  4. Restart the server.

How it works:

One gameserver (with dcr-server) connects to discord and acts as 'server' for the gameservers to connect to. If you send a message from Discord, the 'server' gameserver will retrieve it and send it to all other connected gameservers. If you send a message from a 'client' gameserver, the 'server' gameserver will send it to discord and all other connected gameservers. And finally, if you send a message from the 'server' gameserver, it'll send the message to Discord and every connected gameserver.

About

Sourcemod <-> Discord chat relay with cross server functionality.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published