NX Dumpster Diving
Troubleshooting
Common problems and how to fix them.
Players always get "your pockets are full"
The items haven't been added to ox_inventory, so they can't be given. Copy everything from install/ox.lua into ox_inventory/data/items.lua and restart the server. If it only happens sometimes, the player's inventory really is too heavy.
No "Search Dumpster" option on third eye
- Check
Config.SearchType. With1only big dumpsters work, and with2only small bins. - The prop may not be in the model lists. Add it to
Config.DumpsterModelsorConfig.TrashCanModels. - The option is hidden while you're in a vehicle or already searching.
- Make sure
ox_targetstarts beforenx-dumpsterdiving.
"Someone has already picked this dumpster clean"
That dumpster (or one within Config.Security.dumpsterRadius of it) was searched recently. It's available again after Config.Search.dumpsterCooldown seconds (10 minutes by default). Lower the cooldown if dumpsters are too hard to find on your server.
"You are worn out. Try again later."
The player hit Config.Security.maxSearchesPerHour. Raise it, or set it to 0 for no limit.
Items have no images
Copy the images from install/images/ into ox_inventory/web/images/. The file names must match the item names exactly, including lowercase. The sell menu loads images from the same folder.
The sell menu doesn't open
If you see this in your F8 console:
[nx-dumpsterdiving] The UI has not loaded. Run "refresh" then "ensure nx-dumpsterdiving", or restart the server.The menu's files didn't load, usually after uploading the resource while the server was running. Run refresh then ensure nx-dumpsterdiving, or restart the server. The menu won't grab your mouse until it's loaded, so you'll never get stuck with a cursor.
"You have nothing I want"
The player has no items listed in Config.Pawn.prices. Only items with a price can be sold.
No notifications appear
- Check
Config.Notifyisn'tfalse. - With
'custom', make sure you've filled inConfig.CustomNotify. It's empty by default.
Still need help?
Open a ticket on our Discord with your server and F8 console output and your config.lua.