All posts

How to keep citizen, gang and police records for a GTA RP Discord server

CordBase Team

For a GTA RP or other city roleplay server, keep one CordBase table as a citizen registry (one row per character) and one as a gang treasury (one row per member, with a balance). Members look things up with slash commands, and leadership records payments with /gang-treasury update ... _mode:Increment. On Pro you add a stash inventory and police records the same way. It records what happens in the city; it doesn't connect to the game.

Most city servers keep this in pinned messages, a Google Sheet or a channel full of screenshots. Pinned messages break when two people edit them, sheets live outside Discord, and nobody can search a screenshot. This guide sets up searchable records inside Discord instead, using CordBase, which we build. The first two tables take about ten minutes.

If you want ID cards for your citizens, the free GTA RP ID card generator builds a text card you can paste into Discord. For names, a whitelist application and the channel and role setup, see the GTA RP name generator, the whitelist application tool and how to set up a GTA RP Discord server.

What you'll end up with

  • A /citizen-registry command (add, query, view, update, delete) holding every character in your city. It has no number column, so it gets no leaderboard.
  • A /gang-treasury command holding each member's balance and how much they've paid in.
  • On Pro, a /stash-inventory command for what a crew keeps where, and a /police-records command for arrests and citations.
  • Per-table role permissions so only the right people can change the treasury and the police records.

Step 1: Set up the citizen registry

In the dashboard, install the Citizen Registry template. It has player (member, required), character name (required), ID number, date of birth, job, phone, license (None, Car, Bike, Truck, Pilot, Weapon) and status (Active, Wanted, Jailed, Deceased). The command is named after the table, so you get /citizen-registry.

Installing a template also adds one or a few example rows, marked "Edit or delete it". Delete them once you've seen how they look, because they count toward Free's 100 rows per table.

/citizen-registry add player:@Mara character_name:Mara Vance id_number:LS-20431 job:Mechanic license:Car status:Active

/citizen-registry query status:Wanted lists every wanted character. Query shows the newest rows first (10 by default, up to 25 with limit) and only the first four columns, so use view to see a whole row. Dates are stored as text, so type them as YYYY-MM-DD.

Commands like view and update pick a row from a list that shows the table's first text column, here the character name, so a player with two characters gets one line for each.

Step 2: Add the gang treasury

Install the Gang Treasury template: street name (required), member (member, required), rank, balance (number, required), total contributed (number), last payment (date) and notes. Free plans include two tables, so the registry plus the treasury fits.

Street name comes first because commands pick a row by the table's first text column, so you choose a member by their street name.

/gang-treasury add street_name:Ghost member:@Mara rank:Enforcer balance:0 total_contributed:0

You can leave total contributed blank: _mode:Increment treats an empty number as 0.

To record a payment of 500, run:

/gang-treasury update row:Ghost balance:500 total_contributed:500 last_payment:2026-11-09 _mode:Increment

_mode applies to every number in the command, so balance and total contributed both go up by 500, and the date is simply set. Use _mode:Decrement with only balance when a member spends from their share. Two updates at the same moment both count, because the change is applied to the stored value.

/gang-treasury leaderboard column:total_contributed ranks members by how much they've paid in, highest first, labelled with each street name.

Balances only change when someone runs a command. There's no weekly dues, no interest and no transfer between members, and nothing stops a balance going below zero.

Step 3: Lock down who can write

New tables let every member do everything, including delete. That's fine for testing and bad for money or police records. On each table's permissions in the dashboard:

  • Give the role all members have (for example @Citizen) Read. They can run query, view and leaderboard.
  • On the gang treasury, give gang leadership Write so they can add and update. On the citizen registry, staff or a city hall role usually gets write.
  • Keep Admin (delete, plus bulk edits on Pro) for server staff.

Permissions are per table, not per row. Write covers every row, so a member with write on the treasury can change anyone's balance, and you can't limit a player to editing only their own character. Once a table has any role set, members without one of those roles can't use it at all. Anyone with Discord's Administrator permission keeps full access.

Step 4: Stash inventory and police records (Pro)

Two tables is the Free limit. Pro ($8/month) removes the table limit, so you can add both of these.

Install Stash Inventory: item (required), category (Weapon, Ammo, Drugs, Materials, Vehicle parts, Other), quantity (number, required), location and last updated by (member).

  • /stash-inventory add item:Pistol ammo category:Ammo quantity:200 location:Grove St garage last_updated_by:@Mara
  • /stash-inventory update row:Pistol ammo quantity:50 _mode:Decrement records ammo taken out.
  • /stash-inventory query location:Grove lists one stash. Text filters match part of the value, ignoring case.

Install Police Records: suspect (required), offense (required), officer (member), date, fine (number), jail months (number) and status (Open, Closed, Warrant). Give your police role Write and everyone else Read, or no access at all if records should stay inside the department.

  • /police-records add suspect:Tony Russo offense:Armed robbery officer:@Kade date:2026-11-09 fine:2500 jail_months:12 status:Open
  • /police-records query status:Warrant lists open warrants.
  • /police-records leaderboard column:fine ranks the biggest fines.

The suspect is typed as text, because many suspects are characters rather than members. Repeat offenders get one row per record, so add a case number to the name, such as Tony Russo (case 14), to tell them apart in the row picker.

What CordBase can't do

CordBase has no connection to FiveM or any game server, so nothing in the city updates a table on its own: arrests, payments and stash runs are typed in by people. Balances don't change unless someone runs a command. The bot shows text only, so CordBase doesn't show images, mugshots or ID card graphics. Commands are always the table name plus one of the fixed actions, so you can't make a custom /arrest or /pay. It doesn't read messages, so typing "paid 500" in chat does nothing. If you want a points economy that members earn and spend, use an economy bot. A FiveM resource is the right tool if records must live in the game itself.

For shops, per-character inventories and a bank with loans, see the roleplay shop and inventory guide.

Limits worth knowing

  • Free: 2 tables, 100 rows each. Pro ($8/month): unlimited tables, 10,000 rows per table and bulk edits. Max ($15/month): 50,000 rows. CSV and JSON export is on every plan. See pricing.
  • Up to 25 columns per table. Tables are designed on the web, not from Discord.
  • No change history: view shows who created a row and when it last changed, not the old values. If you need a trail, add a table with one row per payment.
  • See the commands reference for every option.

Templates and free tools for this guide

Questions people ask

Does CordBase sync with FiveM or read anything from the game?

No. CordBase is a Discord bot with no connection to your game server. Staff or members record what happened in the city with slash commands, and the tables hold exactly what was typed.

Can gang members pay into the treasury themselves?

Only if you give them write access, and write covers every row, so they could change anyone's balance. The usual setup is Read for members and Write for gang leadership, who run /gang-treasury update ... _mode:Increment when a payment happens in the roleplay. No money moves and nothing is charged.

Does this fit on the free plan?

The citizen registry and gang treasury do, since Free allows 2 tables with 100 rows each. Stash inventory and police records as third and fourth tables need Pro at $8/month, which removes the table limit.

Will this work for GTA 6 RP?

The records are game-independent: they hold what people type for any Discord-run roleplay community. That doesn't mean GTA 6 RP servers exist today, and CordBase has no connection to the game.

Try CordBase on your server. Free for 2 tables, no card needed.