Samy Scripts – Advanced Campfire / Water Purification / Cooking System
Video : https://www.youtube.com/watch?v=jMQJIGNhoeM
Bring an interactive survival experience to your server. Let players place campfires, manage fuel, purify dirty water, and prepare meals using customizable recipes.
Compatible with QBX (Qbox) and designed to work with ox_inventory, ox_target, ox_lib, and oxmysql.
🔥 Interactive Campfires
Place campfires using an interactive placement mode.
Add different fuel types, including wood, firewood, planks, and charcoal.
Light fires with matches or a lighter.
Manage fuel as it burns down over time.
Configure ownership restrictions and pickup permissions.
🍖 Cooking & Water Purification
Boil dirty water in a cooking pot to produce clean drinking water.
Cook meat, fish, chicken, and other configurable ingredients.
Create recipes that require multiple ingredients.
Prepare multiple servings in a single action.
Enable the optional cooking queue to leave food cooking and collect it when ready.
Set recipe-specific ingredients, tools, cooking times, and fuel requirements.
🌧️ Atmosphere & Interaction
Create an immersive campsite with fire, smoke, lighting, and distance-based sound effects. Players can sit beside the fire, while warming detection supports integration with your temperature system.
Configurable weather effects can influence ignition success and fuel consumption.
⚙️ Customize Your Server Experience
Add recipes, fuel types, and ignition items through configuration.
Enable optional campfire storage.
Preserve campfires across server restarts with persistence enabled.
Configure per-player campfire limits and automatic cleanup of unused fires.
Choose between English and Turkish localization.
Inspect and remove campfires using admin commands.
🔌 Integration Support
Exports and events allow integration with temperature, illness, and survival systems. Noise hooks are also available for connecting compatible zombie scripts.
Zombie AI, illness, and body-temperature systems require separate resources and integration. They are not included as standalone systems in this resource.
🛡️ Server-Side Validation
Distance, ingredients, fuel, action duration, and inventory capacity are checked on the server. Action locks and configurable cooldowns help protect against overlapping actions and request spam.
Requirements
qbx_core
ox_inventory
ox_target
ox_lib
oxmysql
This version is designed for QBX (Qbox). All required dependencies must be installed on your server.

