FAQ
Common questions about Eleven Mate: frameworks, inventories, HUDs, where players get the items, simple or full mode, keys, translations and licensing.
Common questions before and after installing Eleven Mate. If something is actually broken (the item does nothing, no prop, crashes), see Troubleshooting.
Compatibility
Does it work with Qbox, QBCore or ESX?
Yes. Qbox is the native framework and where it's tested; bridges for QBCore and ESX are included but haven't been tested on a live server yet. With Config.Framework = 'auto' it detects qbx_core, qb-core or es_extended. On ESX, thirst goes through esx_status and there's no stress. See Configuration.
What about no framework?
That works too: set Config.Framework = 'none'. The mate behaves the same (prop, sips, yerba and thermos) but doesn't change thirst or stress.
Does it work with an inventory other than ox_inventory?
No. ox_inventory is required: the items are registered there and the sips left are stored in the item's durability. If you need another inventory, ask in a ticket.
Does it work with my thirst and stress HUD?
The mate doesn't talk to your HUD directly: it raises thirst and lowers stress through the framework. On QBCore it uses player metadata and the hud:client:UpdateNeeds / hud:client:UpdateStress events. If your HUD needs something else, open a ticket.
I already have items called mate or termo
Rename them in Config.Item, Config.Yerba and Config.Thermos.item, and use the same names in ox_inventory/data/items.lua. See Configuration.
Does it need a database?
No. It doesn't use oxmysql or create tables: everything lives in the ox_inventory item metadata.
Installation
What order goes in server.cfg?
After ox_lib, ox_inventory and your framework:
ensure ox_lib
ensure qbx_core # your framework (or qb-core / es_extended). Optional
ensure ox_inventory
ensure eleven-mate
The full steps, including the items and their images, are in Installation.
Can I restart the resource with players online?
No. It streams custom models from stream/, and restarting it live can crash players. Install, change the config and update with a full server restart.
I get "You lack the required entitlement"
Your server's license key doesn't belong to the Cfx.re account that bought the script. The fix is in Installation and in the general guide Install with Keymaster.
Configuration and usage
How do players get the mate, yerba and thermos?
The package doesn't add shops or vendors. mate, yerba_mate and termo are regular ox_inventory items: sell them or hand them out like any other item on your server. There's an example for ox_inventory/data/shops.lua in Sell in shops.
Simple or full mode?
- Full (default): players prepare the yerba with a skill check, pour from the thermos and refill it with water. The mate is never consumed. Uses all three items.
- Simple (
Config.FullMode = false): the mate comes ready, gives its sips and disappears when finished. Only themateitem is needed.
How each one works: In-game usage.
How many sips, and how much does each restore?
By default 10 sips per preparation (7 if you fail the skill check), 6 thirst and 4 stress per sip, with 3 seconds between sips. A full thermos pours 5 times and each pour gives 2 sips. It's all in Config.Sips and Config.Thermos.
Can you drink it in a car?
Not by default. Turn it on with Config.AllowInVehicle = true.
Can I change the keys?
Yes, in Config.Keys (E sip, R pour, G put away). If you change the control, change the label too so the prompt shows the right key. See Configuration.
Can other players see it?
Yes. The mate in your hand is visible to everyone, and while you prepare the yerba nearby players see it moving.
Can I use my own models or change the animation?
Yes: models are set in Config.Prop, Config.Thermos and Config.Ritual, and animations in Config.Anim. If the mate ends up badly placed, use the /mateadjust tool on a test server. See Configuration.
How do I translate it?
Copy locales/en.json under another name (for example fr.json), translate it and set Config.Locale = 'fr'. Keep every %s and %d. Item names and descriptions are translated in ox_inventory/data/items.lua. English and Spanish are included.
Does it affect performance?
A loop only runs while a player holds the mate or is preparing the yerba. With the mate put away it does nothing.
Purchase and license
Where do I download it after buying?
From Cfx.re Keymaster, under Granted Assets, using the account you bought with. It shows up as eleven-mate. Step by step in Buy and download.
Can I use it on another server or move it to another account?
The resource is tied to your Cfx.re account: it runs on the server whose license key (sv_licenseKey) belongs to that same account. For any account change, open a ticket. More in Licenses and escrow.
What can I edit?
config.lua, the translations in locales/ and the files in install/ (items and images). The rest of the code is encrypted. The 3D models and item images are original Eleven Project work: you use them with the resource, but you can't redistribute or resell them separately.
Can you add a feature I need?
Ask for it by opening a ticket on our Discord. Code changes are made on our side.
Support
Where do I get help?
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.
- For Keymaster issues, your Cfx.re account name.
More in the Support guide.