Mayor
Elected mayor job for your city. City Hall runs the treasury (the gov society in GR1M_UltraBoss), city taxes and their split, treasury-paid salaries, pardons, business licenses, ordinances, public notices, elections and recalls. All screens look like official City of Los Santos documents.
#Install
ensure GR1M_MayorafterGR1M_UltraBossandGR1M_Licenses.- Restart the server fully (qbx_core picks up the new mayor grades on boot).
- In game:
/mayoradmin(acecommand) → Places → place the Mayor desk, duty point, ballot booth, petition stand and records terminal at Rockford Hills City Hall. - Office & elections → swear in the first Mayor by server ID, or call an election.
#Positions (mayor job in qbx_core)
| Grade | Office | Powers |
|---|---|---|
| 4 | Mayor | Signs every payment, sets taxes, split and salaries, pardons, appoints anyone, enacts ordinances |
| 3 | Deputy Mayor | Sets taxes and split, drafts payments, issues business licenses, signs while the seat is empty |
| 2 | Chief of Staff | Drafts payments, appoints/dismisses Aides, posts notices |
| 1 | Treasurer | Drafts payments |
| 0 | Aide | Drafts ordinances and notices |
Powers only work on duty (duty point). qbx pay is 0; salaries are paid from the treasury every paycheck cycle to on-duty officials, capped per paycheck.
#How the pieces connect
- Taxes: GR1M_UltraBoss multiplies each tax line by
exports.GR1M_Mayor:GetTaxMultipliers()and splits revenue withGetTaxSplit(). Without GR1M_Mayor running, UltraBoss usesconfig/taxes.lua. - Pardons:
exports.GR1M_Licenses:ClearFelonies(clears the FELON tag). Warrants and MDT records are untouched. - Business licenses:
exports.GR1M_Licenses:Grant(cid, 'business'). - Playtime to vote:
exports.GR1M_Referrals:GetPlaytimewhen that resource runs. - Phone: lb-phone custom app "City Hall" (
web/phone.html). - Corruption: self-dealing is allowed but flagged in the admin audit and webhook. FIB/marshals see the ledger by serving a subpoena at the records terminal; the Mayor's office is notified.
#Admin (/mayoradmin)
Settings (every number, departments and shares, salaries, subpoena jobs, webhook, recall toggle), Business tax (on/off, schedule, free weeks, relief limit, base rate per trade, each business's trade or Not taxed, forgive unpaid tax, end relief, run now), Places, Office & elections (swear in, remove, change term, call/advance/cancel election, declare a tie winner), Audit (full log with flagged entries, subpoenas).
#Tables
gr1m_mayor_settings, _points, _requests, _ledger, _audit, _pardons, _ordinances, _notices, _subpoenas, _elections, _candidates, _votes, _recalls, _recall_marks, _biztax. Created on boot.
GR1M