Open-source FiveM scripts, MLOs, vehicles & server packs for ESX, QBCore & Qbox. Browse Shop →
All Shop
Crypto Mining (ESX)

Description

Crypto Mining (resource east_crypto_esx) adds ownable crypto mining warehouses to ESX servers. It is a gameplay mechanic: rigs earn in-game money per minute and cost in-game electricity, with no real cryptocurrency involved.

Features

  • Player ownable warehouses: players buy a warehouse and upgrade the mining rigs inside (up to 6 rigs). A player can only buy another warehouse after fully upgrading the current one.
  • Create warehouses with ease: admins create warehouses anywhere on the map with a custom price using a configurable command (default /createwarehouse, admin group admin).
  • Profits and losses: 3 rig stages, each with configurable upgrade price, electricity cost and profit range, calculated every minute.
  • Loss limit: you can turn each rig on or off. If a warehouse’s loss goes above $1000 (configurable), all rigs shut off and cannot be turned on until the bills are paid.
  • Sell warehouses: list a warehouse with all its equipment for sale. Other players can see the equipment and buy it, and the money goes to the seller’s bank even if they are offline. All rigs must be off and bills or profits settled first.
  • Logging off inside: a player who logs off inside a warehouse is teleported back into it on the next login.
  • Map blips for own, owned and for-sale warehouses
  • Translations, keybinds, prices, profits and bills in config.lua

Requirements

  • ESX (option Config.OldESX for ESX 1.1)
  • oxmysql

Installation

  • Import sql.sql (creates the crypto table).
  • Adjust prices, profits, electricity and controls in config.lua.
  • Add ensure east_crypto_esx to your server.cfg.

Related resources

All resources →