Browse docs

Database and updates

Back up Hunting data, migrate older settings and replace the former standalone lodge and weapon add-ons.

Hunting uses oxmysql through Sky Base and reads the table definitions in its shipped import.sql at startup. The inventory catalogue is prepared separately using Inventory items.

Saved data

TableContents
sky_hunting_collectionJournal discoveries, counts and best ratings
sky_hunting_progressCharacter XP and purchased skills
sky_hunting_dailyDaily orders, progress and reward state
sky_hunting_configurator_settingsSaved panel overrides and their revision
sky_hunting_butcher_receiptsOutstanding butcher payouts
sky_hunting_moneyOpen shop and rental payment receipts

Back up all sky_hunting_* tables present in your installation, including payment receipts. Keep character identifiers consistent when moving to a new framework or character system.

Update an existing installation

  1. Have players recover their cages and bait, finish deliveries and return rentals. Stop the server for the package update.
  2. Back up the old sky_hunting folder and its database tables. Keep a coordinated backup of the inventory and account data as well.
  3. Replace the installed resource with the new download. Merge custom defaults into the new config/config.lua. If you are migrating legacy saved configuration, retain the files described below for the first start.
  4. Update Sky Base and Sky Primitive Weapons as needed and merge any new inventory items and images.
  5. If you previously installed sky_hunting_lodge, sky_hunting_rifle or sky_hunting_shotgun separately, disable their start entries. Their map and weapon assets are included in the Hunting resource.
  6. Start the server using the installation order and reconnect with a fresh client session. Reopen /huntingconfig to check your applied settings. On an existing character, check the journal, skills, daily missions, inventory and any outstanding butcher payout.

Check the server console for SQL or item errors during startup. Compare a failing table or statement with import.sql and preserve the affected data for review.

Migrate older saved settings

On the first start with database-backed settings, Hunting can import the old HuntingSettings.saved block from config/config.lua or an existing config/panel-overrides.lua or config/panel-overrides.json. Keep the format your previous installation uses until the first successful start. Check the panel and the in-game result before archiving your old copy. After the import, the database supplies the saved overrides.