GR1M Docs

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.

v1.0.0Needs oxmysql, ox_lib, qbx_core, GR1M_UltraBoss

#Install

  1. ensure GR1M_Mayor after GR1M_UltraBoss and GR1M_Licenses.
  2. Restart the server fully (qbx_core picks up the new mayor grades on boot).
  3. In game: /mayoradmin (ace command) → Places → place the Mayor desk, duty point, ballot booth, petition stand and records terminal at Rockford Hills City Hall.
  4. Office & elections → swear in the first Mayor by server ID, or call an election.

#Positions (mayor job in qbx_core)

GradeOfficePowers
4MayorSigns every payment, sets taxes, split and salaries, pardons, appoints anyone, enacts ordinances
3Deputy MayorSets taxes and split, drafts payments, issues business licenses, signs while the seat is empty
2Chief of StaffDrafts payments, appoints/dismisses Aides, posts notices
1TreasurerDrafts payments
0AideDrafts 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

#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.