RAC-Core Documentation (FiveM)
RAC-Core connects your FiveM server to a secure web console for moderation, player insights, and support workflows. These docs walk you through setup, configuration, and daily operations.
- Create a server in the panel to get your Server ID and token.
- Install the RAC-Core FiveM resource and update config.lua.
- Restart the server. You will see your players in the console within minutes.
- Subscribe in Billing and assign the subscription to your server.
Install
Drop the resource into your server and ensure it starts:
# server.cfg ensure fivem-resource
Configuration
Edit fivem-resource/server/config.lua:
Config.ApiBase = "https://your-domain.com/api/v1" Config.ServerId = "YOUR_SERVER_ID" Config.ServerToken = "YOUR_SERVER_TOKEN" Config.Framework = "AUTO" Config.PollIntervalMs = 5000 Config.EnforceModeration = true Config.AntiVpnEnabled = false
Fine-tune security policies (allowlists, risk scoring, chat flood protection, command lockdown) in Panel > Configuration. Panel settings override resource defaults.
Enforce moderation: apply bans and kicks from RAC-Core directly in-game.
Anti-VPN: flag or block VPN/proxy users (still visible on profiles even if disabled).
Whitelist only: only allow identifiers on your allowlist to connect.
Ban evasion & banned identifier match: detect ban evasion by IP/identifiers, then block or flag.
Join protection: join cooldowns and per-IP join windows to limit join floods.
Risk scoring: weighted model that combines VPN, ban evasion, join floods, new players, and identifier reuse.
Chat protection: auto-mute on chat flood; mute events are logged to the audit log.
Command lockdown: owner-only execution for custom commands.
Allowlists: identifier and IP allowlists with CSV import/export.
Webhook: send security alerts to a webhook URL for staff visibility.
VPN action: Block denies join immediately. Flag only records an audit entry.
Ban evasion: Compares IPs against recently banned players and blocks/flags accordingly.
Banned identifier match: If a joining player shares identifiers with a banned user, block/flag based on setting.
Join cooldown: Prevents the same IP from rejoining too rapidly.
Join window: Counts joins within the window to detect join floods.
Risk threshold: If combined risk weights exceed the threshold, the risk action is applied.
New player window: Treats fresh players (by first seen time) as higher risk.
Identifier reuse: Raises risk if identifiers appear across multiple players in a short window.
Chat flood threshold/window: Exceeding this triggers auto-mute and audit log entry.
RAC-Core uses sv_licenseKeyToken to bind a resource instance to a single server ID. Make sure your FiveM license key is set so the token is available.
Using the panel
- Overview: server stats, quick actions, and world controls (Pro/Premium).
- Players: live list, history, character snapshots, notes, and playtime.
- Player profiles: VPN/proxy flag plus recent chat/command history.
- Moderation: warn, kick, ban, commend with logs and actor attribution.
- Help/Reports: assign requests, reply in a chat view, change status.
- Configuration: manage the API token and tune security settings.
- Billing: manage subscriptions and assign them to servers.
Billing & subscriptions
Account required: subscriptions are tied to your RAC-Core account and require at least one server.
One server at a time: each subscription can be assigned to one server only.
Cooldown: you can reassign a subscription to a different server once every 30 days.
Auto-renew: active subscriptions auto-renew on Stripe until canceled.
Immediate downgrade: if Stripe marks the subscription inactive, the server drops to Free immediately.
Open Panel > Billing to purchase Pro/Premium and assign it to your server.
Feature guide
Warn, kick, ban, commend. Offline bans persist and block logins.
Staff notes attach to a player profile and appear for all staff.
Block VPN/proxy users when enabled and log VPN status per player.
Last 10 chat messages and commands stored per player profile.
Allowlist/blocklist identifiers, join cooldowns, ban evasion checks, and risk scoring.
Chat flood detection with auto-mute and security audit alerts.
Every action is recorded with actor display names and timestamps.
Players request help in-game, staff respond in the panel.
Time and weather controls for Pro/Premium plans.
Define commands and execute with JSON payloads.
Custom commands
Create commands in Panel > Commands.
Label: "Restart Server"
Command: "restart_server"
Arguments: {"delay":60,"reason":"Maintenance"}Your FiveM resource must implement a handler for the command name you define.
In-game commands
/help <message> - Create a help request (player).
/hreply <message> - Reply to your open help request (player).
/report <player id> <message> - Report a player (player).
/rreply <player id> <message> - Reply to your report (player).
/freeze <id> / /unfreeze <id> - Staff freeze commands.
Framework differences
- Standalone: single character, health/armor only. No hunger/thirst or last name.
- ESX: job, money/bank, hunger/thirst (requires esx_status).
- QBCore/QBOX: job, cash/bank, hunger/thirst from metadata.
Troubleshooting
Players not showing: confirm server ID/token and check resource console logs.
403/401 errors: verify JWT token and make sure the user is staff/owner.
Commands not visible: premium plan required for custom commands.
Live map not visible: premium plan required for map access.
Framework data missing: set Config.Framework = "AUTO" and ensure framework resources are running.
Anti-VPN not blocking: set Config.AntiVpnEnabled = true, then verify your security policy in Panel > Configuration.
Billing not available: open Panel > Billing and confirm your subscription is active and assigned to this server.