Browse docs
Installation
Requirements
| Requirement | Purpose |
|---|---|
| Sky Base | Framework, inventory, accounts and database access |
| Sky Primitive Weapons | Included in the Hunting Simulator purchase. Provides the spear, slingshot, bow and crossbow. |
| OneSync | Shared wildlife, vehicles and position checks |
oxmysql | Persistent settings, progression and butcher receipts |
| Configured inventory provider | Equipment, ammunition, harvested goods and trophies |
Configure oxmysql as Sky Base's SQL provider. Sky Base connects Hunting to the framework and inventory. Install Jobs Base when using the optional police dispatch integration.
Install
Place the resource
Extract the download into your server's resources directory. Keep the folder containing fxmanifest.lua named sky_hunting and retain the supplied configuration, interface, metadata, streamed assets and SQL files. Bayview Lodge and both Hunting firearms load with this resource. For older installations with separate add-ons, follow Database and updates.
Install the included sky_primitive_weapons resource in your server's resources directory as well.
Register items and weapons
Choose your provider's copyable tab in Inventory items. Register the 25 Hunting items and the two Hunting firearms. Include the Primitive Weapons definitions and verify the required ammunition IDs. Copy the Hunting PNGs from sky_hunting/config/inventory/ into your inventory's image directory.
Register items in the inventory you actually use and prepare the database in the next step.
Prepare the database
Connect oxmysql to your database and select sql = "oxmysql" in Sky Base's config/config.lua. Hunting creates its tables at startup using the included import.sql. The database account needs permission to create those tables and to read and write their data.
Start the resources
Enable OneSync. Start your framework and inventory in their normal dependency order. Start the following resources with Sky Base after the framework and inventory:
ensure oxmysql
# Start your framework and inventory before Sky Base.
ensure sky_base
ensure sky_primitive_weapons
ensure sky_hunting
For a first install or asset update, start the server with the new files and connect with a fresh FiveM client session so the map and weapon metadata load.
Set permissions and protection
Open /huntingconfig from a connected administrator character. See Configuration for permissions and the restart action. If your server uses resource protection, allow the installed Sky resources by name. Test permitted wildlife, cages, bait, rentals and weapons with the protection enabled on a regular player account. Resource protection guide
Verify the installation
Join as a regular player and visit Bayview Lodge near -673.76, 5837.72, 16.37 in the default setup. Choose Browse hunting supplies and confirm that you can buy and use the map, magnifier, knife and starter weapon. Complete the first hunt, sell the goods, then reconnect to confirm that the journal and progression remain.
If a step fails, use Troubleshooting to check the resource, inventory or saved settings involved.