Skip to main content
The /aptmanager command opens a themed NUI panel for managing everything without restarting the resource.

Permissions

/aptmanager is admin-only. A player can open it once you give them the apartments.admin permission (FiveM calls this an “ace”). Add the line(s) below to your server.cfg. Quickest setup - most servers already have an admin group, so give that whole group access in one line:
Anyone in your admin group can now use the panel. Done. Granting it to one specific person instead (no group needed) - use any one of their IDs:
To find someone’s IDs, type getplayeridentifiers <their server id> in the server console and copy the line that starts with license:. Players without the permission get a “no permission” message and the panel stays shut.
For the technically curious: access is checked against the apartments.admin ace, not command.aptmanager. The /aptmanager command is registered unrestricted and gated server-side by that ace.

Tabs

Lists every apartment, grouped by motel. Each row shows:
  • Apartment number
  • Label
  • Current occupant (if any)
  • Tier badge (T2 / T3)
  • Type badge (MLO / IPL)
Per-room actions:
  • Set Waypoint - drops a waypoint to the apartment door
  • Teleport to Door - admin teleport to the exterior
  • Teleport Inside - admin enter the apartment
  • Transfer Resident - move the current occupant to a different free slot
  • Change Motel Group - reassign to a different motel
  • Change Tier - switch the room’s tier
  • Rename - change the room’s label
  • Delete Room - two-click confirm to remove
Add Room: click + Add Room to open the form. Use the 🎯 Pick buttons to grab your character’s current position for the Door, Exit, and (MLO only) Interior/Stash coordinates.

Adding a new apartment

1

Open the admin panel

Run /aptmanager in-game.
2

Click + Add Room

Bottom of the Rooms sidebar.
3

Fill in basic fields

  • Label - e.g., “Room 42”
  • Motel Group - pick from your existing groups, or leave as “None”
  • Tier - 1 (free), 2, or 3
  • Room Type - IPL or MLO
4

Pick the door coordinates

Walk to where the player should interact with the door, then click 🎯 Pick. For MLO doors, this also auto-detects the door prop hash.
5

Pick the exit coordinates

Walk to where the player should land when they leave. Click 🎯 Pick.
6

(MLO only) Pick the interior spawn point

Walk to where the player should land when entering the MLO. Click 🎯 Pick.
7

(Optional, MLO only) Pick the stash location

Walk to where you want the storage interaction zone. Click 🎯 Pick.
8

Submit

Click Add Room. The new apartment is saved to data/apartments.json and door zones spawn immediately for all online players.

Adding a new motel group

1

Switch to the Groups tab

Top of the admin panel.
2

Click + Add Group

Opens the group form.
3

Fill in fields

  • Group ID - e.g., pink_cage (lowercase, underscores)
  • Display Name - e.g., “Pink Cage Motel”
  • Transfer Cost - what players pay to move into this motel
  • NPC Model - ped model name (e.g., s_m_m_gentransport)
  • NPC Position - use 🎯 Pick to grab your current position + heading
  • Tiers - add the tier IDs that players can transfer into at this motel
4

Save Group

The clerk NPC spawns immediately. Players can now interact with them to transfer apartments.

Live changes

All changes via the admin panel take effect immediately. No resource restart required:
  • Adding a room → door zones spawn for all clients
  • Adding a group → NPC spawns + clerk blip appears
  • Changing a tier → billing recalculates for the next cycle
  • Renaming → label updates everywhere

Data persistence

The admin panel writes to JSON files in the resource:
  • data/apartments.json
  • data/motel_groups.json
These are auto-managed. Don’t edit them by hand - use /aptmanager.
You can copy these JSON files between servers to clone your apartment setup.

Re-theming

Change the accent colour in server.cfg:
Restart the resource - entire admin panel + 3D markers re-theme.