Studios
Small Resourceshouse-3.jpg

Installation

SoonSmall ResourcesQbox
PAGE 02 OF 06  ·  OVERVIEW → INSTALLATION → CONFIGURATIONdocs.glitchstudios.dev
Browse docs

Requirements#

The server

Framework qbx_core (Qbox). ESX and plain QBCore are not supported.
Resources ox_lib, oxmysql, ox_target, ox_inventory
Server build An FXServer artifact with Lua 5.4 and OneSync enabled.
Database Any database oxmysql supports. The resource creates no tables. It only reads the saved skin table for combat log ghosts (default playerskins, with the columns citizenid, model, skin and active).
Original resource Remove qbx_smallresources from your resources folder and server.cfg, or the two clash.

Optional integrations

Each one is checked at run time and skipped when the resource is not running. The names live in config.lua.

Resource Used for
An appearance resource with a setPedAppearance(ped, skin) export Dressing combat log ghosts. Default glitch-appearance; illenium-appearance style resources work too.
glitch-ambulancejob Last stand after a knocked out player is finished off. Without it the player is killed.
rpemotes Putting the saved walk style back after crouching or a knockout, and the emote lock during a carry.
glitch-admin Staff log for /id and /modid.
glitch-evidence AFID tags dropped by the taser.
glitch-uiElements Key hints while carrying or pushing a vehicle, and the taser reload key label.
glitch-buffs Buff hooks for alcohol and caffeine.
glitch-poolcleaning Receives net event counts from server/guard.lua.
sd-phone The phone is disabled for both players during a carry.
ox_doorlock Only for the vonCasinoDoor example module.

Installation steps#

  1. Put the folder glitch-smallresources in your resources directory. The folder name is case-sensitive and must stay exactly glitch-smallresources, because the exports are called by that name.

  2. If you use the taser module, add the entry from install/items.lua to ox_inventory/data/items.lua. The item name must match item in qbx_taser/config.lua. WEAPON_STUNGUN must also exist as a weapon in ox_inventory, which it does by default.

  3. No SQL import and no item images are needed.

  4. Add to server.cfg, after qbx_core and the ox resources:

    ensure ox_lib
    ensure oxmysql
    ensure qbx_core
    ensure ox_inventory
    ensure ox_target
    ensure glitch-uiElements
    ensure glitch-smallresources
    
  5. Open config.lua and set the modules you do not want to false.

  6. Restart the server.

Permissions

The resource uses these aces. Your permissions.cfg decides who holds them:

Ace Used by
founder (SmallConfig.aces.bypassBlacklist) May spawn models from qbx_entitiesblacklist through AllowBlacklisted.
admin (menuAce in qbx_staticemitters/config.lua) Opens /staticemitters.
mod or moderator (aces in qbx_showids/config.lua) May use /modid.
group.admin and group.god /kidnapkick and /kickscene (set under command.restricted and toggleCommand.restricted in qbx_kickscene/config.json).

Updating#

Back up config.lua and every module's config.lua or config.json, replace the folder, and put your settings back. Module switches are read when the resource starts, so restart it after any change. Nothing in the database changes.