Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 568 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 568 Bytes

xChat

Simple Garry's mod Discord Relay.

cURL and your personal Discord bot are required.

Initialization

  • Create "xchat" folder on Garry's mod server in addons and place there a lua folder
  • Create "xchat" folder on Web server and place there contents of php folder

Web Configuration

xchat/cfg.php

Set up a secret key and a bot token

xchat/channels/<YOUR CHANNEL NAME/base>.php

Set up a channel id

Garry's mod Configuration

addons/xchat/lua/xchat/config.lua

Set up a URL address to the Web server, Web hook URL, Channel id