Skip to content

Configuration ​

Edit shared/config/00_core.lua for pack-wide settings. shared/config/10_features.lua is the np_jobs schema/default registry. Per-job feature values come from np_jobs:getFeatureConfig; np_logistics does not copy those values into global config.

Edit shared/config/20_world.lua for world gameplay:

  • Config.World.places: starter depots, warehouses, docks, weigh stations, receiving points and optional bin locations. Other resources add DB-backed points with registerPlace.
  • interactionRadius: fallback distance radius if np_colshape is unavailable.
  • blip: shared blip sprite, color, scale and short-range setting.
  • forklift: default model, capacity and lift/tilt limits. Feature config can provide per-player capacity and model limits.
  • trailer: parking load-plan slot count, columns and gross cargo limit.
  • inspection: scale tolerance and default fine.
  • dock: crane prop and hoist range.
  • contractVehicles: enable fallback vehicle assignment when a leg is accepted.

World place records are serialized to logistics_places; configured places seed the DB when no record exists. Keep each place ID stable because contracts and cargo refer to those IDs.

  • Config.Public.kinds: public contract kinds that can be taken without a job feature.
  • Config.Contracts: deadline, penalties, leg limit, and maximum player-supplied budget.
  • Config.Cargo: tare weight and cargo unit bounds.
  • Config.Physics: gross vehicle limit and handling speed caps.
  • Config.Security: request cooldown and interaction range.
  • Config.NpcFallback: quiet-server NPC order timing and fee settings.
  • Config.Escrow: np_banking escrow preference.
  • Config.Integrations: optional sink integration toggles.
  • Config.FallbackJobs: job-to-feature mapping only when np_jobs is stopped. This is the only location where job names are configured.

Run oxmysql before this resource. Schema migration runs on resource start and creates the tables documented in sql/schema.sql plus the full schema in server/core/db.lua. For ESX, start es_extended; np_inventory is preferred for cargo stashes, with ox_inventory fallback.

Implementation notes above reflect the checked-in adapters. Live FiveM verification remains outstanding.