PivityGmodStore

cURL HTTP

Introduction

Make sure you are running the latest version of bLogs.

To use Discord webhooks with bLogs, you must install a "binary module" to your server.

This "binary module" is required because CloudFlare blocked Garry's Mod's user agent from sending HTTP requests to Discord's servers. This module allows Lua scripts to modify the user agent so that this is bypassed.


Installation

  1. Go here: https://github.com/WilliamVenner/gmsv_reqwest/releases
  2. If you have a GitHub account, why not give the repository a star? :D
  3. Download the correct module for your operating system and branch:
  4. If you are running on a Windows server, on the 32-bit Gmod branch (currently the default branch for servers), download gmsv_reqwest_win32.dll
  5. If you are running on a Windows server, on the x86-64 Gmod branch, download gmsv_reqwest_win64.dll
  6. If you are running on a Linux server, on the 32-bit Gmod branch (currently the default branch for servers), download gmsv_reqwest_linux.dll
  7. If you are running on a Linux server, on the x86-64 Gmod branch, download gmsv_reqwest_linux64.dll
  8. If it does not already exist in your server's files, create the garrysmod/lua/bin/ folder on your server.
  9. Drop the module you downloaded into this folder


Your server files should look something like this:

(I am running Windows, 32-bit Gmod server branch)

(You will probably have more .dll files in here, such as for gmsv_mysqloo)


Wrapping up

And that's all. You can now restart/start your server and bLogs will automatically use this module to send Discord webhooks.

To learn how to set up Discord webhooks with bLogs, check out this article.

Can't find what you're looking for?

Contact support