EconomyAPI plugin for PowerNukkitX
add in your plugin project.
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.angga7togk</groupId>
<artifactId>EconomyAPi-PNX</artifactId>
<version>Tag</version>
</dependency>
EconomyDB.myMoney(player);
EconomyDB.myMoney(playerName);
EconomyDB.setMoney(player, 1000);
EconomyDB.setMoney(playerName, 1000);
EconomyDB.addMoney(player, 1000);
EconomyDB.addMoney(playerName, 1000);
EconomyDB.reduceMoney(player, 1000);
EconomyDB.reduceMoney(playerName, 1000);
/**
* @return Map<String, Integer>
*/
EconomyDB.getAll();
/**
* @return IDR 100,018,449 or RP 100,018,449
*/
EconomyDB.NumberFormat(myMoney);