Conflict Roleplay
CheckingManagement · Head Developer
Conflict Roleplay is a FiveM RP Server, I am the head developer and manager of the server.
LUATailwindCSSTypescriptFiveMDiscordJS

Uptime
Embed a status badge
[](https://tomdev.xyz/status)<a href="https://tomdev.xyz/status"><img src="https://tomdev.xyz/badge/conflict-roleplay.svg" alt="Conflict Roleplay status"></a>Overview
The player and staff dashboard for Conflict Roleplay, a FiveM roleplay server. Players sign in with Discord, pick a character and manage everything from their inventory and vehicles to gangs, races and properties, while staff run the server from the same site.
The problem
Players could only see their character's data in-game, and staff had to be in-game to handle inventories, bans, compensation and gang admin. Every request turned into a ticket and a manual fix.
How it's built
- Next.js App Router with API routes that read the server's MySQL database directly through a mysql2 pool.
- A custom FiveM resource, jk_dashboard, exposes HTTP endpoints so the dashboard can give items, kick, ban and teleport players live on the server.
- NextAuth with Discord sign-in, matched to in-game players by their Discord identifier, followed by a character picker for multi-character accounts.
- Role-based staff permissions stored in the database, shared with jk_admin, an in-game admin menu that mirrors the dashboard.
- Developer tools generate config for QBX jobs, gangs, vehicles, items, shops, stashes and weapons.
Architecture
- Players and staff
- App
- Bridge
- Game server
Dashboard: Players sign in with Discord, pick a character and manage their inventory, vehicles, gangs and races. Staff use the same site.
Features
- Character overview with XP, skills and arena ranks
- Inventory, banking, vehicles, garages and properties
- Player-to-player vehicle trades
- Gang management with members, permissions, logs and wars
- Races, racing laptop, casino, phone and tablet data
- Compensation requests reviewed by staff
- Staff panel: give items or money, revive, freeze, teleport, kick, ban, delete vehicles and impersonate players
- Audit logs for every staff action
- Community forums with topics, threads and profiles