About MBCoins
MBCoins — Lightweight Currency System for Rust Servers
MBCoins is a simple, fast, and reliable currency system built for Rust servers.
It provides an easy way to store, modify, and retrieve player balances — perfect for shops, kits, privileges, rewards, vote systems, or any custom economy-based plugins.
This plugin is extremely lightweight and works as a backend economy module for other MBSystem plugins or your own custom scripts.
Features
- Fast and optimized player balance storage
- Automatic player registration on connect
- Easy-to-use API for other plugins
- Very lightweight — no UI, no unnecessary overhead
- Periodic auto-save + save on unload/shutdown
- Safe and stable for high-population servers
API Methods
Integrate MBCoins into other plugins easily:
Get player balance
float balance = (float)MBCoins?.Call("GetPlayerBalance", playerId);
Add coins
MBCoins?.Call("API_PUT_BALANCE_PLUS", playerId, amount);
Remove coins
MBCoins?.Call("API_PUT_BALANCE_MINUS", playerId, amount);
Admin Commands
Give coins
mb.give <playerId> <amount>
Example:
mb.give 76561198000000000 100
Data Storage
Balances are stored in:
oxide/data/MBSystem/MBCoins/DataMBCoins.json
Â
