Admin Commands

Administrative commands, reputation tools, and permission requirements for oxide-blackmarket.

Reference for administrative commands and permissions in oxide-blackmarket.

Commands are registered with ox_lib via lib.addCommand.

Commands

CommandDescriptionPermission
/relocatedealerForces the dealer to relocate immediatelygroup.admin
/dealerstatusShows whether the dealer is active and prints server detailsgroup.admin
/godealerTeleports you to the live dealer positiongroup.admin
/setblackmarketrepSets a player's rep valuegroup.admin
/checkblackmarketrepChecks a player's rep and tiergroup.admin

Dealer Commands

/relocatedealer

Usage:

/relocatedealer

Behavior:

  • despawns the current dealer
  • waits for cleanup
  • spawns a fresh dealer at a random configured location
  • resets dealer stock

/dealerstatus

Usage:

/dealerstatus

Behavior:

  • sends an in-game notification telling you whether the dealer is active
  • prints the active net ID, spawn index, and live coords to server console when the dealer exists

/godealer

Usage:

/godealer

Behavior:

  • teleports the admin 3 units in front of the dealer
  • uses the dealer's live position rather than the original spawn point

Reputation Commands

/setblackmarketrep

Usage:

/setblackmarketrep [playerId] [amount]

Examples:

/setblackmarketrep 1 0
/setblackmarketrep 1 350
/setblackmarketrep 1 1000

Behavior:

  • writes the new value to blackmarket_rep
  • notifies the admin on success
  • notifies the target player with the new rep and tier name

Tier thresholds:

RepTier
0-990
100-2991
300-5992
600-9993
1000+4

/checkblackmarketrep

Usage:

/checkblackmarketrep
/checkblackmarketrep [playerId]

Behavior:

  • checks your own rep if no player ID is supplied
  • returns rep, tier number, and tier name

Permissions

All admin commands are restricted to group.admin.

ACE example:

add_ace group.admin command.relocatedealer allow
add_ace group.admin command.dealerstatus allow
add_ace group.admin command.godealer allow
add_ace group.admin command.setblackmarketrep allow
add_ace group.admin command.checkblackmarketrep allow

If your server grants group.admin through your framework or permission stack already, use that existing path.

Notes

  • Config.Debug = true produces useful [oxide-blackmarket] server logs while testing.
  • /dealerstatus and /godealer are the fastest way to validate a fresh install.
  • Dealer commands operate on the live synced ped, not just the last configured spawn point.

Next Steps