Items show as an empty square or "item does not exist"#
The item definitions are not in ox_inventory yet. Copy them from install/ox_inventory_items.lua and the pictures from install/images.
The coke lab stations are underground or in an empty warehouse#
The default stations are inside the cfx_gn_warehouses MLO (location 6, coke lab entity set). Install it, or stand where each station should go and use /cokelab. If data/lab.json holds positions from another map, delete it.
The Botanist or the Cartel does not appear#
With glitch-criminaltablet running, their positions and models come from the tablet's contact config. Without it they use Config.Contacts. They spawn when a player comes within 60 metres.
Nobody can meet the Cartel or buy premium seeds#
With glitch-criminaltablet running, the Cartel needs Config.Contacts.cartel.meetRep REP or meetSales of drug sales (glitch-drugSales), and premium seeds need Botanist trust. Without the tablet, Config.Fallbacks opens both.
Every lab minigame fails#
glitch-minigames is not running and Config.Fallbacks.minigame is false. Set it to a skill check table (the default) or install glitch-minigames.
The database tables are missing#
The tables are created when the resource starts. If your database user cannot create tables, run sql/install.sql once by hand and set Config.ManualDatabaseSetup = true.
The grow lab interior is empty or the player falls through the floor#
The labs use the biker weed farm interior. Install bob74_ipl, or set Config.Lab.enabled = false in shared/lab.lua.
Plant props are invisible#
The coloured plant models are streamed from stream/. Make sure the folder was copied and that no other resource streams the same an_weed_* models.
Staff cannot open /drugadmin#
Grant the ACE: add_ace group.admin glitch-drugs.admin allow. If your existing grants use the old it-drugs name, they keep working while Config.LegacyAce is set.
/cokelab does nothing#
The command is restricted to group.admin. Add add_ace group.admin command.cokelab allow and make sure the player is in that group.
Known limits#
- Minigame results (lab press and soak, grow lab trim and repairs, gummy infusion) come from the client. The server checks how long each step took and logs long runs of passed gummy infusions. A modified client can still pass every minigame. The grow lab trim streak is capped on the server: past the limit the score is forced to 1 or 2 and the player is flagged.
- Crack, THC oil and caffeine powder can be cooked at any stove prop listed in
Config.Crack.stoves. The server checks the ingredients and the cook time, not which stove the player stands at. - The ground type check (
Config.OnlyAllowedGrounds) runs on the client. The server checks the distance, the spacing, the plant limit, the no-plant areas and the planting time. - Most player text is English written into the code. Only the plant menus and drug notifications use the locale file.