Skip to main content
TRACK A·FRAMEWORK CONFIG·Verified June 2026 · Lua 5.4 · ox_lib 3.x
Learning with an AI assistant?
Copies this lesson plus 2026 ground rules (no lua54 'yes', Cfx.re Portal, correct callback signatures) as a ready-to-paste mentor prompt.
Module A4 · Frameworks and admin commands

Configure qb-smallresources

On a QBCore server, a surprising number of small behaviours all live in one resource: qb-smallresources. Drinking a water bottle, the way a weapon draws, seatbelt, cruise control, removing default GTA cops, pointing animations. When a new owner asks "where do I turn X on or off," the answer is very often "a config file inside qb-smallresources." This lesson shows you what it holds and how to edit it.

You'll do
Find qb-smallresources, understand which small features it controls, and edit one config file to change a behaviour, all without writing code.
Time
~12 minutes
You need
A QBCore server you can restart, a text editor like VS Code, and the ability to read your txAdmin Live Console.
You'll learn
What qb-smallresources bundles -> where each feature's config lives -> how to toggle one safely -> what it does NOT include (so you stop hunting in the wrong file).
BEFORE YOU START

What qb-smallresources actually controls

qb-smallresources ships with QBCore and depends on qb-core. It bundles small quality-of-life and world features so you do not install a separate script for each one. The current resource includes:

AreaExamples of what it controls
ConsumablesFood and drink items (sandwich, water, tosti) and their hunger, thirst, and drunk effects
WeaponsDraw animations, recoil tweaks, and stopping weapons from dropping on death
World cleanupRemoving default GTA police, emergency NPCs, and the wanted-star system
VehiclesRemoving GTA ambient vehicles and turning the engine on when you enter
Player utilitySeatbelt, cruise control, parachute, armor, binoculars as useable items
AnimationsPointing, crouch, prone, tackle, hostage taking, race harness
Presence and effectsDiscord rich presence, fireworks, firearm spawn-rate tuning, HUD element removal

The exact file list changes between versions, but the rule holds: one feature, one file, named after the feature.

Keep reading the full lesson

Sign in to start, then unlock every step of this lesson and the full FiveM School with a membership.

Still ahead in this lesson
  • What it does NOT control (stop looking here)
  • Find it and read the config
  • Common mistakes
  • Where to go next

The remainder of Configure qb-smallresources is available to FiveM School members.