Home / Gmod Addons Marketplace / Gmod Discord Logging System

Description ๐Ÿ‡ฌ๐Ÿ‡ง Description ๐Ÿ‡ซ๐Ÿ‡ท

Gmod Discord Logging System - Addon

Demonstration Youtube video of Gmod Discord Logging System

The Gmod Discord Logging System is a logging add-on that integrates Discord with your Gmod server. You can send and store logs from your Garry's Mod server on your Discord server, and view them from any device connected to Discord. This allows you to monitor your server's activity in real time, even when you're not connected to the game.

insert-webhook-link-gmod logs-choice-gmod discord-logs-gmod-languages nordahls-discord-logs-system-gmod-demo discord-chat-textual chat-notification-discord-invitation gmod-connexion-log gmod-chat-log gmod-damage-log gmod-death-log gmod-darkrp-events gmod-ttt-events-log gmod-nutscripts-logs gmod-kick-ban-logs gmod-job-whitelist-logs gmod-discord-logging-system-new-in-version1-7 gmod-discord-logging-system-ticket-support

Maximum image size

Description of Gmod Discord Logging System

๐Ÿš€ Presentation of Gmod Discord Logging System

If you're looking for a solution to integrate Discord into your Gmod server and track user activity even when you're not connected to the game, this Discord Logging System for Gmod is for you.

The Gmod Discord Logging System is a logging add-on designed to facilitate the integration of Discord into your Gmod server. Whether you're using DarkRP or another gamemode, as long as they use the same Garry's Mod APIs and hooks, this addon works with all game modes.

This system allows you to send requests from your GMod server to the Discord API and to store logs from your Garry's Mod server off-site, directly on your Discord server, in specific text chat rooms using webhooks that you can generate.

The major advantage of this system is that you don't need to connect directly to your GMod server to access the logs. You can view these logs from any other device capable of connecting to your Discord server, be it an Android, Windows or Apple device.

This logging system lets you monitor activity on your Garry's Mod servers in real time from your cell phone or tablet. You'll be informed of everything that's happening on your server via notifications sent to your Discord server, which you can configure to receive them in public or private channels.

Thanks to this system, you'll be able to find out, for example, who has joined your server, who has killed an in-game player and with what weapon. You can also identify troublemakers by reading discussions, and find out who initiated attacks. Logs allow you to manage and moderate your server in a clear, simple and impartial way. The system sends requests from GMod to the Discord API via the Gmod Discord Logging System.

๐Ÿ“Œ List of Gmod events that can be logged on your Discord server

Login: Player_Connect, Player_Disconnected.
PlayerSay: gmod_global_chat, gmod_team_chat.
EntityTakeDamage: explosion_damage, fall_damage, physics_damage, weapons_damage, npcs_damage_players, players_damage_npcs.
Deaths: Other, Car_Kill, Npcs, PvP, Suicide.
DarkRP: playerArrested, playerUnArrested, playerWanted, playerUnWanted, playerWarranted, playerUnWarranted, onPlayerChangedName, OnPlayerChangedTeam, playerAdverted, playerSetAFK, playerBuyDoor, playerBoughtVehicle, playerBoughtShipment, playerBoughtPistol, playerBoughtFood, playerBoughtDoor, playerBoughtAmmo,playerBoughtCustomEntity, playerBoughtCustomVehicle
NutScript 1.0: OnPlayerUseBusiness, OnCreateShipment, OnCharDelete, OnPlayerJoinClass, PlayerMessageSend, PlayerSay, StorageItemRemoved.
TTT: TTTPrepareRound, TTTBeginRound, TTTEndRound.
KickBan: Kick_ULX, Ban_ULX.
Whitelist: Player_Add_in_job, Player_Add_in_categorie.
Tickets: nordahl_new_ticket_open, nordahl_ticket_closed.

๐Ÿ“Œ Prerequisites

A web server to upload the web file and PhP

๐Ÿ“Œ Important points

-No need to configure a MySQL server.
-The data is not stored on the hard disk of your GMod server, nor on the hard disk of your WEB server.
-Inform your players who has joined your server about your Discord.
-This script will positively change the way you manage your servers in a positive way.
-Disable and Enable only what you want to log.

