Installation

How to install SpookySeason. Start this after ox_lib, your framework, your inventory, and Newb_Bridge.

Start this after ox_lib, your framework, your inventory, and Newb_Bridge. The bridge looks at what’s already running. If this script starts first, it can miss them.

Dependencies

Newb_Bridge, ox_lib, framework + inventory + target via the bridge. Server artifact and OneSync.

Ghost hunts also need pengu_digiscanner. Without it, pumpkins, graves, trick-or-treat, shops, and crates still run.

Add items and images

Paste from Item setup. Copy PNGs from [INSTALL]/images/ into:

InventoryImage folder
ox_inventoryox_inventory/web/images/
qb-inventory / ps-inventoryhtml/images/
one_inventoryone_inventory/web/images/

Required names: event_token, candy_corn, chocolate_bar, pumpkin_basket, rotten_casket. Also register id_card if grave / rotten-casket loot should grant it.

Configure

FileContents
configs/config.luaConfig.WeatherFeature, Config.TrickOrTreatBlips, Config.Shops, Config.Decorations
configs/sv_config.luaServer-only. Config.LootTypes, Config.Pumpkins, Config.Graves, Config.GhostHunts, Config.TrickOrTreat

Shop prices are event_token counts. Loot cash rows pay the cash account. Field tables: Configuration.

Add to server.cfg

Swap qbx_core / ox_inventory for whatever you actually run. If you use ghost hunts, start pengu_digiscanner before this resource.

ensure ox_lib
ensure qbx_core
ensure ox_inventory
ensure Newb_Bridge
ensure pengu_digiscanner
ensure MrNewbsSpookySeason

Restart the server

Restart after config or item changes.

On this page