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
- Copy the resource folder into
resourcesand keep its name (md_boxing_gloves,md_punching_bag,md_speedbag). Exports and events rely on it. - Open
config.luaand setFrameworkto'vorp','rsg'or'standalone'.'auto'only works when exactly one of VORP or RSG is running. - Register the inventory item:
- VORP: import
install/vorp_items.sqlinto your database. - RSG: copy the entry of
install/rsg_items.luaintorsg-core/shared/items.lua, without the outerreturn.
- VORP: import
- Copy the image from
install/imagesinto your inventory image folder:vorp_inventory/html/img/itemsorrsg-inventory/html/images. - 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
- 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:
| Option | Default | Description |
|---|---|---|
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. |
AutoRegisterItems | true | Registers the usable item automatically. Set to false if your inventory calls the UseItem server export itself. |
EnableCommands | true | Shows or hides the chat commands. It only hides them: it is not a permission. |
Commands | per script | Chat 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.