ModsJava
PolisBank
Java mod listed for Minecraft 1.12. Downloads from the MC Java Mods app on Android.
⬇ Download on SpigotPolisBank :
This API will help you to manage the players money.
It generate the player's account in accounts.yml when he join the server for the first time.
Methods :
AccountManager.getAccount(Player player); return the player account
account.getMoney(); return the account's money
account.addMoney(int amount); add money to the account
account.removeMoney(int amount); remove money to the account
Thank you if you download this API !
Don't forget to rate this page !
This API will help you to manage the players money.
It generate the player's account in accounts.yml when he join the server for the first time.
Spoiler: config.yml
Code (YAML):
#config.yml
#Here you can change PolisBank's settings
#
#Default money when a new player join the server
default-value : 100
#Here you can change PolisBank's settings
#
#Default money when a new player join the server
default-value : 100
Spoiler: Download instructions
1) Download PolisBank.jar
2) Go into your server folder
3) Put the PolisBank.jar in the plugin folder
4) Run your server !
2) Go into your server folder
3) Put the PolisBank.jar in the plugin folder
4) Run your server !
Spoiler: How to use this API
1) Download PolisBank.jar
2) For eclipse IDE :
a) Create a new Project
b) Add on you're librairies PolisBank.jar
c) Put on your plugin.yml the following line :
d) And now you can use this API !
2) For eclipse IDE :
a) Create a new Project
b) Add on you're librairies PolisBank.jar
c) Put on your plugin.yml the following line :
Code (YAML):
depends
:
[PolisBank
]
Spoiler: Exemple Main.java :
Here the plugin send you "Welcome, you have : " + the account's money
Code (Java):
public
class Main
extends JavaPlugin
implements Listener
{
@Override
public void onEnable ( ) {
getServer ( ). getPluginManager ( ). registerEvents ( this, this ) ;
}
@EventHandler
public void onPlayerJoin (PlayerJoinEvent event ) {
Account account = AccountManager. getAccount (event. getPlayer ( ) ) ;
event. getPlayer ( ). sendMessage ( "Welcome, you have : " +account. getMoney ( ) ) ;
}
}
@Override
public void onEnable ( ) {
getServer ( ). getPluginManager ( ). registerEvents ( this, this ) ;
}
@EventHandler
public void onPlayerJoin (PlayerJoinEvent event ) {
Account account = AccountManager. getAccount (event. getPlayer ( ) ) ;
event. getPlayer ( ). sendMessage ( "Welcome, you have : " +account. getMoney ( ) ) ;
}
}
Methods :
AccountManager.getAccount(Player player); return the player account
account.getMoney(); return the account's money
account.addMoney(int amount); add money to the account
account.removeMoney(int amount); remove money to the account
Thank you if you download this API !
Don't forget to rate this page !

Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.12
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
PolisBank is a free Minecraft Java mod. Compatible with Minecraft 1.12. Downloaded 69 times (via Spigot). Download it and open it directly in the game.