All tutorials
Admin Commands

Add and remove vehicles with administrator commands

Use /admin garage to add an unregistered vehicle to a member or remove one by its plate or generated ID.

CoreRP SystemsJuly 26, 20262 min read
Illustrated cover for Add and remove vehicles with administrator commands

Add and remove vehicles with administrator commands

Use /admin garage to add an unregistered vehicle to a member or remove one by its plate or generated ID.

Before you begin

  • Complete CoreRP setup.
  • Discord Manage Messages is the default permission for /admin. You also need the configured CoreRP Moderator role.
  • The server's /admin enabled, channel or role access, and cooldown rules must allow the command.
  • The target member needs an active citizen ID.
  • If the server uses a Core log channel, CoreRP needs View Channel, Send Messages, and Embed Links there.

For a member with multiple characters, confirm the intended active character before changing vehicles. Confiscated vehicles are hidden from these commands.

Add a vehicle

/admin garage add user:<member> vehicle:<text> color:[text]

user and the free-text model name in vehicle are required. color is optional and displays as Unknown when omitted.

  1. Run /admin garage add, select user, enter vehicle, and optionally enter color.

  2. Confirm the public result. It shows ID, Model, Color, Owner, Status, and Administrator. The new vehicle has no plate and is Unregistered.

    Discord administrator result for adding an unregistered Averon Q8 2022 in Midnight Blue
  3. Copy the generated ID. You need it to remove an unregistered vehicle with no plate.

Remove a vehicle

/admin garage remove user:<member> plate:<plate-or-ID>

Both options are required. user selects the owner. plate accepts an exact plate or generated ID without case sensitivity; it has no autocomplete.

  1. Run /admin garage remove, select user, and enter the plate or ID in plate.

  2. Confirm the public result. It shows Model, Plate, Color, Status, and Administrator.

    Discord administrator result showing the approved Averon Q8 2022 with plate RIV-204 was removed
  3. Ask the member to run /garage show and confirm the vehicle is gone.

After either success, CoreRP also sends the result to the member by direct message and tries to add a Core log entry.

Troubleshooting

  • /admin is unavailable — confirm Manage Messages and the server's Discord command permissions.
  • You do not have permission to use this command! — assign the configured Moderator role.
  • You do not have permission to use this here., This command is currently disabled., or a cooldown message — use an allowed channel or role, enable /admin, or wait.
  • The target user does not have a citizen ID created. — ask the member to create or select the intended character.
  • @member has no vehicles in the garage or has no citizen ID created. — confirm the active character and its visible garage.
  • Vehicle with plate/ID ... was not found in the garage of @member. — check the exact plate or generated ID. Confiscated vehicles are unavailable.

Next steps

Continue with Register or edit a vehicle.