Kenny Market - Store & Mission System with Bandit Ambushes

[RedM] [Paid] Kenny Market - Store & Mission System with Bandit Ambushes

Price: $25 USD
Purchase: KennyReven · KenNy Store
Support: Discord (kenny5148) or PM me on CFX.re
Demo: YouTube
Tags: [RedM], [VORP], [Paid], [Script]


Description

Saddle up for Kenny Market, a robust store and mission system for RedM servers running VORP Core. This script lets players buy and manage stores, trade items, and embark on delivery missions while battling bandit ambushes, all crafted to capture the gritty Red Dead Redemption (RDR) atmosphere. Perfect for roleplay servers, it offers immersive gameplay, a customizable UI, and seamless integration with VORP Core.

Key Features

  • Store Management:
    • Purchase stores for $5000 (configurable) and manage stock, prices, and finances.
    • Buy items via a cart-based UI with optional weight limits.
    • Owners can add/remove items for sale, adjust prices (up to a max), request items via missions, and add/withdraw store funds.
    • Sell stores for 70% of the original price (configurable).
  • Delivery Missions:
    • Accept missions to deliver items to stores, guided by blips and GPS routes.
    • Survive waves of 2-5 bandit NPCs (spawning every 30 seconds, 40-50m radius) during deliveries.
    • Earn $25 per item (configurable) upon completion.
    • Missions cancel on death or disconnect.
  • Western UI:
    • HTML-based UI for stores, carts, and management dashboards.
    • Customizable button and header colors (e.g., rgb(46, 46, 46) for a wooden look).
    • Uses item icons from vorp_inventory (e.g., bandage.png, stim.png).
  • VORP Core Integration:
    • Manages money, inventory, and notifications via VORP Core.
    • Stores data in MySQL using oxmysql for persistence.
  • Configurability:
    • Define multiple stores with unique coordinates and items (e.g., bandages, stims).
    • Set mission pickup points for specific items or random locations.
    • Adjust bandit spawns, timers (5s load, 20s cleanup), and rewards.
    • Multi-language support with a translation table.
  • Performance:
    • Optimized client-side loops for markers and NPC management.
    • Efficient server-side MySQL updates.
    • Debug mode for troubleshooting.

Why Kenny Market?

  • Immersive Roleplay: Store ownership and bandit ambushes create engaging gameplay.
  • Plug-and-Play: Easy setup with automatic MySQL table creation.
  • Customizable: Tailor stores, missions, and UI to your server’s theme.
  • Stable: Tested on RedM with no major bugs.

Installation

  1. Dependencies:
  • vorp_core
  • oxmysql
  • vorp_inventory
  • vorp_progressbar
  1. Steps:
  • Copy the kenny_market folder to your resources/ directory.
  • Add ensure kenny_market to server.cfg after dependencies.
  • Place item images (e.g., bandage.png) in vorp_inventory/html/img/items/ or update fxmanifest.lua.
  • Restart your server. The stores table is created automatically in MySQL.
  1. Configuration:
  • Edit Config.lua to customize stores, items, mission coordinates, and translations.
  • Example store:
stores = {
    ["MARKET"] = {
        coordinates = {
            {
                buy_items = vector3(-356.0299, 741.8300, 117.0999),
                buy_store = vector3(-353.9899, 725.0999, 117.0400),
                mission = vector3(-365.6000, 726.7199, 116.3700),
            },
        },
        items = {
            {name = "bandage", label = "Bandage", amount = 500, weight = 1.0, price = 100, recommended_price = 100, max_price = 1000, request_price = 50, mission_money = 25, max_request = 500},
        },
        use_blip = true,
        blip = -984192463,
        blip_name = "Market",
        price_store = 5000,
        percentage_sell = 30,
    },
}

In-Game Usage

  • Access Stores:
    • Press G near buy_items (shop) or buy_store (management) coordinates.
    • Buy unowned stores or manage owned ones.
  • Shopping:
    • Browse items, add to cart, and purchase (weight-checked if enabled).
  • Store Management:
    • Add/remove items, change prices, request items, or manage funds.
    • Sell the store for a reduced price.
  • Missions:
    • Accept a mission to deliver items.
    • Travel to the pickup point, wait 5 seconds to load, and deliver to the store.
    • Survive 2-5 bandits per wave to earn rewards.
  • Notifications:
    • VORP notifications (e.g., “Mission completed: $100”) guide players.

Customization

  • Missions:
    • Add pickup points in missions_coords:
missions_coords = {
    ['RANDOM_MISSION'] = {
        vector3(-259.2000, 967.4299, 137.0099),
    },
}
  • Adjust bandit_min (2), bandit_max (5), or mission_load_time (5000ms).
  • Stores:
    • Add new stores in Config.lua with custom items and blips (see rdr3_discoveries).

Screenshots





Support

  • Discord: kenny5148
  • CFX.re PM: Message me for quick responses.
  • Debugging: Enable Config.debug = true for logs and share details with me.

Required Information

Code
Code is accessible Yes
Subscription-based No
Lines (approximately) 1200
Requirements vorp_core, oxmysql, vorp_inventory, vorp_progressbar
Support Yes

Built by Kenny Market for RedM roleplay servers. Start trading in the Wild West today!