EconomyManager 1.0.1

Manager for you server economy [API, MySQL Support & easy to use!]

  1. LielAmar
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    Languages Supported:
    English
    EconomyManager is a big Economy plugin that will help you run your server in the best & most efficient way. This plugin is very lightweight and it has all the features you need for a basic economy. For more features, you can just use our API!

    [​IMG]
    Installing this plugin is very easy. You just need to follow these steps:
    1. Download the plugin
    2. Drop it into your "plugins" folder
    3. Startup/Reload the server
    4. Edit the config as you want =]

    [​IMG]
    EconomyManager supports MySQL Database. You can choose between saving the player's data in files or with MySQL.

    The default data-method is via files. In order to change it, open up the config.yml and change "MySQL" to true.
    After doing so, reload the server and a new file called "MySQL.yml" should be created.
    Edit the information in the file and reload the server once again.
    When the reload is done, you should see a message in the console saying that the plugin connected to the MySQL Database successfully.

    [​IMG]
    Almost every single feature in this plugin is configurable. You can edit the messages, the main command permissions and more.

    Right now I am pretty busy, but if any of you would leave me a message with more features you'd like in it, I will add it to the plugin ASAP.

    Default config:
    Code (Text):

    # Thank you for using EconomyManager by ScoRpyoN.
    # This plugin is free and easy to use. If you have any problems, feel free to contact me.
    # My discord: ScoRpyoN#4531

    # General Settings:
    MoneyName: Coins
    MoneySymbol: $
    AllowNegativeMoney: false
    CheckMoneyPermission: economy.balance

    # Messages
    NoPermissions: '&cYou don''t have enough permissions to do that!'
    PlayerNeverPlayed: '&[email protected] never played on the server!'
    CoinsMustBeNumber: '&cThe amount of coins must be a number!'
    OnlyPlayersCanUseThatCommand: '&cOnly players can use that command!'

    SetCoinsUsage: '&cUsage: /SetCoins <Player> <Amount>'
    SetCoinsCoinsChangedTo: '&[email protected]''s coins changed to @amount'
    SetCoinsCoinsChangedBy: '&cYour coins changed to @amount by @player!'

    GiveCoinsUsage: '&cUsage: /AddCoins <Player> <Amount>'
    GiveCoinsCoinsChangedTo: '&[email protected]''s received @amount coins!'
    GiveCoinsCoinsChangedBy: '&cYou received @amount coins by @player!'

    TakeCoinsUsage: '&cUsage: /TakeCoins <Player> <Amount>'
    TakeCoinsCoinsChangedTo: '&cYou took @amount coins from @target'
    TakeCoinsCoinsChangedBy: '&[email protected] took @amount coins from you!'

    ResetCoinsUsage: '&cUsage: /ResetCoins <Player>'
    ResetCoinsCoinsChangedTo: '&[email protected]''s coins reseted!'
    ResetCoinsCoinsChangedBy: '&[email protected] reseted your coins!'

    PayUsage: '&cUsage: /Pay <Player> <Amount>'
    CantPayYourself: '&cYou can''t pay youself!'
    PaidFor: '&cYou paid @amount for @target!'
    PaidBy: '&[email protected] paid you @amount!'

    CurrentMoney: '&6Money: @amount'

    # Save-Data method (if MySQL set to "false", the Data will be saved in Per-Player-File)
    MySQL: false
     
    [​IMG]
    Balance [Coins, Bal, Money] - View your coins.
    Permission: default permission: economy.balance but you can edit it in the config.

    Pay - Pay some money to another player
    Permission: economy.pay

    SetCoins - Set player's coins.
    Permission: economy.setcoins

    GiveCoins - Give some coins to a player.
    Permission: economy.givecoins

    TakeCoins - Take some coins from a player.
    Permission: economy.takecoins

    ResetCoins - Reset the balance of a player.
    Permission: economy.resetcoins

    [​IMG]
    Using EconomyManager's API is very easy.
    You only have a few simple methods that you may access by using the class "EconomyAPI".

    Examples:
    Code (Text):
    EconomyAPI.addCoins(p.getUniqueId().toString(), amount);
    Give coins for a player
    Code (Text):
    EconomyAPI.setCoins(p.getUniqueId().toString(), amount);
    Set player's amount of coins
    Code (Text):
    EconomyAPI.takeCoins(p.getUniqueId().toString(), amount);
    Take coins from a player
    Code (Text):
    EconomyAPI.getMoney(p.getUniqueId().toString());
    Get the amount of coins a player has
    Code (Text):
    EconomyAPI.pay(p.getUniqueId(), t.getUniqueId(), amount);
    Built-In pay method
    [​IMG]
    If you found any bug/you need help, feel free to contact me.
    My discord: ScoRpyoN#4531
    You can also send me a private message here on spigot :)
    Enjoy!

Recent Updates

  1. Bug fixes & new commands

Recent Reviews

  1. Monstastisch
    Monstastisch
    5/5,
    Version: 1.0
    Hey, can you add a /balance <Playername> Command for Server Admins? I can only see my own money. Can you add this playse? :)
    1. LielAmar
      Author's Response
      Of course, I will add it and upload the updated version tomorrow :)