Administrator Guide
This guide covers the admin-facing features of ARS Hud V3, including announcements, event notifications, built-in chat channels, and permission setup.
Table of Contents
Section titled “Table of Contents”- Permissions Setup
- Server Announcements
- Event Notifications
- Built-in Chat Channels
- Player Count Display
- Troubleshooting
1. Permissions Setup
Section titled “1. Permissions Setup”ARS Hud V3 admin commands use ACE permissions combined with framework admin checks.
Configure the ACE Permission
Section titled “Configure the ACE Permission”Add the following to your server.cfg or admin ACL configuration:
add_ace group.admin admin allowThe default ACE permission is admin. You can change it per command in config.lua:
Config.AdminCommands.announce.acePermission = 'admin'Config.AdminCommands.eventnotify.acePermission = 'admin'How Admin Detection Works
Section titled “How Admin Detection Works”The HUD checks admin status in two ways:
- ACE permission — the player must have the configured permission string
- Framework check — the framework must also recognize the player as admin (e.g., QBCore group
admin,superadmin, orgod; ESX groupadminorsuperadmin)
Both checks must pass for admin commands to work.
Tip: If your framework uses a different group name, update
acePermissionin the config to match.
2. Server Announcements
Section titled “2. Server Announcements”Announcements display a styled banner across all players’ screens.
Send an Announcement
Section titled “Send an Announcement”Use the /announce command in chat:
/announceThis opens an input dialog with the following fields:
| Field | Description |
|---|---|
| Type | Choose Success, Warning, or Error |
| Title | Announcement title |
| Message | Announcement body text |
| Duration (ms) | How long the banner stays visible (in milliseconds) |
Send from a Script
Section titled “Send from a Script”You can also trigger announcements from server-side code:
TriggerClientEvent('ars_hud:showAnnouncement', -1, 'Server Update', 'New features added!', 'success', 10000)Or from client-side:
exports['ars_hud']:ShowAnnouncement('Restart', 'Server restarting in 5 minutes', 'warning', 10000)Configure Announcement Sounds
Section titled “Configure Announcement Sounds”Announcements can play themed sounds when they appear. Control this in config.lua:
Config.ThemeSounds = { enabled = true, announcementVolume = 0.7,}3. Event Notifications
Section titled “3. Event Notifications”Event notifications show a card with a countdown timer and optional image.
Send an Event Notification
Section titled “Send an Event Notification”Use the /eventnotify command in chat:
/eventnotifyThis opens an input dialog:
| Field | Description |
|---|---|
| Title | Event title |
| Message | Event description |
| Timer (seconds) | Countdown timer duration |
| Image URL (optional) | URL for an event image |
Send from a Script
Section titled “Send from a Script”From server-side:
TriggerClientEvent('ars_hud:showEventNotification', -1, 'Airdrop', 'Supply drop incoming!', 60, 'https://example.com/image.png')From client-side:
exports['ars_hud']:ShowEventNotification('Airdrop', 'Supply drop incoming!', 60, 'https://example.com/image.png')4. Built-in Chat Channels
Section titled “4. Built-in Chat Channels”When Config.EnableBuiltInChat is true, the HUD replaces the default FiveM chat with a custom system that supports multiple channels.
Chat Commands
Section titled “Chat Commands”| Command | Channel | Range | Description |
|---|---|---|---|
/ooc |
All | Server-wide | Out-of-character message |
/me |
Proximity | 20 meters | Action message |
/do |
Proximity | 20 meters | Description message |
/try |
Proximity | 20 meters | Action with random success or fail |
/jobmsg |
Job | Same job only | Message to coworkers |
/staffmsg |
Admin | Admins only | Staff communication |
/twt |
Server-wide | Post a tweet (140 char max) |
Disable Built-in Chat
Section titled “Disable Built-in Chat”If you prefer the default FiveM chat or a third-party chat resource:
Config.EnableBuiltInChat = falseWarning: If you disable the built-in chat, remember to add
ensure chatback to yourserver.cfgso the default FiveM chat resource starts.
Chat Setup Checklist
Section titled “Chat Setup Checklist”When using the built-in chat, make sure your server.cfg is configured correctly:
- Remove or comment out
ensure chat— ARS Hud V3 stops the default FiveM chat automatically, butensure chatwill restart it - Download and install
ars_chat_bridgefrom portal.cfx.re — this caches command suggestions from other resources (like/dispatch,/ticket, etc.) and forwards them to the built-in chat. Without it, only the HUD’s own commands will show suggestions - Add
ars_chat_bridgeat the top of yourserver.cfgso it caches suggestions before the HUD starts - Add the ACE permission so
ars_hudcan stop the default chat resource
# --- ARS Chat Bridge (must load first) ---ensure ars_chat_bridge
# --- Other resources ---ensure ox_libensure xsound
# --- ACE Permissions ---add_ace resource.ars_hud command.stop allow
# --- ARS HUD ---ensure ars_hud5. Player Count Display
Section titled “5. Player Count Display”The HUD can show the current online player count and max player limit.
Configure
Section titled “Configure”Config.LuaHudSettings.client_info.server_info.showOnlinePlayers = trueConfig.LuaHudSettings.client_info.server_info.name = 'Your Server Name'The player count is polled at the interval set in:
Config.RefreshTimes.requestPlayerCount = 30000Tip: The max player count reads from the
sv_maxclientsconvar automatically.
6. Troubleshooting
Section titled “6. Troubleshooting”Admin commands say “no permission”
Section titled “Admin commands say “no permission””- Check that the player has the ACE permission configured in
Config.AdminCommands - Verify the framework recognizes the player as admin
- Both ACE and framework checks must pass
Announcements do not appear
Section titled “Announcements do not appear”- Ensure
Config.AdminCommands.announce.enabled = true - Check that theme sounds are not causing errors if
Config.ThemeSounds.enabled = true - Verify the
xsoundresource is running
Built-in chat not showing messages
Section titled “Built-in chat not showing messages”- Confirm
Config.EnableBuiltInChat = trueinconfig.lua - Check that
ensure chatis removed from yourserver.cfg— the default chat resource will conflict if it restarts - Verify
add_ace resource.ars_hud command.stop allowis in yourserver.cfg— without this ACE permission,ars_hudcannot stop the default chat resource - Download and install
ars_chat_bridgefrom portal.cfx.re and place it at the top of yourserver.cfgfor command suggestions - Proximity messages (
/me,/do,/try) only work within 20 meters
Player count not updating
Section titled “Player count not updating”- Set
Config.LuaHudSettings.client_info.server_info.showOnlinePlayers = true - Lower the refresh interval if needed:
Config.RefreshTimes.requestPlayerCount = 15000
NOS not working
Section titled “NOS not working”- Verify
Config.Nitro.active = trueinconfig.lua - Check that the vehicle has a turbo upgrade (slot 18) if
Config.Nitro.requireTurbo = true - Ensure the vehicle class is not in
Config.Nitro.blockedClasses(motorcycles, boats, etc.) - Use
/refillnosto test — the command requires the player to be in a vehicle as driver
Quick Reference
Section titled “Quick Reference”| Command | Description |
|---|---|
/announce |
Send a server-wide announcement |
/eventnotify |
Send an event notification with timer |
/refillnos |
Instantly refill NOS to 100% |
/hudsettings |
Open HUD settings |
/resethudpos |
Reset all HUD positions |
/cinematic |
Toggle cinematic mode |
Need Help?
Section titled “Need Help?”- Check the Configuration page for all available settings
- Check the Exports page for scripting integration
- Verify all required dependencies are running before
ars_hud
Note: This guide is written by a third party. If you find any incorrect or outdated information, please contact us on Discord so we can update it for you.