PC
PCoins
Eine simple Coins API die mit MySQL oder SQLite arbeitet.
Commands:
- /coins
Permissions:
- coins.other
- coins.set
- coins.add
- coins.remove
API:
CoinPlayer
package example;
import de.pattyxdhd.pcoins.utils.CoinPlayer;
import java.util.UUID;
public class CoinPlayerExample {
private void setCoins(UUID uuid, double coins){
CoinPlayer coinPlayer = CoinPlayer.getCoinPlayer(uuid);
if (coinPlayer != null){
coinPlayer.set(coins);
}
}
}Events
package example;
import de.pattyxdhd.pcoins.events.CoinChangeEvent;
import de.pattyxdhd.pcoins.utils.CoinPlayer;
import org.bukkit.event.EventHandler;
public class EventExample {
@EventHandler
public void onbCoinChange(final CoinChangeEvent event){
CoinPlayer coinPlayer = event.getCoinPlayer();
double coinsBeforChange = event.getCoinsBefor();
}
}
Screenshots:
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta



