Skip to content

Docs

Documentation

Installation guides, configuration references and troubleshooting for every script.

General installation

Requirements, install steps and update path shared by every MD SCRIPTS resource.


Every MD SCRIPTS resource is independent: it installs and runs on its own, and several resources can run side by side without any shared library to install. This page covers what they all have in common. Open the page of the script you bought for its own options, commands and exports.

Requirements

  • A recent recommended FXServer artifact for RedM
  • OneSync enabled
  • oxmysql for the scripts that save placed objects (Punching Bag, Speed Bag). Boxing Gloves needs no database.
  • No ox_lib and no ox_target: none of the boxing scripts depend on them
  • Your framework (VORP or RSG) and its own dependencies, or a standalone server that already handles spawning and characters

Download

Your purchase is delivered as a Cfx.re escrow asset on the account you logged in with at checkout. Download it from your keymaster (portal.cfx.re), under Granted Assets. Configuration files, locales and bridges stay open and editable; the core stays protected by escrow.

Install steps

  1. Copy the resource folder into resources and keep its name (md_boxing_gloves, md_punching_bag, md_speedbag). Exports and events rely on it.
  2. Open config.lua and set Framework to 'vorp', 'rsg' or 'standalone'. 'auto' only works when exactly one of VORP or RSG is running.
  3. Register the inventory item:
    • VORP: import install/vorp_items.sql into your database.
    • RSG: copy the entry of install/rsg_items.lua into rsg-core/shared/items.lua, without the outer return.
  4. Copy the image from install/images into your inventory image folder: vorp_inventory/html/img/items or rsg-inventory/html/images.
  5. Add the resource to your server.cfg, after your framework, your inventory and oxmysql:
ensure oxmysql
ensure md_boxing_gloves
ensure md_punching_bag
ensure md_speedbag
  1. Restart the server, then reconnect your game client so the new models are streamed.

Shared options

These keys exist in the config.lua of every resource:

OptionDefaultDescription
Framework'vorp''vorp', 'rsg', 'standalone', 'custom' or 'auto'.
Inventory'auto''auto', 'vorp', 'rsg', 'custom' or 'none'.
Locale'fr'In-game language: 'en' or 'fr'. Texts live in the locales folder.
AutoRegisterItemstrueRegisters the usable item automatically. Set to false if your inventory calls the UseItem server export itself.
EnableCommandstrueShows or hides the chat commands. It only hides them: it is not a permission.
Commandsper scriptChat command names, renameable.

Configuration changes apply on the next resource start.

Updating

Updates are free and arrive through the same keymaster asset. Replace the resource folder, keep your edited config.lua, locales and bridge files, then restart. Saved bags live in their database tables: never drop them when updating.

Troubleshooting

The resource does not start or cannot be found. The folder was renamed or nested twice. The manifest must sit at resources/md_boxing_gloves/fxmanifest.lua, not one level deeper.

The item exists but nothing happens when used. The resource starts before your inventory, or AutoRegisterItems is false without a call to the UseItem export. Move the ensure line below your inventory.

Models are invisible or missing. The client was not reconnected after the restart that added the resource.