EconomyAPI v0.1

Your new EconomyAPI! Manage your money ingame and from code!

  1. fujiboy4
    Tested Minecraft Versions:
    • 1.10
    coins-outline - Copy.png EconomyAPI v0.1
    By Fujeh_

    What Is EconomyAPI?
    EconomyAPI is a easy to use API for developers or for your own server. You can easily manage money with a config and supports UUIDs.

    How do I use EconomyAPI?
    EconomyAPI is a really easy to use API with commands that are easy to use. Here are a list of commands... Permissions coming soon!


    Commands:
    Code (Text):
    /account - Lists commands.
    /account create <playername> <starting amount> - Creates an account.
    /account list  - Lists accounts.
    /account add <playername> <amount> - Adds money.
    /account subtract <playername> <amount> - Subtracts money.
    /account reset <playername> - Resets money to 0.
    /account set <playername> <amount> - Sets money to given amount.
     


    How do I use the API?
    To start a new account simply import fuji.ecoapi.account.Account.
    Code (Text):
    Account account = new Account(Player player, int startingAmount);


    Then, to get an account by player simply put this:

    Code (Text):
    Account account = EconomyAPI.getEconomy().getAccount(Player player);



    Todo:
    Code (Text):
    - Add Permissions[/SIZE][/SIZE][/SIZE][/SIZE]
    [SIZE=6][SIZE=4][SIZE=6][SIZE=4]- Add /money or /bal



    Hope you enjoy this new API! If you have any questions please ask in the Discussion NOT in the reviews!! Thanks :)