Economy

The Economy tab tracks snapshots and alerts from the server economy.

Economy Snapshots

Snapshots can include:

  • Player count
  • Total cash
  • Total bank
  • Total dirty money
  • Total inventory value
  • Richest player
  • Richest player identifier
  • Top richest players metadata

Economy Alerts

Alerts can track:

  • Alert type
  • Severity
  • Player name
  • Player identifier
  • Amount
  • Message
  • Status

Statuses:

  • Open
  • Reviewing
  • Resolved

Severities:

  • Info
  • Warning
  • Critical

Enable Economy Sync

In fiveops_connector/config.lua:

Config.DatabaseSync = true
Config.EconomySync = true
Config.EconomyTable = 'players'
Config.EconomyDirtyMoneyItemsEnabled = true

Restart the connector or run:

fiveops_sync_economy

Dirty Money Items

Configure dirty money item names:

Config.EconomyDirtyMoneyItems = {
  'dirty',
  'dirtymoney',
  'dirty_money',
  'black_money',
  'blackmoney',
  'markedbills',
  'marked_bills',
  'markedbill'
}

Custom Schemas

Use Config.EconomyQueries for custom databases. Queries can return:

  • player_identifier
  • player_name
  • first_name
  • last_name
  • cash
  • bank
  • dirty
  • money_json
  • accounts_json
  • inventory_json