BON-60 | SL Bonfire
Turn any simple campfire into a lively gathering point for your server.
SL Bonfire is an immersive social system that allows you to create temporary campfires on beaches, lakes, mountains, deserts, and natural areas. Players can gather around the fire, participate in activities, increase the gathering's Warmth, and earn rewards upon completion.
Each participant receives individual activities, while the entire campfire works toward a shared multiplier, encouraging collaboration and group roleplay.
Stay by the fire, participate, and collect rewards when it ends.
⚙️ Main Features
Create gatherings featuring:
- Fire, smoke, and nighttime ambiance.
- NPCs and guests around the campfire.
- Props and decorative elements.
- Compact HUD with real-time information.
- Time, permanence, and reward system.
- Optional ambient music.
- Campfires with activities or exclusively ambient campfires.
Each player receives their own activity without interrupting other participants. Available activities include:
- Add firewood
- Play guitar
- Play bongos
- Tell a story
- Keep the rhythm
- Smoke peacefully
- Have a drink
- Sit by the fire
- Cheer up downhearted guests
- Random social activities around the fire
When a player completes an activity, the progress benefits the entire gathering.
The multiplier starts at x1 and increases as participants complete activities:
- Progress belongs to the entire campfire.
- Each player's activities remain independent.
- The multiplier applies to the final reward cash and items.
- Expired activities do not increase the multiplier.
- Rotation prevents immediately repeating the same activity when alternatives exist.
Warmth represents the social atmosphere generated around the fire. It can increase through:
- Social activities.
- Constant participation.
- Active music.
- Interaction with guests.
- Staying close to the campfire.
When Warmth reaches its maximum level, it unlocks an additional bonus to the global multiplier until the session ends.
Rewards are delivered exclusively when the campfire ends. The server validates:
- Minimum permanence time.
- Presence within the final radius.
- Session status.
- Multiplier achieved.
- Completed activities.
- Duplicate reward protection.
Pools can include:
- Cash money
- Bank money
- Items
- Custom server-executed events
🌲 Ambient Campfires
Administrators can also create purely decorative campfires. This mode features:
- No participant registration.
- No HUD display.
- No activity generation.
- No Warmth system.
- No reward distribution.
- No timer-based completion.
- Can coexist with another active campfire in a different location.
- Retains its state after restarting the resource.
🛠️ Admin Management & Secure Persistence
Includes an administrative panel and tools to:
- Start and stop campfires.
- Choose saved sectors and locations.
- Create new Bonfire Spots and delete spots.
- Reload locations and check current status.
- Configure Warmth, activities, rotation, and multipliers.
- Manage reward pools and create ambient campfires.
- Recover persistent states after server reboots.
Secure Persistence: Using oxmysql, SL Bonfire can save custom spots, system settings, reward pools, active campfires, multipliers, progress, and ambient states. When SQL is unavailable, it falls back to JSON files, plus an internal Resource KVP mirror to safely recover data if a persistent file is accidentally wiped or updated.
⚡ Compatibility & Performance
Editable Bridge with support for: Qbox, QBCore, ESX, ox_inventory, and custom systems via custom.lua. Admin permissions can also be managed via ACE.
Resmon Performance:
- Idle resource (no activity): 0.00 ms
- Active campfire in use: 0.07–0.09 ms max
Results may vary depending on hardware, player count, entities, and server conditions.
📋 Dependencies & Commands
- Mandatory: ox_lib
- Recommended: ox_target, oxmysql
- Optional: xsound
- Players:
/fire,/bonfireinfo - Admin:
/bonfire,/bonfire start/stop/status/spots/...
📚 Support & Resources
Official support, documentation, and community links: