Skip to content

EconomyS/EconomyAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EconomyAPI Build Status

Core of economy system for Nukkit

Commands

  • /mymoney
  • /seemoney
  • /givemoney
  • /takemoney
  • /topmoney
  • /setmoney

Permissions

  • economyapi
    • economyapi.command
      • economyapi.command.mymoney
      • economyapi.command.givemoney OP
      • economyapi.command.takemoney OP
      • economyapi.command.setmoney OP
      • economyapi.command.topmoney

For developers

Developers can access to EconomyAPI's API by using:

EconomyAPI.getInstance().myMoney(player);
EconomyAPI.getInstance().reduceMoney(player, amount);
EconomyAPI.getInstance().addMoney(player, amount);

Maven repository

<repository>
	<id>onebone</id>
	<url>http://jenkins.onebone.me/plugin/repository/everything/</url>
</repository>

<dependency>
	<groupId>me.onebone</groupId>
	<artifactId>economyapi</artifactId>
	<version>1.0.0</version>
	<scope>provided</scope>
</dependency>