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#
Put the folder
glitch-smallresourcesin your resources directory. The folder name is case-sensitive and must stay exactlyglitch-smallresources, because the exports are called by that name.If you use the taser module, add the entry from
install/items.luatoox_inventory/data/items.lua. The item name must matchiteminqbx_taser/config.lua.WEAPON_STUNGUNmust also exist as a weapon in ox_inventory, which it does by default.No SQL import and no item images are needed.
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-smallresourcesOpen
config.luaand set the modules you do not want tofalse.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.