Jump to content

4 Screenshots

  • 174
  • 10
  • 34.51 kB

About Admin Warn

AdminWarn sends an admin-defined text warning through a standardized GUI with a warning sound.
Warnings can be sent via RCON or in-game chat. Player acknowledgment is expected. If the player closes the game or presses ESC, the warning will be shown again until it is acknowledged. No hard movement lock is applied.

For single-target warnings, messages can also be sent to offline players and are stored until the player reconnects. Discord webhook logs record whether the warning was acknowledged while the player was online or after reconnecting. Global warnings apply only to online players and do not generate any Discord logs to prevent rate limits.

 


💡How It Works

1) Admin sends warning (chat/RCON) → Message is delivered via GUI with sound
2) Player must acknowledge → Cannot play until clicking button (No movement lock, only a visual GUI barrier)
3) Offline player support → Warnings sent to offline players are saved and displayed via GUI when they join
4) Data management → Auto-clears on wipe


✨ Key Features

- GUI warning that requires player confirmation
- Works online/offline - Warnings save for offline players
- Global warnings - Warn all online players at once
- Discord logging - Track acknowledged warnings
- Wipe detection - Auto-clear data on server wipe
- Professional interface - Clean GUI with sound effects
- UTC-based date display - All timestamps are shown in UTC (Coordinated Universal Time)
 

🔄 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

➤ Admin Chat Commands:

/warn <player>|<steam64ID> <message>
/warnall <message>

➤ Console/RCON Commands:

warn <player>|<steam64ID> <message>

warnall <message>
 

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.



🔐 Permissions Oxide/Carbon

oxide.grant group admin adminwarn.admin
c.grant group admin adminwarn.admin


📊 Discord Webhook Logging

When enabled, sends acknowledgement logs to Discord:

✅ Player name

✅ Warning message

✅ Read status (online/after reconnect)

✅ Timestamp

❌ Does NOT log warning sending (only acknowledgements)

❌ Does NOT log global warning acknowledgements (due to DC rate limits)


⚙️ Configuration
 

{
  "Clear data on wipe": true,
  "Discord Log Enabled": false,
  "Discord Webhook URL": "",
  "Show Date in GUI": true,
  "Warning sound": "assets/prefabs/building/wall.frame.shopfront/effects/metal_transaction_complete.prefab"
}


🔠 Lang/en

{
  "NoPermission": "You don't have permission to use this command.",
  "WarnUsage": "Usage: /warn <player name or steamid> <message>",
  "PlayerNotFound": "Player not found. Use SteamID for offline players.",
  "DuplicateWarning": "Duplicate warning prevented for player {0}",
  "WarningSent": "Warning sent to {0}: {1}",
  "WarningSaved": "Warning saved for offline player {0}.",
  "WarnAllUsage": "Usage: /warnall <message>",
  "WarnAllSent": "Global warning sent to {0} online players: {1}",
  "ConsoleWarnUsage": "Usage: warn <player name or steamid> <message>",
  "ConsoleWarnAllUsage": "Usage: warnall <message>",
  "AcknowledgeThanks": "Thank you for acknowledging the warning.",
  "GuiTitle": "SERVER WARNING",
  "GuiButtonText": "✔ I ACKNOWLEDGE",
  "GuiDatePrefix": "Date",
  "GuiWarningFormat": "Hello {0}, you have received a warning."
}

 


fullwiped's Collection

User Feedback

2.1m

Downloads

Total number of downloads.

9.9k

Customers

Total customers served.

144.6k

Files Sold

Total number of files sold.

3.1m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.