Troubleshooting
Fixes for common Eleven Mate issues: the item does nothing (No such export), no prop, thirst does not change, crashes after a restart and Keymaster errors.
Using the item does nothing
- Make sure the entries from
install/items.luaare pasted inside the table inox_inventory/data/items.lua, including theirclient = { export = ... }line. - If you renamed the resource folder, replace
eleven-mate.in the threeexportlines with the new name. That's the cause if the F8 console showsNo such export useMate in resource eleven-mate(oruseYerba/useTermo). - If you changed
Config.Item,Config.YerbaorConfig.Thermos.item, the names initems.luamust match. - Check that
eleven-matestarts afterox_libandox_inventoryinserver.cfgand doesn't print errors in the console.
Items show without an image
Copy install/images/*.png to ox_inventory/web/images/. File names must match each item's image field (mate.png, yerba_mate.png, termo.png).
The mate doesn't show in the hand
- The resource streams its models from
stream/. If you installed or updated it while the server was running, restart the whole server and reconnect. - Don't change the model names in
Config.Prop.model,Config.Thermos.modelorConfig.Ritualunless you're using your own models.
Crashes or endless loading after restarting the resource
This happens when eleven-mate is restarted live (restart, ensure, txAdmin) or files are copied over stream/ while the server runs. Always install and update with the server stopped, then start it again fully.
Thirst or stress don't change
- Check
Config.Framework. With'auto'it looks forqbx_core,qb-coreores_extended; if none is found, or it's set to'none', the mate leaves thirst and stress alone. - On ESX, thirst uses
esx_statusand there is no stress. - On QBCore it uses player metadata and the
hud:client:UpdateNeeds/hud:client:UpdateStressevents. If your HUD uses different ones, open a ticket. - Per-sip values are
Config.Sips.thirstandConfig.Sips.stress.
Notifications are missing or look different
Set Config.Notify to your server's notification system: 'ox_lib', 'qbcore' or 'esx'.
I can't take another sip
There's a minimum wait between sips (Config.Sips.cooldown, 3 seconds by default), checked by the server. If the mate says there's no water left, pour some from the thermos (R). If it says the yerba is spent, prepare it with yerba_mate.
I can't use the mate in a car
By default the mate can't be held, sipped or prepared inside a vehicle. Turn it on with Config.AllowInVehicle = true.
The thermos won't refill
To refill it, use the termo without the mate in hand and with a bottle of water in your inventory. Valid items are listed in Config.Thermos.waterItems (water and water_bottle by default): add your server's water item there.
Keymaster entitlement error
If the console shows You lack the required entitlement to use eleven-mate, the server's license key doesn't belong to the Cfx.re account you bought the script with. See the steps in Installation.
Still not working
Open a ticket on our Discord with:
- Your framework and your
ox_libandox_inventoryversions. - Your
config.lua. - The server console or F8 error, if any.