Skip to content

A simple Garry's Mod logging software that sends embeds to Discord.

License

Notifications You must be signed in to change notification settings

Lcast15/LcastLogs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WARNING: LcastLogs NO LONGER WORKS!

Unfourtionately Discord have a broken Cloudflare configuration. This means that everytime a request is sent to Discord's API Endpoint (an endpoint specifically designed for bots to interact with Discord), it has to fill out a captcha form (a form specifically designed to stop bots). This appears to affect some requests, but requests generated by Garry's Mod are one of them. This makes no sense to me, but Discord don't seem to care. I have asked their support about this, and they gave me no useful answer.

support convo

LcastLogs is effectively dead in the water as a proxy defeats the purpose of having this addon to begin with (purpose being a self-contained log system of no cost to the server, with no advanced knowledge required to setup, that can be accessed from outside gmod itself).

A Quick Introduction

LcastLogs is a logging addon for Garry's Mod. LcastLogs takes events from your server, and then turns them into messages in a Discord channel. It's a pretty simple concept.

Yeah, so what can it do?

  • It can be searched easily thanks to using colors and simple titles
  • It will bundle multiple events into a single message so Discord doesn't get angry for spamming.
  • If Discord does get angry, it handles that too. (It handles rate limits)
  • You can turn logs on or off.
  • You can change what color each log is, individually.
  • You can choose to send different logs to different channels, or even to many channels if you want.
  • You can choose what title is displayed on each log.

That's about it really. Pretty simple.

Show us

some of the cool ass log stuff just like real life darkrp stuff ttt stuff

All commands follow a similar structure.

How do make work?!?11!

1. Download the addon

Here's a handy link.

2. Extract the addon

Just extract the .zip you just downloaded into garrysmod/addons/lcastlogs. We'd suggest not using capitals cause Garry's Mod on Linux doesn't like it.

3. Configuration!

Open garrysmod/addons/lcastlogs/lua/lcastlogsconfig/config.lua up in Notepad++ your choice of text editor. The file explains how to configure it, but it's basically just copy pasting some values in.

4. More configuration!

Surprisingly, all the files in garrysmod/addons/lcastlogs/lua/lcastlogsconfig are actually configuration files! It's a good idea to open all the relevant ones and make sure the default configuration values are what you want.

Why wouldn't i just use X other addon?

You can choose to use whatever addon you want, but if you want some reasons why we think LcastLogs might be a better option:

  • bLogs
    • LcastLogs doesn't care if you stole it, it will run anyway. (because its free)
    • LcastLogs doesn't care if you don't have a port forwarded server or a static IP.
    • LcastLogs uses a friendly, familiar interface. Discord's.
    • But what about the free bLogs Discord Relay?
      • LcastLogs has avatars? I dunno, i don't own bLogs nor this extension. (please make a pull request with more reasons if you own this and find some reasons <3)
    • But what about the paid bLogs Web Panel?
      • LcastLogs is self-contained to your Garry's Mod server (and Discord, of course) so you don't need to worry about setting up a database, or a HTTP server or anything else.
      • LcastLogs doesn't yet have an alternative to web panels. If you need a web panel, by all means pay the $11.98 for bLogs and it's web panel extension DLC. Otherwise mLogs 2 will do web panels for cheaper ($6.49) and you dont even need to host the web panel, it comes part of your purchase.
  • pLogs-2
    • LcastLogs doesn't use databases.
    • LcastLogs supports more log types in areas. We're working to support even more.
    • LcastLogs is still* an active project. I actually don't mind pLogs, it's alright. As far as i know aStonedPenguin isn't supporting it anymore however.
    • = was. Discord changing how their stuff works really breaks that.
  • Three's Discord Logs
    • LcastLogs is free.
    • Our embeds are more rich with information.
    • LcastLogs supports more log types in areas. We're working to support even more. I don't own Three's Discord Logs, if you do and have some better reasons to add, please make a pull request and add your reasons.

Currently Supported Log Types:

  • Main:
    • Connections
    • Disconnections
    • Player Spawns
    • Global Chats
    • Team Chats
    • CVar Changed (if ULib is installed)
    • Player Death
    • Server Initialized
  • ULX:
    • Name Change
    • Command Called
  • Sandbox: (Sandbox logs can run on sandbox-derrived gamemodes like DarkRP)
    • Toolgun
    • Prop Spawn
    • Vehicle Spawn
    • SWEP Spawn
    • SWEP Given
    • SENT Spawn
    • Effect Spawn
    • NPC Spawn
    • Ragdoll Spawn
  • TTT:
    • Equipment Ordered
    • DNA Found
    • Used Health Station
    • Body Found
    • Round End
    • Player Death
  • DarkRP:
    • Law Added
    • Law Removed
    • Laws Reset
    • Agenda Updated
    • Variable Changed
    • Lockpick Started
    • Lockpick Completed
    • Lottery Started
    • Lottery Ended
    • Money Printer Printed
    • Money Printer Caught Fire
    • Co-owner Added
    • Co-owner Removed
    • DarkRP Command Called
    • Weapon Dropped
    • Door Ram Used
    • Hit Accepted
    • Hit Completed
    • Hit Failed
    • Tax Paid
    • Name Changed
    • Job Changed
    • Demoted
    • Player First Joined
    • Item Pocketed
    • Item Dropped
    • Property Taxed
    • AFK Demoted
    • Arrested
    • Ammo Bought
    • Entity Bought
    • Vehicle Bought
    • Door Bought
    • Food Bought
    • Pistol Bought
    • Shipment Bought
    • Cheque Dropped
    • Money Dropped
    • Money Given
    • Lottery Entered
    • Salary Received
    • Door Sold
    • Money Picked Up
    • Weapon Picked Up
    • AFK Status
    • Starved
    • Cheque Torn Up
    • Un-arrested
    • Un-wanted
    • Un-warranted
    • Wanted
    • Warranted
    • Weapons Checked
    • Weapons Confiscated
    • Weapons Returned

And more on the way! Have a suggestion? Make an issue! Better yet, if you've created or started making a new module for LcastLogs, make a pull request and i might add it!

Releases

No releases published

Packages

No packages published

Languages