Electus LogoElectus Documentation

Installation

Step-by-step installation guide.

Installation Steps

Please ensure you follow these steps carefully. If you are having trouble installing, please join our Discord for support.

Download the package

Download the package from Portals.

Install dependencies

Make sure oxmysql is installed and started before electus_black_market.

ox_lib should be available on the server.

Run the SQL file

electus_black_market.sql

Run electus_black_market.sql in your database. It creates:

  • electus_black_market_markets
  • electus_black_market_transactions

Add script to server.cfg

Add electus_black_market after its dependencies.

ensure oxmysql
ensure ox_lib
ensure electus_black_market

If you use Electus Gangs zone shops, start electus_gangs before this resource.

ensure oxmysql
ensure ox_lib
ensure electus_gangs
ensure electus_black_market

Configure admin access

The manager command is configured in Config.Command.Manage and defaults to:

/manage_black_market

Admin access is granted by ACE permission, the generic command ACE, or framework groups listed in Config.Admin.Groups.

Configure your black markets

Add static shops in Config.BlackMarkets or use /manage_black_market in game to edit synced markets.

Static config markets must include an id, label, npc.coords, and items.

Optional Electus Gangs integration

If Config.ElectusGangs.Enabled is true and electus_gangs is started, this resource registers a black market zone type and marker action with Electus Gangs.

Gang zone shops are only accessible by the gang that owns the connected zone. Set Config.ElectusGangs.RequirePlayerInZone = true if players must also be inside the zone.

Restart your server

Restart the server or restart the resource after changing SQL, config, or server.cfg.