================================================================
GhostyBank — Changelog
Author: Ger_Ghostface
================================================================
----------------------------------------------------------------
v3.0.0 | May 2026
----------------------------------------------------------------
[NEW] PlaceholderAPI Integration
Added full PlaceholderAPI support with 10+ placeholders.
Player placeholders (requires player context):
%ghostybank_balance% – Formatted bank balance
%ghostybank_balance_raw% – Raw balance as number
%ghostybank_level% – Current level number
%ghostybank_level_name% – Colored level display name
%ghostybank_interest_earned% – Total interest earned (formatted)
%ghostybank_interest_earned_raw% – Raw total interest
%ghostybank_interest_rate% – Interest rate of current level
%ghostybank_max_deposit% – Max deposit (formatted or ∞)
%ghostybank_upgrade_cost% – Upgrade cost (formatted or MAX)
%ghostybank_has_account% – Account exists? true / false
Top-list placeholders (global, replace N with 1–10):
%ghostybank_top_balance_N% – Player name at rank N by balance
%ghostybank_top_balance_N_value% – Formatted balance of rank N
%ghostybank_top_interest_N% – Player name at rank N by interest
%ghostybank_top_interest_N_value% – Formatted interest of rank N
%ghostybank_top_level_N% – Player name at rank N by level
%ghostybank_top_level_N_value% – Level number of rank N
PlaceholderAPI is optional — the plugin loads without it.
[NEW] Dynamic Level Management (in-game, no restart required)
Bank levels can now be added, updated and removed at runtime
via admin commands. All changes are saved to config.yml instantly.
/gadmin <player> addlevel <num> <name> <maxDeposit|-1>
<interestRate> <upgradeCost|-1> [maxInterest|-1]
/gadmin <player> removelevel <num>
→ Level 1 cannot be removed.
→ Players on the removed level are moved one level down.
/gadmin <player> listlevels
→ Lists all configured levels with their key stats.
[NEW] config.yml Reference Section
All PlaceholderAPI placeholders and level management commands
are now documented directly inside config.yml as comments,
including a ready-to-use scoreboard example.
[FIX] Admin GUI — %player% not replaced in tooltips
In the Admin GUI, the Reset and Delete item lore showed the
literal placeholder "XplayerX" instead of the target player's
actual name. The player name is now passed correctly and
displays as expected in both tooltip lines.
➤ Added MySQL Support >> You can still use the yaml storage. You can change it in the config
➤ Now activate or deactivate the interest system in the config.
➤ When a player changes their name, the plugin detects this and changes the bank account to the new player name (Admins will get a notify ingame)
➤ For each bank level, you can now customize whether you can earn unlimited interest or only up to a maximum value. Once that value is reached, the player must upgrade their bank level to continue earning interest
