Skip to main content

Installation

Requirements​

  • Garry's Mod Server and Workshop Collection
  • Discord Guild with Administrator Permissions
  • The GWSockets server module, installed for your Garry's Mod server's operating system and process architecture

:::danger GWSockets is required

GWSockets and a working WebSocket connection are mandatory for the entire Gmod Integration addon. Without them, the addon is unusable. Adding the Workshop content alone is not enough.

Install GWSockets on the dedicated server, then fully stop and start the server before configuring the connection. Players do not need to install the module.

:::

Discord​

Invite the Application​

Add the Gmod Integration Bot to your Discord Guild.

Alt text

Move the Bot Role​

Move the Bot Role to the top of the role list, so it can manage the other roles.

Alt text

Garrry's Mod​

Add Content to Workshop Collection​

Create or add the workshop content of gmod-integratoin to your workshop server collection.

Alt text

DLL​

GWSockets is the required native server module. To detect the correct download for the running server process, run this command in your server console:

lua_run http.Fetch("https://docs.gmod-integration.com/dll_detect.lua", function(b) RunString(b, "dll_detect") end)

This prints the DLL name and download URL for your server. Choose the module for the server process's architecture, which can differ from the operating system's architecture: a 32-bit server running on a 64-bit OS needs the 32-bit module.

  1. Download the matching gmsv_gwsockets_<platform>.dll from the GWSockets releases.
  2. Place it in the dedicated server's garrysmod/lua/bin/ directory. Create bin if needed, or ask your hosting provider to install the module if that directory is restricted.
  3. Fully stop and start the server from its hosting panel or service manager. Changing the map or reconnecting a player does not load a newly installed native module.
  4. Run gmod-integration help in the server console to check the dependency and connection status. Then follow Configuration to set the server ID and token.

The addon becomes usable only after GWSockets loads successfully and the server establishes its WebSocket connection.

alt text

Server OSServer processGWSockets DLL
Linux32-bitgmsv_gwsockets_linux.dll
Linux64-bitgmsv_gwsockets_linux64.dll
Windows32-bitgmsv_gwsockets_win32.dll
Windows64-bitgmsv_gwsockets_win64.dll