Glitched Scripts
Moonshining

Integrations

VORP and RSG bridges, currency, notifications, and editable hooks.

Framework support lives in bridge/vorp and bridge/rsg. Those folders are escrow-open. Auto-detect runs in bridge/shared.lua.

Config.Framework = 'auto' -- auto | vorp | rsg

"auto" order: rsg-corevorp_core. If neither is started, the resource errors on boot. Set vorp or rsg explicitly when both cores are present.

VORP

Uses vorp_core, vorp_inventory, and vorp_menu. Inventory image path defaults to:

nui://vorp_inventory/html/img/items/

Notifications use VORP advanced / bottom-right notifies.

RSG

Uses rsg-core, rsg-inventory, and rsg-menubase. Inventory image path defaults to:

nui://rsg-inventory/html/images/

Server notifications use ox_lib:notify. Start ox_lib before gs-moonshining.

Currency

Shop currencies in config.lua:

ValueVORPRSG
0money / cashcash
1goldgold
2rolbloodmoney
Config.SuppliesCurrency = 1
Config.MashCurrency = 1

Inventory images

Leave Config.InventoryImagePath = nil so the active bridge sets the path. Override only if your inventory uses a custom NUI path.

Editable hooks

Skillchecks and placement / interact gates live in editable/client.lua (escrow-open):

  • StillSkillcheck() / MashSkillcheck() — default to legends-keypress when that resource is started; otherwise return true
  • CanPlaceEquipment(equipmentType)'Still' or 'Mash'
  • CanInteractWithEquipmennt() — after a UIPrompt completes (name keeps the historical spelling)

Full snippets: editable/client.lua.

Locales

Config.Locale loads locales/<key>.json. English ships as en.

On this page