#SIMPLE Wheatfarm (AI)
1 messages · Page 1 of 1 (latest)
Yes, you have to be honest and also honest with yourself.
But feel free to leave criticism anyway 😄
Need to secure that server event 'wheat:plow', Some sort of cooldown and a distance check will help.
local QBCore = exports['qbx_core']:GetCoreObject()
you're sure? not
local QBCore = exports['qb-core']:GetCoreObject()
Thanks. Should it now be local QBCore = exports[‘qb-core’]:GetCoreObject() or local QBCore = exports[‘qbx_core’]:GetCoreObject()? According to the documentation: QBCore = exports[‘qb-core’]:GetCoreObject() – I'm confused 😂 That's no problem.
for qbox you should just use the correct exports directly instead of utilizing the bridge
Is there any documentation? I must be completely blind!
Qbox does not have the core object. However, you can continue to use exports['qb-core']:GetCoreObject()
Thats why i ask.
That's the bridge function, for qbcore scripts, like i said, you should use the direct exports.
Doesn't matter at the end of the day but its good practise to use proper exports per framework.
New Release and Bugfixed
Version Framework License ox_lib
A feature-rich, optimized wheat farming system for FiveM servers. Supports QBox (Native), QBCore, and ESX Legacy with automatic framework detection, multi-language support, and advanced features.
✨ Features
🎮 Dual Farming Modes
Manual Mode - Press E to farm wheat with higher yield (1-3 wheat)
Auto-Farm Mode - Press G to activate automatic farming with cooldown progressbar (1-2 wheat)
🌍 Multi-Framework Support
✅ QBox - Native Exports (no bridge required!)
✅ QBCore - Full compatibility
✅ ESX Legacy - Complete support with dynamic import
✅ Auto-Detection - Automatically detects your framework
🛠️ Advanced Tool System
Durability Mode - Tools degrade with use (100 uses + 5% break chance)
Permanent Mode - Buy once, use forever
Client & server-side validation
🎨 Rich User Experience
4 different farming animations with props
ox_lib TextUI integration with smart hide/show
Progressbars with cancel instructions
Field-leave & death detection
Instant input response (0.00-0.01ms)
🌐 Multi-Language Support
6 fully translated languages:
🇩🇪 German (Deutsch)
🇬🇧 English
🇫🇷 French (Français)
🇪🇸 Spanish (Español)
🇵🇱 Polish (Polski)
🇹🇷 Turkish (Türkçe)
📦 Inventory Compatibility
ox_inventory (with metadata support)
qs-inventory
🔒 Security Features
Rate limiting (Anti-Spam)
Server-side cooldown enforcement
Distance validation with tolerance
Tool verification (client & server)
Optional kick on exploit detection
⚡ Performance Optimized
0.00-0.01ms resmon when in field
0.00ms when outside field
Separate threads for markers & interactions
Smart throttling system
Optional marker disable for maximum performance
Release Notes - v1.0.1
🎒 qs-inventory Support Added!
This update adds full support for qs-inventory (Quasar Advanced Inventory), making HM Wheat Farm compatible with both major inventory systems!
✨ What's New
qs-inventory Support
✅ Full compatibility with Quasar Advanced Inventory
✅ Universal inventory functions work seamlessly with both systems
✅ Automatic metadata structure handling
✅ Durability system works with both ox_inventory and qs-inventory
Inventory Auto-Detection
✅ Config.Inventory = "auto" automatically detects your inventory system
✅ No manual configuration needed in most cases
✅ Checks for ox_inventory first, then qs-inventory
✅ Intelligent fallback system
✅ Clear console output showing detected system
Console Output:
[WheatFarm] Framework detected: QBox (Native Exports)
[WheatFarm] ✅ Inventory System detected: qs-inventory
Universal Inventory Functions
The script now uses universal helper functions that automatically detect and use the correct inventory system:
-- These work with BOTH ox_inventory and qs-inventory
AddItem(source, 'wheat', amount, metadata)
RemoveItem(source, 'hoe', 1, metadata)
GetItem(source, 'hoe')
CanCarryItem(source, 'wheat', amount)
SetItemMetadata(source, slot, metadata)
Metadata Handling
ox_inventory: Uses metadata.durability
qs-inventory: Uses info.quality
Script: Handles both automatically!
ew, quasar
Why?
For multiple reasons crapsar, creatorjustice.org or youtu.be/HR0T0CnpDaQ?si=t4CSLBmN_RabUHr3
Wow, okay. Remove qs now!
@dim rapids - Did you take this down? Your github is showing not found.
Im Not - GitHub ban me. Close please - i reuplad them After a ti e