Outdoors API Reference
Callbacks (server)
metaden-outdoors:server:requestNonce- Registered through bridge callback support when available.
- Params:
(action: string) - Returns:
nonce: string | nil - Allowed actions:
cookMeat,searchForMaterial,fillBottle,gutSnake,gutLizard.
metaden-outdoors:server:requestNonceEvent- Event-based nonce fallback path.
- Params:
(action: string, requestId: string) - Responds to client event:
metaden-outdoors:client:receiveNonce
Network events (server)
metaden-outdoors:server:cookMeat- Params:
(name: string, nonce: string) - Validates nonce + cooldown + required recipe items.
- Removes required ingredients and gives cooked item.
- Params:
metaden-outdoors:server:searchForMaterial- Params:
(materialType: 'rocks' | 'wood', nonce: string) - Validates nonce + cooldown.
- Gives base reward and optional mushroom/animal bonus rewards.
- Params:
metaden-outdoors:server:GutSnake- Params:
(slot: number, nonce: string) - Validates nonce + cooldown.
- Requires a knife item in inventory.
- Removes source item from slot and gives
snakemeat+snakeskin.
- Params:
metaden-outdoors:server:GutLizard- Params:
(slot: number, nonce: string) - Validates nonce + cooldown.
- Requires a knife item in inventory.
- Removes source item from slot and gives
lizardmeat+lizardskin.
- Params:
metaden-outdoors:server:fillBottle- Params:
(slot: number, nonce: string) - Validates nonce + cooldown.
- Removes empty bottle from slot and gives
dirtywater.
- Params:
Network events (client)
metaden-outdoors:client:FillBottle- Params:
(slot: number) - Performs nearby-water and river-like checks client-side.
- Requests nonce and triggers server bottle fill event on success.
- Params:
metaden-outdoors:client:GutSnake- Params:
(slot: number) - Handles local gut flow and requests nonce before triggering server gut event.
- Params:
metaden-outdoors:client:GutLizard- Params:
(slot: number) - Handles local gut flow and requests nonce before triggering server gut event.
- Params:
Lifecycle hooks
QBCore:Client:OnPlayerLoaded→ initializes all target interactions.onResourceStart(current resource) → initializes all target interactions.playerDropped(server) → clears cooldown and nonce state.
