Compatible API Versions
1.0.0
Sourcecode
https://github.com/angga7togk/CoinsAPI-NK
CoinsAPI-NK
CoinsAPI for Nukkit

Commands
CommandsDescriptionuse
/setcoinSet Coins Playerop
/addcoinAdd Coins Playerop
/reducecoinReduce Coins Playerop
/seecoinSee Coins Playerall
/mycoinCheck My Coinsall
Repository

XML:
<repositories>
        <repository>
                <id>jitpack.io</id>
                <url>https://jitpack.io</url>
        </repository>
</repositories>
Dependency
XML:
<dependency>
        <groupId>com.github.angga7togk</groupId>
        <artifactId>CoinsAPI-NK</artifactId>
        <version>1.0.0</version>
</dependency>
For Developer
Java:
// get coins people or yourself
Coins.getInstance().getPlayerCoins(player);
Coins.getInstance().getPlayerCoinsByName("Angga7Togk");

// Set Coins Player
Coins.getInstance().getCoinsManager().setCoins(player, 100);
Coins.getInstance().getCoinsManager().setCoinsByName("Angga7Togk", 100);
       
// Add Coins Player
Coins.getInstance().getCoinsManager().addCoins(player, 125);
Coins.getInstance().getCoinsManager().addCoinsByName("Angga7Togk", 125);

// Reduce Coins Player
Coins.getInstance().getCoinsManager().reduceCoins(player, 25);
Coins.getInstance().getCoinsManager().reduceCoinsByName("Angga7Togk", 25);
Author
Angga7Togk
Downloads
675
Views
1,441
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Angga7Togk

Latest updates

  1. Fix Eror

    fix plugin error when running
Top