SkyWars plugin for Nukkit Current version: 1.0.9 alpha pre 1.1
- Type /sw create <arena_name>
- Then tap a sign in lobby world
- Then tap on positions
- When you will tap positions, just type /sw finish
- Bug fixes
- Team arena
- Lucky Block mode
- Make it better
Create custom class of ecomony handler
public class MyEconomy extends CustomEconomy{
public MyEconomy(SkyWars sw){ super(sw) }
public void addMoney(Player p, int money){
myPlugin.addMoney(p,money);
}
public int getMoney(Player p){
return myPlugin.getMoney(p);
}
and than, simple with
SkyWars.getInstance().setEconomyHandler(myEconomy);