Ownable Wind Turbines | GENERATE YOUR ENGERY

Windmill Power Script

Power up your FiveM server with some green energy vibes!

What’s it all about?
Get ready to own windmills, generate electricity, and stack that cash! Perfect for economy or RP servers.

Dependencies

  • ox_lib
  • ox_inventory
  • QBX Framework
  • oxmysql

:key: Cool Features:

:house: Buy Windmills: Grab your own windmill and start your energy hustle!

:low_battery: Generate Power: Watch your windmill crank out electricity to sell.

:wrench: Upgrade Like a Pro: Boost your windmill with epic tech:

  • Durability Upgrade :muscle: – Keeps it running longer.
  • Storage Upgrade :package: – Stockpile more power.
  • Efficiency Upgrade :rocket: – More juice, more profits!
  • Security Upgrade :policeman: - Save that energy!
  • Grid Connection Upgrade :globe_with_meridians: - Sell the stuff instantly!

:moneybag: Sell the Juice: Turn your electricity into sweet in-game cash!

:gear: Tweak It: Customize rates and costs to fit your server’s style.

Why You’ll Love It:
:star2: Fresh business idea for your players to dive into.
:tada: Easy setup for any FiveM server.

Sneak Peek:

Ready to Go?
Grab it now and let your players build their energy empires!

PREVIEW
DISCORD
DOWNLOAD LINK

|-------------------------------------|----------------------------|
| Code is accessible | Yes |
| Subscription-based | No |
| Lines (approximately) | ~2000 |
| Support | Yes |

7 Likes

done with the creator of script

3 Likes

Yes thats mine :stuck_out_tongue_winking_eye:

2 Likes

qs-inventory update??

1 Like

Quick question; how do we change the price of the battery sold?

2 Likes

nah i dont like qs, so u must do it yourself, theres probably docs for that

3 Likes

its the Config.priceForEnergy option.

1 Like

is there a option to add more windmill locations?

1 Like

no ESX?

of course not

use the command /createwind

ah but im using esx he

Thanks a lot, good fun.

Is there by any chance this available for ESX? I’d be really interested, but I don’t use qbx.

Nice release,

Maybe a config.maxturbines of a maximum turbines on a player?

its 1 by default, could be changed yeah

1 Like

i dont use esx so i cant code it

The menu says “This turbine produces 0 MWh per storm.” How are storms defined?

1 Like

Each script restart is considered one “storm.” For example, if you buy the windmill during the current server phase, you won’t receive any MWh until the next restart (either a server or script restart). After a storm (restart), the displayed MWh should no longer show as 0. Instead, it should show the amount it will produce until the next restart.

I implemented it this way for better performance — it’s more efficient than having a thread trigger 40 (each windmill) SQL executions every 5 minutes.

1 Like