GemsEconomy 4.9.2

This is a custom multi-currency economy plugin! Free & Open Sourced! With vault support

  1. Xanium
    Tested Minecraft Versions:
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    Source Code:
    https://github.com/Xanium1/GemsEconomy
    Header.png

    Awesome graphics work by: @Blueseph
    General Info.png
    Hey! Welcome to GemsEconomy. Are you looking for an all-in-one solution for a server's economy? Look no further! Offering single, or multiple currency formats(options), bungeecord/MySQL support, full message customization, vault support, frequent updates and more, GemsEconomy is here to help your community shine!

    Placeholder Expansion is updated!

    From 12th Des 2019 GemsEconomy will be open source. Feel free todo whatever you want within it's source. But do not claim it as your own. And if the addon to the plugin is pretty good, i might just add it into the plugin and update it here. :)

    Updates.png
    25.000 downloads is amazing!
    Thank you for using this plugin :)

    Please check the Discussion Thread :)
    Thanks


    Features.png
    - Customizable Messages.
    - Placeholder Expansion for PlaceholderAPI.
    - Custom Economy.
    - 100% configurable.
    - A very simple developer API.
    - MySQL Support.
    - Cheques.
    - Vault support.
    - Offline support.
    - Multi currency support.
    - BungeeCord support.

    Setup.png
    1. Install the plugin in your plugins folder
    2. Edit the settings as you'd like
    3. Create a currency with /gcurr.
    4. Edit the currency as you'd like with the other sub commands of /gcurr.
    5. Note: The first currency you create becomes the default one. You can also change the default currency with /gcurr.
    6. You're done.
    Commands.png
    /gbalance [user] - Check a players balance or yours.
    /geco add <user> <amount> [currency] -
    Adds the specified amount of gems to the user.
    /geco take <user> <amount> [currency] - Takes the specfied amount from the user.
    /geco set <user> <amount> [currency] - Sets the gem amount to the user.
    /gpay <user> <amount> [currency] - Pay another player with your gems.

    /gcheque redeem - Redeems a written cheque.
    /gcheque write <amount> [currency] - Writes a cheque with the specified amount.
    /gcurrency - Currency help.


    Permissions.png
    Code (Text):
    gemseconomy.command.balance - Perm to view your balance
    gemseconomy.command.balance.other - Perm to view another users balance.
    gemseconomy.command.baltop - Perm to view the balance top for a specific currency.
    gemseconomy.command.cheque - Perm to redeem & write cheques.
    gemseconomy.command.currency - WARN: This gives permission to all sub commands. Like (/gcurr delete or /gcurr view)
    gemseconomy.command.economy - Perm to view economy help.
    gemseconomy.command.give - Perm to give an amount of a currency.
    gemseconomy.command.set - Perm to set an amount of a currency.
    gemseconomy.command.take - Perm to take an amount of a currency.
    gemseconomy.command.pay - Perm to allow a user to pay.
    gemseconomy.command.pay.<currency_plural> - Perm to allow a user to pay the specific currency. This is required for the default currrency too.
    gemseconomy.command.exchange.preset - Perm to exchange currency with preset rate.
    gemseconomy.command.exchange.custom - Perm to exchange custom rate.
    gemseconomy.command.exchange.custom.other - Perm to exchange currencies for another player.
    Placeholders.png
    PlaceholderAPI by @clip
    Code (Text):
    %gemseconomy_balance_default%
    %gemseconomy_balance_default_formatted%
    %gemseconomy_balance_<currency plural or singular>%
    %gemseconomy_balance_<currency plural or singular>_formatted%
    You will find the older GemsEconomy placeholders here.

    API.png
    Code (Text):
    Here is the long awaited API for GemsEconomy 4.0++
    First you'll need to make a variable of the API class.
    Remember to make your plugin load after GemsEconomy and add it your dependencies!

    GemsEconomyAPI api = new GemsEconomyAPI();

    Then you can:

    #deposit(UUID, Amount);
    #deposit(UUID, Amount, Currency);
    #withdraw(UUID, Amount);
    #withdraw(UUID, Amount, Currency);
    #getBalance(UUID);
    #getBalance(UUID, Currency);
    #getCurrency(String);

    If you need more information about the API, contact me through PMs!

    The source code is also found here.
     

    This is the old api from GemsEconomy Version 3.2.1!!

    Make sure you add GemsEconomy to your dependencies, otherwise you won't find the GemsAPI class.

    Code (Text):

    GemsAPI.editBalance(EcoAction action, Player player, double amount, boolean offline);
    GemsAPI.editBalance(EcoAction action, UUID uuid, double amount, boolean offline);

    // Get the balance
    GemsAPI.getBalance(UUID uuid); // returns a double value.


    Footer.png

