/!\ THIS RESOURCE REQUIRES SIRE VLC HORSES TO WORK ! https://sire-vlc-scripts.tebex.io/package/5735134 /!\
The stud service requires Sire VLC Breeding to work.
A complete player horse market system for Sire VLC Horses, featuring horse listings instant purchases, offers, timed auctions, stud services, seller ratings, transaction history, and buyer management.
Players can list their own horses on the market, choose between multiple sale types, browse available horses by category, inspect horse details, place offers or bids, purchase horses instantly and use listed stallions for breeding services. Sellers can manage active listings, accept offers, cancel listings, rate buyers, ban unwanted buyers, and track completed sales through a persistent market ledger.
The system includes configurable sale limits, listing timers, auction anti-snipe protection, bid increments, market ordering, horse category filters, seller and buyer ratings, Discord webhook logs, and stable-based permission control.
Features:
[x] Complete player-to-player horse market system
[x] Integrated with SireVLC Horses stable menus
[x] List owned horses for sale
[x] Instant buy listings
[x] Instant buy with offers
[x] Offers-only listings
[x] Timed auction system
[x] Configurable auction duration
[x] Auction anti-snipe protection
[x] Configurable bid increments
[x] Stud service listings for breeding (REQUIRES SIRE VLC BREEDING !)
[x] Horse transfer after purchase
[x] Persistent market listings
[x] Seller listing management
[x] Cancel active listings
[x] View and accept offers
[x] Buyer and seller rating system
[x] Persistent sale and purchase ledger
[x] Seller statistics and sales tracking
[x] Buyer ban system
[x] Browse all listings or filter by seller
[x] Horse category filters
[x] Market ordering by recent, alphabetical, gender, price, breed name, and category
[x] Displays horse details, breed, coat, gender, age, price, seller rating, current offers, bids, and timers
[x] Stable permission support for market access, buying, selling, and rating
[x] Configurable maximum active listings per player
[x] Configurable minimum breeding phase before sale
[x] Dollar and gold price support
[x] RSG custom money type support
[x] Discord webhook support for purchases and ratings
[x] Compatible with SireVLC Horses
[x] Compatible with SireVLC Breeding stud service flow
## Installation Instructions
## 1. Link your server to CFX Portal
Make sure your server is properly linked to your CFX Portal account.
## 2. Install oxmysql
Ensure oxmysql is installed and working correctly on your server.
## 3. Install the required SireVLC resources
Download the required resources from your Tebex email, our Discord file section, or your cfx.re Granted Assets page.
Required resources:
- `sire_menu`
- `sirevlc_notifications`
- `sirevlc_horses`
- `sirevlc_horses_interactions`
- `sirevlc_horse_market`
Use an archive extractor such as WinRAR and FTP software such as WinSCP. Make sure the FTP transfer mode is set to BINARY MODE.
Ensure the `.fxap` files are correctly imported for the protected resources. `.fxap` files are required for cfx.re authentication.
## 4. Import the database file
Import `sirevlc_horse_market.sql` into your database.
This file creates the required market tables:
- `sirevlc_horse_market`
- `sirevlc_horse_market_offers`
- `sirevlc_horse_market_ratings`
- `sirevlc_horse_market_history`
- `sirevlc_horse_market_history_stats`
- `sirevlc_horse_market_seller_stats`
- `sirevlc_horse_market_bans`
- `sirevlc_horse_market_stud_service`
Make sure `sirevlc_horses` is already installed and that the `sirevlc_horses_v3` table exists before using the horse market.
## 5. Configure your framework
Open:
```text
sirevlc_horse_market/CONFIG/MAIN.lua
```
Select one framework only:
```lua
Config.VORP = true
Config.RSG = false
```
or:
```lua
Config.VORP = false
Config.RSG = true
```
RedEMRP is not supported by `sirevlc_horse_market`.
For RSG servers, also verify the money type names:
```lua
Config.RSG_CASH_MONEY_TYPE = "cash"
Config.RSG_GOLD_MONEY_TYPE = "bloodmoney"
```
Set these values to match your RSG money configuration.
To disable gold handling on RSG, set:
```lua
Config.RSG_GOLD_MONEY_TYPE = "none"
```
or:
```lua
Config.RSG_GOLD_MONEY_TYPE = false
```
When disabled, gold prices, bids, payouts, history totals, and listing payloads are treated as `0` on the server.
## 6. Configure market options
In `CONFIG/MAIN.lua`, review the main options before starting the resource:
```lua
Config.MAX_HORSE_SELL
Config.LOCK_SELLING_TIME_ENABLED
Config.LOCK_SELLING_TIME
Config.ALLOW_HORSE_SALE_BEFORE_BREEDING_PHASE_4
Config.MIN_SELLING_BREEDING_PHASE_PLAYER
Config.PAGINATION_NUMBER
Config.MARKET_ORDER_DEFAULT
Config.AUCTION_ANTI_SNIPE_ENABLED
```
## 7. Configure stable permissions
Horse market access is controlled from `sirevlc_horses/CONFIG/STABLES.lua` inside each stable `Menu_Options_Enabled` table:
```lua
horse_market_access = true
horse_market_sell = true
horse_market_buy = true
horse_market_rating = true
```
Missing values default to `true` for compatibility with older stable configs.
## 8. Configure Discord webhooks
In `CONFIG/MAIN.lua`, set the horse market webhook options:
```lua
Config.HORSE_MARKET_WEBHOOK_ENABLED = false
Config.HORSE_MARKET_WEBHOOK_URL = ""
Config.HORSE_MARKET_WEBHOOK_TITLE = "Horse Market"
Config.HORSE_MARKET_WEBHOOK_COLOR = 16766720
Config.HORSE_MARKET_WEBHOOK_PURCHASE_ENABLED = true
Config.HORSE_MARKET_WEBHOOK_RATE_SELLER_ENABLED = true
Config.HORSE_MARKET_WEBHOOK_RATE_BUYER_ENABLED = true
Config.HORSE_MARKET_WEBHOOK_ACTION_PURCHASE = "Horse market purchase"
Config.HORSE_MARKET_WEBHOOK_ACTION_RATE_SELLER = "Seller rated"
Config.HORSE_MARKET_WEBHOOK_ACTION_RATE_BUYER = "Buyer rated"
```
When enabled, the market can send webhooks for:
- a horse purchased through the horse market
- a buyer rating a seller
- a seller rating a buyer
## 9. Ensure resources in the correct order
In your `server.cfg` or `resources.cfg`, ensure the resources in this order:
```cfg
ensure oxmysql
ensure \
ensure sire_menu
ensure sirevlc_notifications
ensure sirevlc_horses
ensure sirevlc_horses_interactions
ensure sirevlc_horse_market
```
Important:
- `sire_menu` must be ensured before all Sire VLC resources.
- `sirevlc_horses` must be ensured before `sirevlc_horse_market`.
- Do not ensure these resources as subfolders, as this can break the ensure order.
## 10. Restart the server
After importing the SQL and setting the framework config, restart the server.
Check the server console for SQL or framework errors during startup.
## Requirements
- VORP or RSG framework
- oxmysql
- sire_menu
- sirevlc_notifications
- sirevlc_horses
- sirevlc_horses_interactions
- sirevlc_horse_market
RedEMRP is not supported.
Join the discord to get the latest news, discounts and much more ! (Find the link on the main page of this tebex)
All files are encrypted except the config
Purchase Policy :
Every purchase is a definitive purchase, no refunds