๐Ÿš€ First step

When you install the script open the menu with the command logs_system, a menu will open with the different types of logs you want to activate.

For example, you want to save the Kills on a text room on your Discord, insert the link of the webhook generated on your text room on Discord, activate the module Kills Logs by clicking on ON and select the types of Kills you want to save, for example, PvP Kills. You will then know in real time who is dead, by whom, and also with whom she is arming. The system provides the users' steamID64 to efficiently administer this. You can also log the damages to find out who attacked first. And it's not just that, check the video, images and script documentation for more information.

๐Ÿ“Œ Commands

-Command in the console to open the panel: logs_system or nord_discord_logs_system.
-Chat command: !Dlogs.
-To debug and get info in the console: debug_discord_log "https://Your_Domain/debug_discord_logs.php" "webhook_link".

๐Ÿ‘‘ Admin

Access is only by rank that you have saved in the configuration file, by default to admins and superadmins. If you don't have an admin system you can always add your SteamID.

๐Ÿ’พ Persistence

Everything you add or remove is backed up in real time in a system independent of all other systems to ensure optimal compatibility and performance.

๐Ÿ“Œ Configuration

Configuration does not require any skills

โœ… Compatibility

Compatible with all gamemodes, suggestions for improvements and additions are welcome.

๐Ÿ”น WIKI & F.A.Q ๐Ÿ‡ฌ๐Ÿ‡ง
Wiki ๐Ÿ‡ฌ๐Ÿ‡ง Wiki ๐Ÿ‡ซ๐Ÿ‡ท

Wiki of Gmod Discord Logging System

Gmod Discord Logging System

โ˜ฐ 1. Installation of Gmod Discord Logging System
Installation: Download and Unzip the folder nordahl_discord_logs_system.zip Install the addon in the addons file of your Gmod server,
Path: garrysmod/addons/nordahl_discord_logs_system
โ˜ฐ 2. Where can I find resources and materials? What is the Gmod Discord Logging System Workshop id?
Vous trouverez les ressources dans le workshop de Garry's Mod sur Steam. - Gmod Workshop ID of Gmod Discord Logging System: 2513508132
- The AddWorkshop function is automatically added to the script server file and can be deactivated from the configuration file. : resource.AddWorkshop( 2513508132 )
- To add gmod workshop resources to your collection : Gmod Discord Logging System [Content Only] | Gmod Workshop
โ˜ฐ 3. How to generate a link for the Discord show?
Go to your Discord server, by right-clicking on the relevant text in the room, select Webhooks, you will then generate a Webhook URL link that you can copy.
generate a link webhook Discord
โ˜ฐ 4. Where do I place the link to my Discord weebhook?
In the control panel, choose the category aligned on the left that you want to enable logs, Copy/Paste the link of your text room in the Webhook area.
Add link Discord weebhook
โ˜ฐ 5. Can I use the same link for two categories I want to log?
Yes, when you use the same link for the different categories, you combine the recorded activities under a single channel. It is up to you to choose the method that suits you best.
โ˜ฐ 6. What are Webhooks on Discord?
Webhooks are an easy way to send automatic messages and data updates to a text room on the Discord server.
โ˜ฐ 7. Required Web Configuration
  1. Drag the content of the web file provided with the script to the root of your web server.
  2. Then add the domain name of your site to the configuration file.

Your web server must be able to manage PhP and Curl.
โ˜ฐ 8. I would like to avoid that the Discord spam my members. Is that possible?
Yes. In this case you can restrict the log view to only your staff. And it is also possible to move the lounges. So the data is still written and in silence.
โ˜ฐ 9. config.lua

