Commit Graph

3 Commits

Author SHA1 Message Date
nocode 63e35a534c feat(privileges): add privilege management for admin mods
Implement privilege registration and access checking for SAM, ULX, and FAdmin admin mods.

Provides:
- Registration of bladw_warn privilege with supported admin mods
- BladW.Warn.HasAccess() function to check player permissions
- Fallback to IsAdmin() if no admin mod is detected
2026-07-20 23:29:44 +02:00
nocode fad2323ab8 feat(networkstring): add network strings for warn system communication
Initialize network strings for bladw_warn system to enable communication between client and server for opening menu, syncing player warnings, adding/removing warnings, clearing records, and announcing warnings in chat.
2026-07-20 23:29:39 +02:00
nocode 6c95e7ed6f feat(bladw_warn): add server-side warning system functions
Implement core server-side functionality for the warning system including:
- SyncTo: synchronizes connected players and their warnings to a client
- OpenFor: opens the warning menu for authorized players
- Chat commands: /warns, !warns, /warn to open the menu
- Net receivers for adding, removing, and clearing warnings
- Chat announcement system for new warnings with configurable scope (all, target, staff)
- Access control checks on all admin operations
2026-07-20 23:29:35 +02:00