STG ScriptsDocumentation
Warning System

Warning System

Staff warn a player with one command and a full screen warning with a title, a message and a countdown appears on their screen, logged to Discord.

STG Warning System gives your staff a way to make sure a player reads a warning. One command puts a full screen warning on the player's screen with the staff member's name, a title and a message. The player cannot close it, and it disappears on its own when the countdown ends.

Features

Full screen warning

A dark overlay with the staff member's name, a title, a message and a progress bar that fills until the warning closes.

One command

/warn with a player ID, an optional title and an optional message. Leave them out to send the default warning text.

Player held in place

While the warning is open the player can be frozen in place and made invincible, so nobody gets hurt while reading.

Staff only

Only framework groups you list, or players you allow by identifier, can send a warning.

Discord log

Every warning is posted to a Discord webhook with the title, the reason and the identifiers of both players.

14 languages

All texts, including the default warning, come from editable locale files.

At a glance

Command/warn (name editable in the config)
FrameworksESX, QBCore, QBOX
Languages14 included

Next steps

Still having trouble?

Open a ticket on our Discord. Our team answers around 15 hours a day.

Get help on Discord

On this page