About Admin Warn
AdminWarn is designed for situations where players clearly violate server rules or require a direct and serious warning.
With the latest update, an optional popup warning mode has been added alongside the mandatory acknowledgment GUI.
This allows admins to send clean, non-intrusive messages displayed at the top of the screen.
News: To avoid disrupting gameplay (such as PvP), you can use:
/warnpopup <SteamID> <message>
/warnpopupall <message>
The core purpose of AdminWarn remains unchanged: forcing players to acknowledge warnings.
Each mandatory warning includes a single confirmation button, ensuring the player has read and accepted it.
Acknowledgment events are tracked via Discord webhook logs, including whether the warning was confirmed while the player was online or after reconnecting.
AdminWarn is built for manual use only.
It is not an automated warning system.
All warnings are intentionally sent by admins using commands.
At the same time, the system works intelligently in the background:
- Warnings sent to offline players are stored and automatically shown when they next join, even days later.
- For online players, warnings remain active until acknowledged, then are automatically cleared.
- All data is fully wipe-aware and automatically cleaned on server wipes.
Each warning includes built-in in-game sound effects.
No external or custom audio files are used.
This is not a chat message.
Warnings are delivered as visual UI elements that require acknowledgment or appear as optional popup notifications.
Even if a player closes the game, mandatory warnings will reappear on the next login until confirmed.
No movement restrictions are applied.
Warnings can be sent via:
- RCON
- Server console
- In-game admin console (F1)
Performance:
AdminWarn is built with an optimized and efficient code structure, making its presence virtually unnoticeable on the server.
It runs smoothly during long uptimes and maintains stable hook memory and performance values under normal server conditions.
Wipe Behavior:
- Restarts: Data preserved (approved warnings are auto-deleted for data optimization)
- Server wipe: All warning data automatically cleared
- No manual cleanup needed (Most of the time, it is not necessary)
Commands Chat & Rcon:
Note: Player names are not unique and may include different alphabets or special characters. To avoid ambiguity, using Steam64ID is strongly recommended when sending warnings.
warn <SteamID> <message>
warn <PlayerName> <message>
warn <SteamID1>,<SteamID2>,<SteamID3> <message>
warn <Name1>,<Name2>,<Name3> <message>
warnall <message>
warnpopup <SteamID> <message>
warnpopup <PlayerName> <message>
warnpopup <SteamID1>,<SteamID2>,<SteamID3> <message>
warnpopup <Name1>,<Name2>,<Name3> <message>
warnpopupall <message>
Permissions Oxide/Carbon
oxide.grant group admin adminwarn.admin
c.grant group admin adminwarn.admin
Discord Webhook Logging
- Player name/steamid and SteamURL
- Warning message / Timestamp
- Read status (online/after reconnect)
- Logs warning sending
- Logs individual warning acknowledgements