- Modified data management to facilitate the implementation of new database systems
- Modified the bank/bank.json levels, now you don't have to put ("final_level": true) in the last level or in any other level, the previous levels were like this:
Code (Text):
{
"level" : 1,
"max_balance" : 5000,
"upgrade_cost" : 2500,
"final_level" : false
},
{
"level" : 2,
"max_balance" : 10000,
"upgrade_cost" : 5000,
"final_level" : false
}
Now they are like this:
Code (Text):
{
"levels": {
"1": {
"max_balance": 5000,
"upgrade_cost": 2500
},
"2": {
"max_balance": 10000,
"upgrade_cost": 5000
}
}
}
- if you update the plugin:
not necessary but you can add this manually at the bottom of config,yml:
Code (YAML):
# +----------------------------------+ #
# | | #
# | INVENTORY GUI CONFIG | #
# | | #
# +----------------------------------+ #
gui
:
# Interval in ticks to update Inventory GUI
# Modifying this requires a server restart for the changes to take effect
update-time
: 40
# (40 ticks = 2 seconds)
- Added variables in "/bank data" command:
%playerbanklevelupgradecost% -- Displays the amount needed to level up the bank for player
%playerbankofflineprofitaccrued% -- Displays the amount profit offline accrued for player
%playerbankofflineprofittimes% -- Displays the amount times received offline profit for player
%targetbanklevelupgradecost% -- Displays the amount needed to level up the bank for target
%targetbankofflineprofitaccrued% -- Displays the amount profit offline accrued for target
%targetbankofflineprofittimes% -- Displays the amount times received offline profit for target
- Added internal PlaceholderAPI variables:
%minebank_player_bank_offline_profit_accrued% -- Displays amount profit offline accrued
%minebank_player_bank_offline_profit_times% -- Displays amount times received offline profit