Tree Generator
Tree Generator for FiveM: draw zones in game and fill them with forests, palms or swamp trees. Setup, the zone editor, configuration, biomes and exports.
Tree Generator fills areas of your map with trees, bushes and palms, without map add-ons. You draw a zone in game, pick a biome and save. Every player sees the same trees, and players can chop them down and carry the logs.
- Installation: dependencies, server.cfg and who may create zones.
- Creating a zone: the editor, its controls and tips for good forests.
- Configuration: target scripts, chopping, and switching features on or off.
- Biomes: the 6 included biomes and how to make your own.
- Exports: carried logs and the zone a player is in.
- Common issues: nothing spawns, too many objects and other fixes.
It's standalone, so it works on ESX, QBCore, Qbox, vRP or any other framework. The only dependency is ox_lib.
More in this guide
- InstallationInstall Tree Generator: start ox_lib first, add ensure fz-foliage to server.cfg and allow admins to create zones with one ACE line.
- Creating a zoneDraw a forest zone with the Tree Generator editor: fly the camera, click corner points, pick a biome, preview the tree count and save.
- ConfigurationTree Generator config.lua: the editor command, target scripts, chopping time and hatchet, and switches for felling, hugging, logs and map blips.
- BiomesThe 6 Tree Generator biomes (forest, pine, desert, palm, oak, swamp) and how to add your own trees and biomes in biomes.lua.
- ExportsTree Generator client exports: read, add or drop the logs a player carries, and find the zone a player is standing in.
- Common issuesFixes for Tree Generator: no trees in a zone, the editor not opening, save failing, too many objects and missing tree interactions.
Still stuck?Ask on our Discord