> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mhscripts.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Server Side

### Server Exports

You can use these exports from other resources:

```lua theme={null}
exports['mh_gym']:GetStats(source)
exports['mh_gym']:GetStatsProfile(source)
exports['mh_gym']:AddStat(source, statName, amount)
exports['mh_gym']:GetBusinessBalance(gymId)
exports['mh_gym']:AddBusinessMoney(gymId, amount, transactionType, reason, source)
exports['mh_gym']:RemoveBusinessMoney(gymId, amount, transactionType, reason, source)
exports['mh_gym']:RegisterSupplementShop()
exports['mh_gym']:ApplySupplement(source, itemName)
exports['mh_gym']:RemoveSupplement(source, itemName)
exports['mh_gym']:ClearSupplements(source)
exports['mh_gym']:GetSupplementEffects(source)
exports['mh_gym']:GetActiveSupplements(source)
```

> [!NOTE]
>
> `UseSupplement` and `UseEquipment` are also exported, but they are called automatically by your inventory through each item's `server.export` field (see `INSTALL/ox_inventory.md`) rather than being called manually.

### Events

While most events are internal, you can listen for this server-side event for integrations:

* `mh_gym:server:runtimeReady` - Triggered once runtime gym data has loaded and all database tables have been created.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.