Two Admin Scripts That Saved Me Hours of Server Management in QBCore
The problem with managing a live RP server Running a QBCore RP server means dealing with two recurring headaches: Players get stuck in the wrong job, or you need to assign roles fast during a sessi...
The problem with managing a live RP server Running a QBCore RP server means dealing with two recurring headaches: Players get stuck in the wrong job, or you need to assign roles fast during a session — and doing it through the database or existing admin menus is slow. Inactive players accumulate in the database over months. Ghosts with vehicles, characters, and data that will never be used again. I built two scripts to solve both: lokat_adminjob for real-time job management, and lokat_cleanup for database pruning. lokat_adminjob — Job assignment from a UI panel The idea is simple: open a panel with a command, pick a player from the online list, pick a job and grade, and apply it instantly. No database queries, no server restarts, no fumbling through existing admin menus. Permission system The script checks permissions in two layers — txAdmin ACE first, then QBCore's native admin/god flags. This means it works whether you're running a txAdmin-managed server or a vanilla QBCore setup. lo