All tutorials
Admin Commands

Manage citizen items and money with administrator commands

Add or remove inventory items and main-account money from a citizen's active CoreRP character.

CoreRP SystemsJuly 26, 20263 min read
Illustrated cover for Manage citizen items and money with administrator commands

Manage citizen items and money with administrator commands

Add or remove inventory items and main-account money from a citizen's active CoreRP character.

Before you begin

  • Discord Manage Messages makes /admin available by default. You also need the server's exact CoreRP Moderator role and access to /admin in the current channel.
  • The target needs an active citizen. Money commands also require a main bank account.
  • Create items in Create and configure inventory items, and set the currency in Configure the CoreRP economy and bank.
  • If the server uses Core log, CoreRP needs View Channel, Send Messages, and Embed Links there.

These commands change citizen data immediately. Confirm the target, item, quantity, and amount before sending them.

Add or remove an item

/admin item add target:<member> item:<item> count:[integer]
/admin item remove target:<member> item:<item> count:[integer]
  • target is required and selects the member whose active character changes.
  • item is required. Add suggests configured items and accepts a custom name through Use value. Remove lists the selected target's current items, so choose target first.
  • count is optional, defaults to 1, and must be at least 1. Add reduces values above 100 to 100; Remove cannot exceed the quantity held.
  1. Enter the add or remove command, then choose target and item. Add count when changing more than one.

  2. Send the command. CoreRP privately confirms the item, target, and changed quantity. If Core log is configured, it also records the change there.

    Discord administrator confirmation after adding one Alcohol Item
  3. Ask the target to check their inventory.

Leave enough inventory space for the added item. Prefer a configured autocomplete choice.

Add or remove money

/admin money add target:<member> amount:<number>
/admin money remove target:<member> amount:<number>
  • target is required and selects the active character's main account.
  • amount is required, must be at least 0.01, and is rounded to two decimal places.
  • Remove requires enough money in the main account.
  • CoreRP displays the configured Economy currency without converting the entered amount.
  1. Enter the add or remove command, choose target, and enter amount.

  2. Send the command. The public result shows the amount, new balance, and administrator.

  3. The target can confirm the change with View your balance and pay another citizen. CoreRP also attempts to direct-message the target and write a Core log entry.

Troubleshooting

  • /admin is unavailable — confirm Discord Manage Messages and the server's command permissions.
  • You do not have permission to use this command! — assign the exact configured CoreRP Moderator role.
  • A disabled, channel-access, or cooldown response — enable /admin, use an allowed channel, or wait for the displayed cooldown before retrying.
  • The target user does not have a citizen ID created. — ask the target to select a character. For money, also confirm it has a main bank account.
  • Weight limit exceeded or insufficient item quantity — lower count and compare the selected item with the target's inventory.
  • The user does not have enough money. — lower the removal amount or check the main-account balance.

Next steps

Continue with Update a citizen's identity fields or add and remove citizen vehicles.

Manage citizen items and money with administrator commands