Configuration
Every option in STG Notify Pack config/config.lua, from themes and feature toggles to the announcement commands, permissions and txAdmin integration.
All settings live in stg-notify/config/config.lua. The file stays editable in the escrow version. Restart the resource after a change.
Language
Config.Language = 'en'Available: en, de, fr, es, pt, it, nl, pl, sv, ar, jp, zh, he, fi, no. The files are in stg-notify/locales/.
The text inside notifications, announcements, progress bars and help prompts comes from the script or command that sends it, so translate it there.
Theme
Config.Theme = "blue"Colour of the whole UI. Pick one of blue, red, green, purple, orange, pink, yellow, cyan, white or custom.
Each theme is a CSS file in stg-notify/config/themes/. To use your own colours, set the theme to custom and edit stg-notify/config/themes/custom.css:
:root {
--accent: #4ccfff;
--accent-rgb: 76, 207, 255;
--accent-secondary: #22bcff;
--accent-secondary-rgb: 34, 188, 255;
--accent-dark-rgb: 46, 124, 153;
--accent-mid-rgb: 61, 165, 204;
--accent-darker-rgb: 37, 102, 126;
--accent-dim-rgb: 44, 161, 204;
}Every colour appears twice: once as a hex value and once as r, g, b numbers. Change both so they match. The other theme files show how the shades step down from the main --accent colour.
Features
Config.Features = {
notifications = true,
progressBar = true,
helpNotify = true,
announcement = true,
}Prop
Type
Announcements
Config.Announcement = {
command = 'announce',
targetCommand = 'announceto',
permission = { 'admin', 'superadmin', 'god' },
DefaultName = 'System',
DefaultTitle = 'ANNOUNCEMENT',
DefaultDuration = 10000,
UseCharacterNameFallback = true,
txAdmin = { ... },
}Prop
Type
Only one announcement is shown at a time. While one is on screen, a new one from /announce, the SendAnnouncement export or txAdmin is dropped, not queued. /announceto is not blocked.
txAdmin
txAdmin = {
active = true,
name = 'txAdmin',
duration = 15000,
},Prop
Type
Still having trouble?
Open a ticket on our Discord. Our team answers around 15 hours a day.