Player Trading Stores
1. Overview
2. Requirements & Dependencies
Example server.cfg order
server.cfg order3. Installation
3.1 Import the Database
3.2 Add the Resource
3.3 Configure
4. Configuration (codex_config.lua)
codex_config.lua)4.1 Keys Table
4.2 General Store Settings
Setting
Description
4.3 TradingStores — Adding & Editing Stores
Field
Description
Adding a New Store
5. In‑Game Behaviour
5.1 Renting a Store
5.2 Buying From a Store
5.3 Managing the Store (Owner)
5.4 Adding Products / Stocking
5.5 Automatic Cleanup
6. UI & Reskinning
Reskin Tips
7. Database Schema
7.1 trading_stores
trading_storesColumn
Type
Description
7.2 trading_products
trading_productsColumn
Type
Description
7.3 trading_store_employees
trading_store_employees8. Commands
/refreshstores
/refreshstores9. Advanced Integration (Events & Callbacks)
9.1 Server Events (partial)
9.2 Server Callbacks
9.3 Client Events (partial)
10. What Buyers Can Safely Edit
🎯 Final Notes
Last updated
Was this helpful?


