Stick's Resources

Setup

Load order and first-time setup for ItemsDB.

1. Ensure load order in server.cfg

ItemsDB must start before ox_inventory.

ensure ItemsDB
ensure ox_inventory

2. Start the server

ItemsDB runs its database migrations automatically on startup. Watch the console for:

[ItemsDB] Applied migration 1: create_items_db_items
[ItemsDB] Applied migration 2: create_items_db_weapons
[ItemsDB] Schema up to date (version 2)

If the tables already exist from a previous run, only the last line will appear.

Next Steps

Once the server is running, patch ox_inventory to load items from the database.

On this page