[Paid] Weed Planting [ESX/QB]

:movie_camera: Preview

:crystal_ball: Features

  • Fully configurable math system for growth
  • Corner selling
  • Support for qtarget/ox_target/qb-target
  • Leaving finger prints on plants if you dont have glowes, supports skinchanger/illenium-appearance/wasabi-appearance
  • Jobs set uped in config can search for finger prints and scan them
  • Possibility to set up max plants per player
  • Possibility to set up forbidden zones for plants
  • Admin commands for, delleting plants, turn off/on map blips of planted plants, teleporting to wanted plant, getting plant id
  • Discord logs
  • Optimized

More about script

Script can work 2 ways: via third eye target script (supported: qtarget/ox_target/qb-target) or point zones (distance check).

Growth system

the growth system was made on following principle: In every interval of 35 sec following is being done:

  • hydration and feed are reduced by 3% and growth increased by 2% (all can be changed in config)
  • if the feed and hydration are above 65% quality will be increased by 5% otherwise it will be decreased by 5%
  • there is 3 stages of plants, when growth is 55% you are moving to stage II and when growth is 85% you are moving to stage III
  • when you are at 100% growth you can’t anymore feed and hydrate plants, only destroy or harvest
  • upon harvesting next math is used: Quality of plant / 2 = final item witch later can be sold to NPC (corner selling)
    all this math can be changed via config file :slightly_smiling_face:

Finger Print Feature

In config you have opportunity to disable this feature. If you don’t wear gloves aka clothing variations that you put in config while hydrating or feeding you will leave finger prints at plant which certain jobs that are configured in config can scan. Supported scripts for clothing are: skinchanger (esx), illenium appearance (esx/qb), wasabi appearance (esx/qb), qb-clothing

Corner Selling

Our top priority is script optimization, for that reason corner selling is only available via third eye script. You have /cornersell (can be changed in config) for disabling/enabling third eye option on NPC for selling. In config you can configure selling price for each day in week

Other

Plants are saved every 10 min in database so you won’t have any delay on server caused by this resource
Plants are also saved every time script is restarted so you can freely restart this resource
Script SQL file is installed automatically if table in SQL is missing so you don’t need to worry

Known Bugs/Problems

Currently none, if you find some bugs/problems or you have any misunderstanding feel free to reach us

Worth mentioning

  • The script has been thoroughly tested with the latest versions of all the scripts listed in the requirements section. We can ensure that the script is compatible and functions as intended when using these up-to-date dependencies. However, we cannot guarantee the proper functioning of the script with older versions of the required scripts. It is highly recommended to use the specified latest versions to ensure the best performance and compatibility.

🗎 DOCS

:shopping_cart: BUY HERE: https://uniq.tebex.io/

:package: OTHER WORKS

e

:grey_exclamation: Resource Info

Code is accessible :heavy_check_mark:
Subscription-based :x:
Lines (approximately) 1800+
Requirements oxmysql/ox_lib/esx or qb
Support :heavy_check_mark:
154 Likes

You should release version without corner selling - Just weed planting

1 Like

There is an option in the config file to disable corner selling.

1 Like

Update for latest oxmysql is pushed :smiley:

good scripts <3

UPDATE 1.1

  • script automatically detects framework (esx/qb)
  • better system for spawning plants
  • own system for checking does player have gloves (should work with any clothing/appearance script)
  • added support for: ox_inventory | qs_inventory | qb-inventory | ps-inventory
  • code improvement

Update can be downloaded at Keymaster

nice script :+1:

nice work :slightly_smiling_face:

That’s great. The script. :star_struck:

UPDATE 1.2

  • Script is not anymore limited to specific inventory, in server/editable.lua you can add code from your inventory if provided code doesn’t work for you
  • Major code tweaks
  • Reduced distance between plants from 5 units to 2.5

TODO

  • Support multiple types of weed strains

Update can be downloaded at Keymaster

UPDATE 1.7

  • added feature to create an unlimited number of weed strains (in shared/config.lua you have an example for one, you can also find images in the item_images folder).
  • locales are moved to locales/en.lua for easier understanding.
  • corner selling doesn’t use any third-party scripts anymore (qtarget, ox_target, or qb-target).
  • since your weed in the older version didn’t have their strain type, in the new version, their strain type will be identified as unknown. You can still harvest them and sell (when harvesting, you will get the item that you used before in the items.rewardItem table, when selling them, their price can be defined under priceForUnknown).
  • the webhook URL for logs is now moved to the server-only file shared/server_config.lua for security reasons.
  • accessible code can be found here.
  • code improvement

You can test new version on our test server

Is it possible to add/change prop for new strains?