Access and Database

Ped Menu uses both config-based access rules and database-backed data.

Access control

Config.WhitelistOnlyMode

If false, normal users can open the menu if they pass the other checks.

If true, only whitelisted identifiers or admins can open the menu command.

Config.PedsMustBeGranted

If true, players only see:

  • their own saved peds

  • granted ped models

If false, players can use the normal built-in and DB-added catalog flow.

Main database tables

envi_ped_menu

Stores one row per identifier for saved preferences and restore state.

envi_ped_menu_items

Stores player-linked rows such as:

  • saved peds

  • granted peds

  • custom categories

  • quick-switch bindings

envi_ped_menu_added

Stores admin-added global ped and category rows.

Runtime notes

Valid rows from the DB are merged into the ped catalog at runtime.

Invalid rows can be pruned during migration or startup cleanup.

Last updated