Configuration
Every option in STG Pause Menu, from the language and social links to the Discord bot token for player avatars.
Most settings live in stg_pausemenu/config.lua. The Discord bot token is in stg_pausemenu/settings.lua. Both files stay editable in the escrow version. Restart the resource after a change.
Language
STG.Language = "en"Available: en, de, fr, es, pt, it, nl, pl, sv, ar, jp, zh, he, fi. To change a text, edit the matching file in stg_pausemenu/locales/. An unknown code falls back to en.
Social links
STG.Links = {
discord = "https://discord.gg/stg",
instagram = "https://instagram.com",
youtube = "https://youtube.com"
}Prop
Type
Each button opens the link in the player's web browser. Use full URLs starting with https://.
Discord avatars
Settings = {
botToken = ""
}Set in stg_pausemenu/settings.lua. With a Discord bot token (not a webhook), the menu shows the player's Discord profile picture. Players without a Discord identifier, or with no token set, get the default picture. See the guide to create a Discord bot token.
The token stays on the server. The picture is loaded the first time a player opens the menu in a session.
Character data
The menu reads the character details from your framework:
| Field | Source |
|---|---|
| Name | firstname and lastname columns of users |
| Job | The job's label from the jobs table |
| Phone number | phone_number column of users, if your phone script adds it |
| Cash and bank | accounts column of users |
| Playtime | playtime column of users, added by the SQL file |
| Field | Source |
|---|---|
| Name | charinfo.firstname and charinfo.lastname |
| Job | The job label |
| Phone number | charinfo.phone |
| Cash and bank | The cash and bank money types |
| Playtime | playtime in the player's metadata |
A field shows Unknown when the value is missing. Cash, bank and job update live while the player is online, on both frameworks.
Still having trouble?
Open a ticket on our Discord. Our team answers around 15 hours a day.