LR-Logger

A script by RobbGamer2_0

No reviews yet.
LR-Logger main image

Full Description

LR-Logger

LR-Logger is a free Script for logging several information into Discord using Webhooks.
It comes with a little default selection of Logs, but its main purpose is to simplify logging in external scripts.
How you can access the logging Events will be explained at the end of the post.

Information

Autor: RobbGamer2_0
Price: Free
Support: LR Systems

Download

https://lr-system.tebex.io/package/lr-logger

Dependencies

screenshot-basic

How to use built in Loggers:

Enter your Discord Channel Webhook in the Brackets after the log you want in Config.Logs.

config.lua
Config = {}

Config.Server = {
    Name = "LR-System",
    Logo = "https://i.imgur.com/bvDmOoX.png"
}

Config.DisallowOnMiss = true
Config.Identifires = {
    Required = {
        'steam',
    },
    Optional = {
        'discord',
    },
}

Config.Logs = {
    ["screenshots"] = "",
    ["join"] = "",
    ["leave"] = ""
}

Config.Message = {
    ['checkingIdentifires'] = "Checking your Identifire...",
    ['missingIdentifire'] = "Identifire %s is missing. Please try again!"
}

How to use Customized

Server Event
TriggerServerEvent('logger:createLog', {
        webhook = "WEBHOOK_URL",
        title = "Event Title",
        action = "Event Action",
        color = "color of your Choice",
        players = {
            {
                id = GetPlayerServerId(PlayerId()),
                role = "The Role of the Player in that Event",
            }
        },
        info = {
            { name = "Test Data 1", value = "This is the Value of Test Data 1"},
            { name = "Test Data 2", value = "This is the Value of Test Data 2"}
        }
        takeScreenshot = true
    })

Supported Colors:

Discord Docs typedef Colors

Any questions or improvements ?

Just join my Discord Server, open a Ticket or write it in any public Chat and i will take a look at it.

Preview

Join/Leave Logs

Example Custom Log

Code is accessible No
Subscription-based No
Lines (approximately) 250 - 300
Requirements screenshot-basic
Support Yes