About MyBank
MyBank offers a call money account for Scrap or other currencies with dynamic, randomized interest rates, a modern UI and optional banker NPC in the Compound. Players can deposit Scrap (skin-based), earn daily interest, and withdraw the total amount (base + interest, optional different skin).
Features
- Banker NPC @ Compound: Fixed spawn point, rotation/position in code; auto-respawn.
- Modern UI: Tabs (account balance, deposit, withdrawal, transaction statements, interest rates), pop-up notifications, opens/closes near NPC.
- Dynamic Daily Interest: Randomized daily rates within a configurable range (min/max percentage). Each day, a new rate is rolled and applied to all accounts. Supports both positive and negative interest.
- Negative Interest: Optional daily penalty on deposits (e.g., -12% to +5% range).
- Wipe Interest Penalty: Optional penalty applied to all accounts when a server wipe is detected (e.g., -25% of balance).
- Interest History: Transaction log showing all interest (positive, negative, and wipe fees) applied to each account.
- Skin-aware banking: Deposits/withdrawals respect ShortName + SkinId (normal vs. ‘golden’ scrap).
- Neon signs (optional): Two signs next to the banker; images via ImageLibrary from configured URLs; edit protection.
- Chat toggle: /mybank command to open/close the UI.
Permissions
- mybank.use – Use of the plugin
- mybank.editsigns – (optional) Edit signs if protection is relaxed
Config Options
- DailyInterestMinPercent: Minimum daily interest rate (can be negative). Default: -12%
- DailyInterestMaxPercent: Maximum daily interest rate. Default: 5%
- WipeInterestPercent: Penalty percentage applied to all accounts on wipe detection. Default: 25%
- UseNPC: Enable/disable the banker NPC spawn. Default: true
- NpcName: Display name of the banker NPC. Default: “Banker”
- NpcClothing: List of clothing items to equip on the NPC (ShortName + SkinId)
- NeonSign215ImageUrl: Image URL for the 125x215 neon sign
- NeonSign125ImageUrl: Image URL for the 125x125 neon sign
- DepositItem: Item definition for deposits (ShortName + SkinId)
- WithdrawItem: Item definition for withdrawals (ShortName + SkinId)
Requirements/dependencies
- ImageLibrary – For loading and applying neon sign images
- MonumentFinder – For locating the Compound monument
Commands
- /mybank – Toggle the banking UI (opens when near the banker, closes with button or moving away)
Usage
- Players approach the banker NPC at Compound
- UI opens automatically when in range
- Players can deposit scrap, withdraw balance, view transactions, and monitor interest rates
- Interest is applied automatically every 24 hours with a new random rate
- On server wipe, an additional wipe penalty is applied to all accounts
Load, run, and enjoy!