OwnerSteamID="STEAM_0:0:000000000000" --If you are the owner and you dont use Admin System put your Steam ID here. Value exemple: ---> "STEAM_0:1:125347606"
SERVERGUARD_Access_rank={"superadmin","admin"} --Add ServerGuard Admin Group if you want add "admin" {"superadmin","admin","anothergroup"} if you dont have Server Guard installed keep it empty.
USeWorkshopContent=0 --If you dont have a fastdownload you can use workshop content (1 Enable "I want use workshop" / 0 Disable "I prefer use my fastdl"๐Ÿ™‚


// When you download the script you receive this folder : nordahl_discord_logs_system/web_file
// Then copy the content of web_file at the base of your website.

//replace your-website.com by your domain name, if your website dont use HTTPS:// replace by HTTP://

//Invitation message on your Discord Serveur
YOUR_DISCORD_INVITATION="This server has a Discord, invitation link: https://discord.gg/y3rUCTG" // Replace the link

โ˜ฐ 10. What is Gmod Support Tickets Logs?
Gmod Discord Logs System is a system that allows you to send and store logs from your Gmod servers to your Discord server in text rooms using webhooks links that you can generate from your Discord. This way you don't need to connect to your Gmod server to access and read them. This system also allows you to check from a browser, Android, Windows and Apple media since Discord is cross-platform.
โ˜ฐ 11. What to do with the folder web_file? Where to upload it?
In this example your_site.com is your website.

The web_file is what will make the connection between your Gmod server and your Discord.

Once you have uploaded your web_file to your web server, you can then open from a browser: nordahl_discord_logs.php which is inside the web_file file.

For example you have dragged the folder web_file to the root of your web server so the link will be : https://your_site.com/web_file/nordahl_discord_logs.php

Finally copy this link to the configuration file of script Gmod Discord Logging System.

nordahl_cfg_3905.Webserver_request_link= "https://your_site.com/web_file/nordahl_discord_logs.php"

It's done.
โ˜ฐ 12. How do I know if my web server works well with PhP and also with Curl?
If you have successfully completed question 9, by opening the link from a browser, then the status of your web server will be displayed at the bottom.

๐Ÿ”ต PhP is OK
๐Ÿ”ต Curl is OK.
โ˜ฐ 13. How to display the name rp | RP NAME next to the steam nickname in the logs?
In the configuration file: cfg.RolePlay_Name is set to 0 by default.
0 means that this is only the steam nickname that will be displayed in the logs on your Discord server.
1 = The nickname is displayed with the roleplay name.

Once set to 1 go to the file: discord_log_system_sv.lua and to line 27.

Don't forget to reboot.

You will see the template in this form:
user:Nick().." / RP: "..user:Nick()

Then you should see for example: Norda / RP: Norda in the logs.
You will have understood that you will have to replace the second user:Nick() by the API that returns the roleplay name of the user.

For example:
If the API is player:RPName() to get the RP name of the player, then:
user:Nick().." / RP: "..user:RPName()

Note: It's not user:RPName() for everyone since each system does it's own thing, so there is no universal value, that's why you have to add the API yourself.

Tip to avoid the leak of Gmod Discord Logging System installed on your Garry's Mod server: How avoid the Leak of your Gmod scripts
How Install an addon on Gmod? : How install an addon on Gmod
How Publish an addon on the Gmod workshop? : Documentation how create a content pack to publish on the workshop?

Gmod Addon

๐Ÿ“ฅ Download 2.4

๐ŸŽซ Open Ticket
โ›”๏ธ Sorry, you are not connected
Script Information

Creator :


Sales :


Published :

3 years

Last update :

Version :

version 2.4



Categories :

Gmod addons

Requierements :

Garry's Mod Server

Languages :

๐Ÿ‡ฌ๐Ÿ‡ง ๐Ÿ‡ซ๐Ÿ‡ท ๐Ÿ‡ฉ๐Ÿ‡ช ๐Ÿ‡ฌ๐Ÿ‡ช ๐Ÿ‡ฎ๐Ÿ‡น ๐Ÿ‡ฏ๐Ÿ‡ต ๐Ÿ‡ฐ๐Ÿ‡ท ๐Ÿ‡ณ๐Ÿ‡ด ๐Ÿ‡ท๐Ÿ‡บ ๐Ÿ‡ช๐Ÿ‡ธ ๐Ÿ‡ธ๐Ÿ‡ช

Tags :

Admin VGUI Management Allgamemode