s.main.lua
Documentation for s.main.lua Configuration
LogsWebhook
-- Discord Webhook for logging all license activities
-- Set to false or "" to disable logging
Config.LogsWebhook = "https://discord.com/api/webhooks/YOUR_WEBHOOK_HERE"Screenshot
Config.Screenshot = {
-- Photo hosting method:
-- "local" -> save it on the server and serve it over the built-in image API
method = "local",
["local"] = {
folder = "uploads", -- folder inside this resource where photos are stored
format = "webp", -- image format for saved photos: "webp", "jpg" or "png"
-- Crop the captured frame to a centered portrait before saving.
-- Values are fractions (0..1) of the full screenshot: x/y = top-left corner,
-- width/height = size. Set crop = false to store the full frame.
crop = {
x = 0.22,
y = 0.0,
width = 0.56,
height = 1.0,
},
-- Resize the (cropped) photo to a fixed resolution before saving.
-- Set size = false to keep the cropped resolution.
size = {
width = 312,
height = 312,
},
},
}DataFields
Last updated