Configuration

Configuration

All fiveLib resources are built with a config-first approach. Server owners can customize behavior without touching core logic or editing client/server files.

Config Structure

Depending on the resource, configuration files may be located in:

  • config.lua

  • shared/config.lua

All important values are centralized and clearly commented.

Common Settings

Most fiveLib resources allow you to configure:

  • Framework selection (QBCore / Qbox / ESX)

  • Permissions & job restrictions

  • Timers, cooldowns, and durations

  • Rewards, prices, and chances

  • Interaction systems (target / text / menu)

  • Inventory & notification adapters

Framework Compatibility

Resources automatically adapt based on your selected framework:

No manual edits inside core files are required.

Best Practices

  • Always adjust values only inside the config file

  • Avoid editing core logic unless explicitly documented

  • Restart the resource after making changes:

Updates

Configuration files are designed to remain forward-compatible. When updating a resource, only newly added config options may need review.

Last updated