Short-term solution to relaying messages between Garry's Mod and Discord (A rework is planned when we finish other technologies)
Go to file
edshot99 d7ea74c929 fork
- dont require steamlookup
- dont use avatar_service
- fix 'cfc_realm command not found'
- ability to choose ws:// or wss://
- ability to receive messages from dedicated relay program
- added networkid for easy steamid access

(custom dedicated relay program not included in this repository)
2024-10-26 19:54:34 -05:00
.github/workflows Don't ship web code 2024-08-28 22:01:47 -07:00
moon fork 2024-10-26 19:54:34 -05:00
web Update steamid website 2024-01-20 01:49:14 -08:00
.gitignore Feature/larynx (#40) 2023-09-20 18:51:30 -07:00
CODEOWNERS Create CODEOWNERS 2021-11-15 14:25:34 -08:00
LICENSE Initial commit 2021-02-13 22:17:31 -08:00
README.md Add docs 2023-09-22 19:40:43 -07:00

cfc_chat_transit

Paving paths and establishing tunnels

Convars

Server

  • cfc_avatar_service_address

    • The domain (avatar_api.mydomain.com) of the Avatar Service API
  • cfc_avatar_service_image_address

    • The domain (avatars.mydomain.com) that the Avatar images are actually served from
  • cfc_relay_host

    • The domain (relay.mydomain.com) of the discord_relay service
  • cfc_realm

    • The Realm (cfc3 / cfcttt / darkrp) of the server that is running the addon
  • cfc_chat_transit_should_transmit_remote

    • Whether or not to send Discord messages to players
  • cfc_chat_transit_transmit_admin_only

    • Whether or not to send Discord messages to only Admin+

Client

  • cfc_chat_transit_remote_messages
    • Whether or not Discord messages should appear in Chat

Hooks

  • CFC_ChatTransit_GetPlayerColor
    • Takes a Player. Return a Color to override the color that outlines their avatar in Discord