G[S]cripts
  • G[S]cripts Documentation
  • FiveM/RedM Asset Escrow
  • Trucking Job
    • Installation
    • Commands & Exports
    • Advanced Configuration
      • shared/config.lua
      • client/edit.lua
      • server/edit.lua
  • Advanced Trailers
    • Installation
    • Commands & Exports
    • Advanced Configuration
      • shared/config.lua
      • client/edit.lua
  • Motorhomes
    • Installation
    • Commands & Exports
    • Advanced Configuration
      • shared/config.lua
      • client/edit.lua
      • client/framework/*lua
      • server/framework/*.lua
  • Moonshining
    • Installation
    • Advanced Configuration
      • config.lua
      • editable/client.lua
  • Bank Robbery
    • Installation
    • Advanced Configuration
      • config.lua
      • editable/client.lua
      • editable/server.lua
  • GANG WARS
    • Installation
    • Advanced Configuration
      • config.lua
      • editable/client.lua
      • editable/server.lua
    • Exports
Powered by GitBook
On this page
  • Download The Assets
  • Dependencies (Required)
  • Dependencies (Optional)
  • Asset Order
  • Configuration
  • Item
  1. Moonshining

Installation

Here you can learn the basic instructions to install the resource and get it running. As long as each step is followed correctly, there should no issues!

Previousserver/framework/*.luaNextAdvanced Configuration

Last updated 5 months ago

It's recommend that you read each step carefully without skipping any lines, since all documentation is important and should not be ignored under any circumstances.


Download The Assets

To find and download the asset, you must have made the purchase using your own Cfx/keymaster account. Otherwise, you can use keymasters transfer system to transfer the asset to a different Cfx/keymaster account.

Once the purchase is made on our official website, you will receive your asset directly in your Cfx portal, in your own panel you can download the asset and install it following the following documentation.

If you have more problems regarding FiveM/RedM Escrow, accounts or asset startup errors you can go here and see if any of them match your case.


Dependencies (Required)

This asset has some dependencies that are mandatory. If you do not have these dependencies, your asset will probably not start and/or have some error messages in its command console.

Dependencies
Direct links

OxMySQL

vorp_core

vorp_inventory

vorp_menu

Dependencies (Optional)

This asset has some dependencies that are optional. You can replace these with any resource that you'd like

Dependencies
Direct links

Legends-Keypress

Asset Order

You need to make sure assets start in the correct order, if something goes wrong you will probably get errors about exports not found, do not skip this step!

Make sure the order of assets are correct in your server.cfg file.

-- First, frameworks required
ensure vorp_core
ensure vorp_inventory
ensure vorp_menu

-- All other resources including
ensure legends-keypress -- Optional
ensure gs-moonshining

Configuration

The following are the basic requirement's to get started with your framework. Open the 'config.lua' and follow the steps below...

Locale = 'en', -- Locale to use

FrameworkExportName = 'vorp_core', -- Export name for the framework
FrameworkSelectedCharacter = 'vorp:SelectedCharacter', -- Server side event triggered when character is selected

InventoryExportName = 'vorp_inventory', -- Export name for the inventory
InventoryOpenEvent = 'vorp_inventory:OpenInv', -- Event to open the inventory

Item

Inside of the the root folder you will find an SQL file for the items table within your database. It will add the items to your database for vorp inventory. If you already have your own items then you can skip this. Just make sure you update the config with your items that you want to use.

Item images are NOT included. You will need to make or get these yourself. This is what I used: https://github.com/TankieTwitch/FREE-RedM-Image-Library The item names already match the corresponding image names within this resource

VORP Inventory Items
INSERT INTO `items` (`item`, `label`, `limit`, `can_remove`, `type`, `usable`, `groupId`, `metadata`, `desc`, `weight`) VALUES
('resource_still_kit', 'Still Kit', '5', '1', 'item_standard', '1', '1', '{}', 'A kit for setting up a still to make distilled spirits.', '0.25'),
('resource_still_bucket', 'Mash Bucket', '4', '1', 'item_standard', '1', '1', '{}', 'Helps with the fermentation of a mashed wash', '0.2'),
('consumable_alcohol_moonshine_apple_crumb', 'Apple Crumb Moonshine', '20', '1', 'item_standard', '1', '1', '{}', 'Apple Crumb Moonshine is a handcrafted spirit blending sweet apples with buttery crumb flavors. Smooth and versatile, perfect neat or in cocktails.', '0.25'),
('consumable_alcohol_moonshine_apple', 'Apple Moonshine', '20', '1', 'item_standard', '1', '1', '{}', 'Apple moonshine is a handcrafted spirit distilled with sweet, crisp apples. Smooth and aromatic, it’s perfect for sipping neat or mixing into cocktails.', '0.25'),
('consumable_alcohol_moonshine_blackberry', 'Blackberry Moonshine', '20', '1', 'item_standard', '1', '1', '{}', 'Blackberry moonshine is a handcrafted spirit infused with ripe blackberries. Sweet, fruity, and smooth—perfect neat or in cocktails.', '0.25'),
('consumable_alcohol_moonshine_peach', 'Peach Moonshine', '20', '1', 'item_standard', '1', '1', '{}', 'Peach Moonshine is a handcrafted spirit infused with juicy peaches. Sweet, fragrant, and smooth—perfect for sipping or mixing into cocktails.', '0.25'),
('consumable_alcohol_moonshine_raspberry', 'Raspberry Moonshine', '20', '1', 'item_standard', '1', '1', '{}', 'Raspberry Moonshine is a handcrafted spirit infused with ripe raspberries. Sweet, tangy, and smooth—perfect for sipping or mixing into cocktails.', '0.25'),
('consumable_alcohol_moonshine_tropical_punch', 'Tropical Punch Moonshine', '10', '1', 'item_standard', '1', '1', '{}', 'Tropical Punch Moonshine is a handcrafted spirit infused with vibrant tropical fruits. Sweet and smooth, it’s perfect for sipping or mixing into exotic cocktails.', '0.25'),
('consumable_alcohol_moonshine_wild_cider', 'Wild Cider Moonshine', '10', '1', 'item_standard', '1', '1', '{}', 'Wild Cider Moonshine is a handcrafted spirit infused with tangy wild cider. Crisp and smooth, its perfect for sipping or mixing into cocktails.', '0.25'),
('consumable_alcohol_moonshine', 'Simple Moonshine', '20', '1', 'item_standard', '1', '1', '{}', 'Plain Moonshine is a handcrafted, pure distilled spirit. Bold and smooth, it’s perfect for sipping neat or using as a versatile base in cocktails.', '0.25'),
('consumable_alcohol_moonshine_plum', 'Plum Moonshine', '20', '1', 'item_standard', '1', '1', '{}', 'Plum Moonshine is a handcrafted spirit infused with rich plums. Sweet and smooth, it’s perfect for sipping neat or mixing into cocktails.', '0.25'),
('consumable_alcohol_moonshine_alaskan', 'Alaskan Ginseng Moonshine', '20', '1', 'item_standard', '1', '1', '{}', 'Alaskan Ginseng Moonshine is a handcrafted spirit infused with wild Alaskan ginseng. Earthy and invigorating, perfect for sipping neat or mixing into unique cocktails.', '0.25'),
('consumable_alcohol_moonshine_american', 'American Ginseng Moonshine', '20', '1', 'item_standard', '1', '1', '{}', 'American Ginseng Moonshine is a handcrafted spirit infused with premium American ginseng. Earthy and smooth, perfect for sipping neat or mixing into unique cocktails.', '0.25'),
('consumable_mash_apple', 'Apple Mash', '20', '1', 'item_standard', '1', '1', '{}', 'A mashed mixture of apples used for various recipes', '0.25'),
('consumable_mash_apple_crumb', 'Appl Crumb Mash', '10', '1', 'item_standard', '1', '1', '{}', 'A mashed mixture of mint and apples used for crafting Moonshine', '0.25'),
('consumable_mash_blackberry', 'Blackberry Mash', '20', '1', 'item_standard', '1', '1', '{}', 'A mashed mixture of blackberries used in cooking and beverages', '0.25'),
('consumable_mash_peach', 'Peach Mash', '20', '1', 'item_standard', '1', '1', '{}', 'A mashed mixture of peaches used in culinary preparations', '0.25'),
('consumable_mash_raspberry', 'Raspberry Mash', '20', '1', 'item_standard', '1', '1', '{}', 'A mashed mixture of raspberries used for culinary purposes', '0.25'),
('consumable_mash_plum', 'Plum Mash', '20', '1', 'item_standard', '1', '1', '{}', 'A mashed mixture of plums used in cooking and distilling', '0.25'),
('consumable_mash_tropical_punch', 'Tropical Punch Mash', '10', '1', 'item_standard', '1', '1', '{}', 'A mashed mixture of a veriety of berries used for making moonshine', '0.25'),
('consumable_mash_wild_cider', 'Wild Cider Mash', '10', '1', 'item_standard', '1', '1', '{}', 'A powerful and highly concentrated mashed batch of apple cider and mints', '0.25'),
('consumable_mash_strong', 'Strong Mash Batch', '20', '1', 'item_standard', '1', '1', '{}', 'A powerful and highly concentrated mash batch for advanced recipes', '0.25'),
('consumable_mash_american', 'American Gin Mash', '20', '1', 'item_standard', '1', '1', '{}', 'A blend of ingredients used in the production of Alaskan gin', '0.25')
ON DUPLICATE KEY UPDATE
`item`=VALUES(`item`), `label`=VALUES(`label`), `limit`=VALUES(`limit`), `can_remove`=VALUES(`can_remove`), `type`=VALUES(`type`), `usable`=VALUES(`usable`), `groupId`=VALUES(`groupId`), `metadata`=VALUES(`metadata`), `desc`=VALUES(`desc`), `weight`=VALUES(`weight`);

For more advanced configurations, please visit the Advanced Configurations section.

You can also join the discord for updates, player shared configs, and support.

FiveM/RedM Asset Escrow
Advanced Configuration
https://github.com/overextended/oxmysql
https://github.com/VORPCORE/vorp_core-lua
https://github.com/VORPCORE/vorp_inventory-lua
https://github.com/VORPCORE/vorp_menu
https://github.com/Legends-Rising/legends-keypress