About MBRewardOnline
MBRewardOnline
MBRewardOnline is a flexible Rust (uMod/Oxide) plugin that rewards players for real time spent online.
It supports multiple currencies at the same time, permission-based rewards, time accumulation, and persistent data storage.
Perfect for servers that want to encourage active play instead of AFK farming.
Features
- ⏱ Rewards for real online time
-
Persistent data storage (progress is saved between restarts)
-
Permission-based rewards
-
Multiple currencies per permission
-
Automatic timer reset after reward
-
Clean data structure (MBSystem/MBRewardOnline)
-
Fully configurable via config
-
Clean, optimized code (no heavy API dependencies)
Supported Economy Systems
- MBCoins (mb.give)
- Economics (economics.deposit)
- ServerRewards (sr add)
A single permission can reward multiple currencies at once
Example: 100 MBCoins + 50 Economics + 25 ServerRewards
Permissions
mbrewardonline.premium mbrewardonline.vip mbrewardonline.default
Permission priority is defined by config order
(the first matching permission is used)
Example Configuration
{ "Reward Interval (Minutes)": 10, "Permission Rewards (permission => economy => amount)": { "mbrewardonline.premium": { "MBCoins": 100, "Economics": 50, "ServerRewards": 25 }, "mbrewardonline.vip": { "MBCoins": 50, "Economics": 25, "ServerRewards": 10 }, "mbrewardonline.default": { "MBCoins": 20 } } }
Data Storage
Player data is saved to:
oxide/data/MBSystem/MBRewardOnline/MBRewardOnline.json
Stored data:
- accumulated online minutes
- progress persists through restarts
How It Works
- Player joins → data entry is created
- Every minute online is counted
- When the interval is reached → rewards are given
- Timer resets and starts counting again
🛠 Requirements
uMod / Oxide
- (Optional) Economics
- (Optional) ServerRewards
- MBCoins (if using that economy)
Planned Features
- /online command
- UI progress bar
- Data reset on wipe
- Reward multipliers (e.g. x2 on weekends)
Author
- Barry_Allenn
-
Discord: https://discord.gg/6b5tkpDb57
- Part of the MBSystem plugin ecosystem.