Recent Reviews

  1. QUIQUELHAPPY
    QUIQUELHAPPY
    1/5,
    Version: 4.9.2
    abandoned, please, add a new mantainer or make it clear; not cool for new servers unless you use a fork
  2. Uni_dima
    Uni_dima
    5/5,
    Version: 4.9.2
    Update please?

    Good plugin, does everything I need.

    Sometimes I have errors on 1.18 but this errors are not game breaking, hope that you would be able to update plugin soon!

    Also feature request: placeholder for top currency holders (ex: %gemseco_<currency>_top_#%)

    Thank you!
  3. JugadorNuevo17
    JugadorNuevo17
    1/5,
    Version: 4.9.2
    Fix the fucking shit plugin, create a protection store and put the command / geco take so that it takes the player's money and says that I don't have permission to use that command, when I add the appropriate permissions, if you want to create a menu with This plugin and other things DON'T DO IT, you will waste your valuable time, it is a shit plugin. a by the way does not have support with vault as it says
  4. Cu_huang
    Cu_huang
    4/5,
    Version: 4.9.2
    version 1.17.1

    [22:45:36 WARN]: [QuickShop] This seems not a QuickShop error. If you have any question, you may can ask QuickShop developer but don't except any solution.
    [22:45:36 WARN]: [QuickShop] QuickShop received an error when processing Economy response, THIS NOT A QUICKSHOP FAULT, you might need ask help with your Economy Provider plugin (GemsEconomy) author.
    java.lang.NullPointerException: Cannot invoke "me.xanium.gemseconomy.account.Account.getBalance(me.xanium.gemseconomy.currency.Currency)" because "user" is null
    at me.xanium.gemseconomy.vault.GEVaultHook.getBalance(GEVaultHook.java:100) ~[GemsEconomy-4.9.2.jar:?]
    at org.maxgamer.quickshop.economy.Economy_Vault.getBalance(Economy_Vault.java:184) ~[QuickShop-4.0.9.10.jar:?]
    at org.maxgamer.quickshop.economy.Economy_Vault.getBalance(Economy_Vault.java:171) ~[QuickShop-4.0.9.10.jar:?]
    at org.maxgamer.quickshop.economy.Economy.getBalance(Economy.java:80) ~[QuickShop-4.0.9.10.jar:?]
    at org.maxgamer.quickshop.builtinlistener.InternalListener.shopPurchase(InternalListener.java:163) ~[QuickShop-4.0.9.10.jar:?]
    at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor552.execute(Unknown Source) ~[?:?] at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.17.1.jar:git-AirplanePurpur-31]
    at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[patched_1.17.1.jar:git-AirplanePurpur-31]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.17.1.jar:git-AirplanePurpur-31]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:624) ~[patched_1.17.1.jar:git-AirplanePurpur-31]
    at org.maxgamer.quickshop.shop.ShopManager.actionSell(ShopManager.java:1102) ~[QuickShop-4.0.9.10.jar:?]
    at org.maxgamer.quickshop.shop.ShopManager.actionTrade(ShopManager.java:1282) ~[QuickShop-4.0.9.10.jar:?]
    at org.maxgamer.quickshop.shop.ShopManager.lambda$handleChat$4(ShopManager.java:490) ~[QuickShop-4.0.9.10.jar:?] at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[patched_1.17.1.jar:git-AirplanePurpur-31]
    at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[patched_1.17.1.jar:git-AirplanePurpur-31]
    at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1565) ~[patched_1.17.1.jar:git-AirplanePurpur-31]
    at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:494) ~[patched_1.17.1.jar:git-AirplanePurpur-31]
    at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1480) ~[patched_1.17.1.jar:git-AirplanePurpur-31]
    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1270) ~[patched_1.17.1.jar:git-AirplanePurpur-31]
    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-AirplanePurpur-31]
  5. rcomunica
    rcomunica
    5/5,
    Version: 4.9.2
    the plugin is great but I would like you to update it to 1.16.5 but the rest is great !!
  6. xiongliu
    xiongliu
    5/5,
    Version: 4.9.2
    Awesome plugin! Never had any issues with it whatsoever. Amazing Developer. keep at it!
  7. KhrysAK47
    KhrysAK47
    1/5,
    Version: 4.9.2
    PLEASE READ BEFORE DOWNLOADING THE PLUGIN:

    This plugin might seem good at first glance, but it's full of issues that are breaking the database and making all the currencies along with their data being reset after some time/usage.

    If you constantly have users earning currency (or even buying stuff with it) aka having their values change, after some time you can literally join and make it reset for everybody.

    Have been trying to figure this out for over a month when I had this issue until I decided to pay a developer out of my pocket to fix this (github commits attached below)

    I also reported it to the developer a few months ago, and I was told that a update was going to be pushed eventually (surprise! it's still haven't been pushed).

    Fixed plugin version:
    https://github.com/Gadsee/GemsEconomy/commit/34843b8c105e091bd67612fc917ffce3205cc501
    https://github.com/Gadsee/GemsEconomy/commit/1334940237bf6c5750922dd2250b193dfd87b67e
  8. MasterClashpro
    MasterClashpro
    3/5,
    Version: 4.9.2
    nice but ... the /baltop does not work in ayml... i need use essentials for this :( .. and please !! discord for support x)!
  9. BlueL
    BlueL
    5/5,
    Version: 4.9.2
    Excellent plugin and Author! Thank you so much, this very useful for everyone who wanted to make custom currency!
  10. thatpinkcoconut
    thatpinkcoconut
    5/5,
    Version: 4.9.2
    Very good plugin. Perfectly easy to configure. How exactly do I convert from YAML to SQLITE tho? :(