π₯ FX-MOONSHINEV2 β
Advanced moonshine production system for RedM with interiors, crafting, delivery missions, farming, and law mechanics.
π¦ INSTALLATION β
ensure fx-moonshinev2β’ Place the script inside resources/fx-moonshinev2 β’ Add ensure fx-moonshinev2 to your server.cfg β’ Restart your server β’ Make sure oxmysql and objectloader are started
βοΈ DEPENDENCIES β
oxmysql
objectloaderβ’ oxmysql β required for database system β’ objectloader β required for props and map objects β’ Script will not work without these
ποΈ SQL INSTALLATION β
CREATE TABLE IF NOT EXISTS `fx_moonshinev2` (...);
CREATE TABLE IF NOT EXISTS `fx_moonshinev2_shells` (...);β’ Stores moonshine machines and interiors β’ Required for saving player data
π¦ VORP ITEM INSTALL β
('moonshinetable', 'Moonshine Distiller Machine', ...),
('moonshine_original', 'Moonshine Original', ...),
('moonshine_blueflame', 'Moonshine Blueflame', ...),
('moonshine_red', 'Moonshine Redflame', ...),
('mulberry', 'Mulberry', ...),
('blackmulberry', 'Black Mulberry', ...),
('grape', 'Grape', ...),
('mp001_p_mp_still01x', 'Moonshine Still 1', ...)β’ Required items for VORP inventory β’ Includes machines, materials, and production items β’ Item names must match config
π¦ RSG ITEM INSTALL β
moonshine_original = { name = 'moonshine_original', label = 'Moonshine Original', ... },
mulberry = { name = 'mulberry', label = 'Mulberry', ... },
mp001_p_mp_still01x = { name = 'mp001_p_mp_still01x', label = 'Moonshine Still', ... },β’ Required items for RSG inventory β’ Same items must exist as VORP β’ Must be usable items
βοΈ BASIC SETTINGS β
Config.Language = "en"
Config.MaximumCreateMoonshineTable = 2
Config.MaxCraftMultipler = 5β’ Language β system language β’ MaximumCreateMoonshineTable β max still per player β’ MaxCraftMultipler β max batch crafting
π INTERIOR SYSTEM β
Config.Shells = {
["moonshine_interior1"] = {
interiorid = 77313
}
}β’ Defines moonshine interiors β’ Each player can own interiors β’ Includes stash, NPC, menu, camera
Config.AllowMoonshineInShell = falseβ’ Prevent placing machines inside interiors β’ Avoids exploit setups
π§ͺ CRAFT SYSTEM β
Config.Moonshines = {
["mp006_p_moonshiner_still01x"] = {
items = {
{
label = "Moonshine Original",
}
}
}
}β’ Defines crafting recipes β’ Each still has unique production list β’ Supports XP and progression
requiredItems = {
{name = "blackmulberry", count = 1}
}β’ Required materials for crafting
rewardItems = {
{name="moonshine_original", count = 1}
}β’ Items given after crafting
π LEVEL SYSTEM β
Config.Levels = {
[1] = 1000,
[2] = 2000,
}β’ Defines XP progression β’ Unlocks recipes
πΎ FARMING SYSTEM β
Config.FarmingZone = {
["mulberry"] = {
item = "mulberry"
}
}β’ Resource gathering zones β’ Used for crafting
π DELIVERY SYSTEM β
Config.Customers = {
{
name = "BILL WILLIAMSON"
}
}β’ NPC buyers for moonshine β’ Generates delivery missions
deliveryHours = {
enabled = true,
start = 20,
finish = 1
}β’ Time-based delivery system
π LAW SYSTEM β
Config.LawmenJobs = {
["sheriff"] = true
}β’ Defines law roles
Config.ActiveLawmenPlayerCount = 2β’ Minimum required lawmen
π£ EXPLOSION SYSTEM β
Config.ExplosionItem = "dynamite"
Config.ExplosionTime = 30β’ Allows destroying moonshine setups
Config.ExplosionDefuseItem = "lockpick"β’ Defuse mechanic
π― PROMPT SYSTEM β
Config.Prompts = {
["interactMoonshine"] = {
Label = "Moonshine Distiller Machine"
}
}β’ Interaction system
π NOTIFY SYSTEM β
Notify({
text = "Production started",
type = "success"
})β’ Framework-based notifications
βοΈ SERVER CONFIG β
SV_Config.Webhook = {
url = ""
}β’ Discord logging system
β οΈ IMPORTANT NOTES β
β’ oxmysql and objectloader must be running β’ SQL tables must be installed β’ Item names must match config β’ Players need materials for crafting β’ Interiors are limited
π¨ COMMON MISTAKES β
β’ Craft not working β missing items β’ Interior not spawning β wrong config β’ Delivery not starting β no mission β’ Explosion not working β missing item β’ XP not increasing β config issue
π SUMMARY β
FX-MOONSHINEV2 provides:
β’ Full production system β’ Interior system β’ Delivery missions β’ Farming system β’ Law mechanics β’ Advanced crafting & leveling
Β© Fixitfy Development
