Skip to content

Latest commit

 

History

History
34 lines (18 loc) · 693 Bytes

File metadata and controls

34 lines (18 loc) · 693 Bytes

gmod-error-url

How to install

You will need a dedicated server or VDS.

npm i express

npm i discord-webhook-node

For demonize nodejs process you can use PM2

npm i pm2 -g

pm2 start index.js --name luaerrors

Configurate

IN config.json

webhook - Your discord webhook

img - Webhook avatar

port - your webserver port

route - random it's need for http://localhost:1488/itsroute

Server gmod

Put lua_error_url "http://localhost:1488/itsroute" in the garrysmod/cfg/server.cfg and restart server.

Send lua errors to Discord using webhooks.

изображение