MySQL Money & Bank System v1.0.1-BUGFIX

Translatable, small and minimalistic economy system with Vault support, a bank and cross-server sync
cooltext416554113908395 (1).png
Commands:
/eco - money.eco
/bank - money.bank
/money - money.eco




cooltext416372783043458.png



The bank inventory and the messages were tried to be designed as modern and intuitive as possible for easy operation by the user.

-- WITH INGAME CLICKING SOUNDS --

attachment.png
attachment (1).png












cooltext416373170947787.png



config.yml
YAML:
version: '1.0'
mysql:
  host: localhost
  user: username
  password: password
  database: database
money:
  moneySaveTypes: '#This is a comment, you can delete it. | Types: LOCAL and MYSQL
    | Bank Money is automatically stored in MySQL.'
  money_save: LOCAL
  currency_symbol: $
  single: Dollar
  multiple: Dollars

language.yml
YAML:
prefix: §a§lMoney §8» §7
bank_inventory_name: §8» §b§lBank Menu §8«
inventory_close: §8» §c§lClose
inventory_deposit: §8» §a§lDeposit
inventory_withdraw: §8» §c§lWithdraw
inventory_info_balance: §b§lBalance
chat_write_deposit: Please type now the amount to deposit in the chat. Sneak to cancel.
chat_write_withdraw: Please type now the amount to withdraw in the chat. Sneak to
  cancel.
chat_message_deposit: You have §asuccessfully §7deposited §e%money%$!
chat_message_withdraw: You have §asuccessfully §7withdrawn §e%money%$!
chat_message_invalid: Your chat entry was invalid!
current_money: You currently have %money%$.
noPermission: You don't have enough rights to do this.
chat_not_enough_money: You don't have enough money to do this.








cooltext416373450600796.png



Depends on Vault. The plugin does need a MySQL Database to work. Click here for a setup tutorial for Linux (Debian): MySQL



1. Put the plugin and Vault in your Paper plugin folder
2. Restart the server
3. Configure the config.yml that was generated in the MoneySystem folder
4. Restart the server
(5. Translate the language.yml that was generated)
Finished!





Comments:
Please write questions, update requests and bugs in the discussion tab.
The plugin has two APIs, the first is the class "BankAPI" and the second is the class "MoneyAPI". They are both self introducing and could be initialized as a instance.


Java:
//Both APIs are the same, only the class names change.

public void example() {
    Player player = Bukkit.getPlayer("example");
    assert player != null;
    MoneyAPI api = new MoneyAPI(player);

    boolean hasMoney = api.hasMoney(10.50);
    double money = api.getMoney();
    //For example: 2,500.50$
    String formatted = api.getFormattedMoney();
    api.removeMoney(1.20);
    api.addMoney(1.20);
    api.resetMoney();
    api.setMoney(1.20);
}
EULA: Standard EULA
941 Views
33 Downloads
Aug 1, 2022 Published
Oct 31, 2022 Updated
Not yet rated
220.2 KB File size
Type
  1. Library
  2. Economy
Supported software
  1. Paper
Supported versions
  1. 1.13
  2. 1.14
  3. 1.15
  4. 1.16
  5. 1.17
  6. 1.18
  7. 1.19
Creator
Owner
Struggling to cover the costs of your server? Set up your own webstore with Tebex in under 30 seconds.
Recommended for you
#1 BuiltByBit Plugin ~ Protects your server from crash packet exploits ~ Folia Support
5.00 star(s) 119 ratings
3,219 purchases
The ultimate chat formatting and filtering plugin. Can replace 200+ plugins. Customizable & fast.
5.00 star(s) 121 ratings
2,515 purchases
All-in-one dungeon creator. Create unlimited, timed dungeon experiences with your own builds
4.50 star(s) 64 ratings
2,339 purchases
High Performance | Customizable | Cross-Version | GeyserMC | Folia Support
5.00 star(s) 59 ratings
2,282 purchases
Protect your server from crash/dupe/packets exploits with the ultimate Spigot security fix plugin.
5.00 star(s) 25 ratings
1,812 purchases
941 Views
33 Downloads
Aug 1, 2022 Published
Oct 31, 2022 Updated
Not yet rated
220.2 KB File size
Type
  1. Library
  2. Economy
Supported software
  1. Paper
Supported versions
  1. 1.13
  2. 1.14
  3. 1.15
  4. 1.16
  5. 1.17
  6. 1.18
  7. 1.19
Creator
Owner
Struggling to cover the costs of your server? Set up your own webstore with Tebex in under 30 seconds.
Recommended for you
#1 BuiltByBit Plugin ~ Protects your server from crash packet exploits ~ Folia Support
5.00 star(s) 119 ratings
3,219 purchases
The ultimate chat formatting and filtering plugin. Can replace 200+ plugins. Customizable & fast.
5.00 star(s) 121 ratings
2,515 purchases
All-in-one dungeon creator. Create unlimited, timed dungeon experiences with your own builds
4.50 star(s) 64 ratings
2,339 purchases
High Performance | Customizable | Cross-Version | GeyserMC | Folia Support
5.00 star(s) 59 ratings
2,282 purchases
Protect your server from crash/dupe/packets exploits with the ultimate Spigot security fix plugin.
5.00 star(s) 25 ratings
1,812 purchases
Top