Giter Club home page Giter Club logo

saneeconomy's Introduction

SaneEconomy

Finally, a sane economy plugin for Bukkit.

This project is not dead. It just happens that I am busy and get a lot of difficult feature requests. The code doesn't magically break just by sitting around - even if the last commit was a month ago, the released version of the plugin probably still works fine! :)

About

I was looking for an economy plugin for a server I administrate, and I noticed something quite strange.

All of the plugins are years outdated, built against Bukkit API versions as old as Minecraft 1.2.4, and often have loads of bug reports, both in the comments on BukkitDev/SpigotMC, and on GitHub, all with no response from the developer!

I decided that it was time for a change. I wanted a working, updated economy plugin for Bukkit, built against the latest API. So I wrote one myself.

Components

  • SaneEconomyCore - The main economy provider.
  • SaneEconomySignShop - A side project written for a specific server. Unsupported.
  • SaneEconomyMobKills - Another side project for the same server. Unsupported.
  • SaneEconomyOnlineTime - A replacement for the old plugin TimeIsMoney. Unsupported for now.

Development

We manage dependencies with Maven. We try to stick to SemVer, but it's rather difficult with a Bukkit plugin so in reality our version numbers are almost meaningless. Generally, new releases should be built against the latest Spigot/Bukkit at the time the release is published.

saneeconomy's People

Contributors

a248 avatar appledash avatar shansen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

saneeconomy's Issues

New Players - Don't Exist

I switched from Essentials Eco to this plugin, and now new players who come in fresh when they do /bal they get [Economy] That player does not exist. And the same happens when i try to look at their balance. I have to switch back probably, this is a big issue.

Edit: Another few people joined and this wasn't the case, so this isn't an issue as of now. Maybe just an odd bug that happened to me.

BUG - Priority For Economy Hook?

Apple Dash,

I had an issue with one of my plugins not working with your great Economy plugin, and when I contacted them, this is what they said:

Devinish - (Signshop Plugin)

"Yep, looks like the economy isn't hooking into Vault until after SignShop is. So when SignShop goes looking for the economy plugin, it Vault doesn't know it exists yet. As a quick fix to this, you can manually edit the SignShop plugin.yml and add the economy plugin's name to the soft dependencies. But that's not a fix we would implement, because SignShop shouldn't really care about the economy plugin. I'm guessing they need to change their priority or something on the Vault hook."

Here is my startup log, and it shows that SaneEconomy doesn't get loaded up before SignShop does, causing an error.

http://pastebin.com/RrKGGnYW

Let me know, what I can do to help!

Thanks,
Inysal

no way to create an account?

Hi, I'm trying to switch from Fe economy to SaneEconomy and one thing I'm finding missing is the option to create an account. The account is not a player, but the "server bank account" which I could create in Fe and then reference in the Jobs Reborn plugin as my server-side bank. This is the account that all players get paid from. So since I removed Fe from my test server, when I break or place a block that should be paying me, I get a message stating "Sorry, no money left in national bank!" Is there a reason this was left off this plugin or an alternative way to do the same?
Thanks - Steve

MYSQL Error: ?useSSL=false

Could you please fix it so that we can put "?useSSL=false" behind database name (Mysql)?
This is the only plugin that I use that does not already support this feature, so i really hope you can have a look at this. It is really spamming the console allot.

Thu Apr 06 22:25:44 CEST 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.

Data not saving in MySQL

Greeting !
I got a problem with saneeconomy not saving players balance into MySQL, it connect properly to it without error message. This happen when i restart the server and when i reload the saneeco database

Spigot version : CraftBukkit version git-Spigot-90f61bc-83a9dbd (MC: 1.10.2)
SaneEco version : SaneEconomyCore-0.6.6-SNAPSHOT
SaneEco config.yml : http://pastebin.com/QmghU6cM

SaneEconomy connection to database : http://pastebin.com/NrbEicaZ
(Everytime the same "Performing initial data load..." message at server restart)
Database-reload command proof : http://pastebin.com/Lh5JGjML

Nevertheless, flatfile is working perfectly
Sadly, i also get the same problem with version 0.6.4

Player Names instead of UUID

You can add a config to store player names instead of UUID? Is better for my offline minecraft server, that not require UUID, and is better for my APIs. Please :(

table_prefix

If I used the table_prefix, plugin not register new players.

High TPS due to /balance.

Hello guys.
I was in my server and used /money pay. Obviously it doesn't work. But then it processed the command, and took about 2 seconds to send me that there's no account called "pay". But the problem is that it causes huge lag to tell me that.

Maybe just make it async? It freezes the server for a while, even if my database (flatfile) is totally clear.

Timings:
http://prntscr.com/dhnvnc

baltop prints out 11 players and ballot <page> doesn't work

Here is the fix for this in MapUtil.java

You never increment the counter i if it is less than the offset.

You check if newMap.size() > amount I have fixed this to be >= which prints out 10 now instead of 11.

I have tested the code below on our pizzagamers.com test server. I will compile and move the fix I have to pizzagamers.com soon. Next fix needs to be the list output so as to show a continued list number as opposed to always starting at 0

public static <K, V> Map<K, V> takeFromMap(Map<K, V> map, int amount, int offset) {
Map<K, V> newMap = new LinkedHashMap<>();

    //System.out.println("Amount: " + amount + " mapsize: " + map.size() + " Offset: "  + offset);
    if (offset > map.size()) {
    	System.out.println("Returning newMap");
        return newMap;
    }

    int i = 0;

    for (Map.Entry<K, V> entry : map.entrySet()) {
    	//System.out.println("I = " + i);
        if (i < offset) {
        	i++;
            continue;
        }

        if (newMap.size() >= amount) {
            break;
        }

        newMap.put(entry.getKey(), entry.getValue());
        i++;
    }

    return newMap;
}

Feature Request: Change of the translation-description in the messages.yml

There are always people with the same problem and the same question:
"My translation in messages.yml doesn't work. What's wrong?"

They mostly make all the same mistake: instead of adding "translation: " under the text, they just change the original message itself.

I don't want, to suggest that you (AppleDash) should change the way, how the plugins handels the translation.
I just think, its better, to update the description of the text, that explains, how to add a translation, like I already give a idea on the discussion of your plugin. (I hope, that the last sentence makes sence)

I think, that changing the text to:

# Add a translation like this:
# - message: That player is not online.
#  translation: Ce joueur n'est pas en ligne.
#
# do NOT change "- message: <message>"
# Just add "translation:" under it and write
# your translation there or else it will reset!

would help so many people, because it says them, what they need to do and what not.

I hope, that this is a simple but good idea, that prevents feauture "how do I translate this?" questions.
And sorry, if that is in the wrong place here...

Flatfile <----> MySQL or SQLite Conversion?

Good evening!

I was wondering, if it isn't already a feature - would there be a way to convert back and forth between the flat file, and MySQL? Currently, I have a plugin that works off of a SQLite Database. I don't mind using MySQL for it - our current host has MySQL - but I don't know SQL, so I wouldn't know what commands to run in order to populate a MySQL table from a SQLite table or a flat file, and I'd rather not lose my users' established data.

Does your plugin convert from flat file to MySQL? If not, would that be possible/easy enough to add?

Alternately, and I know it's a lot to ask, but would it be possible to write SQLite compatibility with it?

Thank you for your time!

Invalid Schema Error is hosing my server

So I just switched over to your economy plugin after having been using a default essentials setup. I'm updating a bunch of old plugins I wrote for 1.8 and earlier, and they depend on a Vault-based economy. For some reason, I'm getting the following error when the server starts, and because of this my plugins are not loading because Vault is not finding SaneEconomy (as it has error'ed out).

Here is the log of the error:

[00:58:29] [Server thread/INFO]: [Vault] Enabling Vault v1.5.6-b49 [00:58:29] [Server thread/INFO]: [Vault] [Permission] PermissionsEx found: Waiting [00:58:29] [Server thread/INFO]: [Vault] [Permission] SuperPermissions loaded as backup permission system. [00:58:29] [Server thread/INFO]: [Vault] [Chat] PermissionsEx found: Waiting [00:58:29] [Server thread/INFO]: [Vault] Enabled Version 1.5.6-b49 [00:58:29] [Server thread/INFO]: [SaneEconomy] Enabling SaneEconomy v0.12.3 [00:58:29] [Server thread/INFO]: [SaneEconomy] No translations file found at 'C:\Users\dedicated\Desktop\Bukkit Server (Premade) 1.11.2\plugins\SaneEconomy\messages.yml' (this is not an error) - using default identity I18n. [00:58:29] [Server thread/INFO]: [SaneEconomy] Initializing currency... [00:58:29] [Server thread/INFO]: [SaneEconomy] Initialized currency: dollars [00:58:29] [Server thread/INFO]: [SaneEconomy] Initializing economy storage backend... [00:58:29] [Server thread/WARN]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". [00:58:30] [Server thread/WARN]: SLF4J: Defaulting to no-operation (NOP) logger implementation [00:58:30] [Server thread/WARN]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. [00:58:30] [Server thread/WARN]: [AutoSaveWorld] Plugin SaneEconomy attempted to establish connection socket://127.0.0.1:3306 in main server thread [00:58:30] [Server thread/INFO]: Initialized Hikari data source. [00:58:30] [Server thread/INFO]: [SaneEconomy] Initialized MySQL backend. [00:58:30] [Server thread/INFO]: [SaneEconomy] Testing connection... [00:58:30] [Server thread/INFO]: [SaneEconomy] Connection successful! [00:58:30] [Server thread/INFO]: [SaneEconomy] Performing initial data load... [00:58:30] [Server thread/ERROR]: Error occurred while enabling SaneEconomy v0.12.3 (Is it up to date?) java.lang.RuntimeException: Invalid database schema! at org.appledash.saneeconomy.economy.backend.type.EconomyStorageBackendMySQL.createTables(EconomyStorageBackendMySQL.java:41) ~[?:?] at org.appledash.saneeconomy.economy.backend.type.EconomyStorageBackendMySQL.reloadDatabase(EconomyStorageBackendMySQL.java:79) ~[?:?] at org.appledash.saneeconomy.utils.SaneEconomyConfiguration.loadEconomyBackend(SaneEconomyConfiguration.java:51) ~[?:?] at org.appledash.saneeconomy.SaneEconomy.loadConfig(SaneEconomy.java:107) ~[?:?] at org.appledash.saneeconomy.SaneEconomy.onEnable(SaneEconomy.java:47) ~[?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[spigot-1.12.jar:git-Spigot-7228328-50b75cd] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) [spigot-1.12.jar:git-Spigot-7228328-50b75cd] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:402) [spigot-1.12.jar:git-Spigot-7228328-50b75cd] at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:377) [spigot-1.12.jar:git-Spigot-7228328-50b75cd] at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:327) [spigot-1.12.jar:git-Spigot-7228328-50b75cd] at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:206) [spigot-1.12.jar:git-Spigot-7228328-50b75cd] at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:544) [spigot-1.12.jar:git-Spigot-7228328-50b75cd] at java.lang.Thread.run(Unknown Source) [?:1.8.0_131]

Here is my config file(minus the relevant database details):
backend: type: mysql host: **** port: **** database: **** username: **** password: **** table_prefix: economy_ useSsl: true currency: name: singular: dollar plural: dollars balance-format: ${1} format: '0.00' grouping: 3 grouping-separator: ',' chat: prefix: '&b[&9Economy&b]&r ' economy: start-balance: 100.0 notify-start-balance: true server-account: $SERVER$ debug: false

Money from votes are not correct

Im using GAListener to give me money for votes on my server. The issue is that your plugin does not work well when it is several votes queued up. This worked well with craftconomy before I switched over btw..

You can see the result here:
http://pastebin.com/7ZJnD0FS
In this case I did not get the money from the second vote.

If a player does not get a bonus (5 in this example) he would only get the first vote.
Note that it sometimes works, but it does not work most of the time.

SaneEconomy 0.8.2 throwing exception with GameRanks

We are using GameRanks with 0.7.1 SaneEconomy. I have updated to the latest SaneEconomy and now when a player tried to /rankup I am getting the following exception....

org.bukkit.command.CommandException: Unhandled exception executing command 'rankup' in plugin GameRanks v1.0.9
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot-1.10.2.jar:git-Spigot-f9671b8-4d87c34]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.10.2.jar:git-Spigot-f9671b8-4d87c34]
at org.bukkit.craftbukkit.v1_10_R1.CraftServer.dispatchCommand(CraftServer.java:647) ~[spigot-1.10.2.jar:git-Spigot-f9671b8-4d87c34]
at net.minecraft.server.v1_10_R1.PlayerConnection.handleCommand(PlayerConnection.java:1351) [spigot-1.10.2.jar:git-Spigot-f9671b8-4d87c34]
at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:1186) [spigot-1.10.2.jar:git-Spigot-f9671b8-4d87c34]
at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot-1.10.2.jar:git-Spigot-f9671b8-4d87c34]
at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot-1.10.2.jar:git-Spigot-f9671b8-4d87c34]
at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.10.2.jar:git-Spigot-f9671b8-4d87c34]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_51]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_51]
at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45) [spigot-1.10.2.jar:git-Spigot-f9671b8-4d87c34]
at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:732) [spigot-1.10.2.jar:git-Spigot-f9671b8-4d87c34]
at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:400) [spigot-1.10.2.jar:git-Spigot-f9671b8-4d87c34]
at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:668) [spigot-1.10.2.jar:git-Spigot-f9671b8-4d87c34]
at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:567) [spigot-1.10.2.jar:git-Spigot-f9671b8-4d87c34]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_51]
Caused by: java.lang.IllegalArgumentException: Cannot transact a zero or negative amount!
at org.appledash.saneeconomy.economy.transaction.Transaction.(Transaction.java:17) ~[?:?]
at org.appledash.saneeconomy.vault.EconomySaneEconomy.withdrawPlayer(EconomySaneEconomy.java:159) ~[?:?]
at io.voidpowered.gameranks.GRCommands.handleRankUpCommand(GRCommands.java:288) ~[?:?]
at io.voidpowered.gameranks.GRCommands.onCommand(GRCommands.java:40) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot-1.10.2.jar:git-Spigot-f9671b8-4d87c34]
... 15 more

Please note that the first rank up costs nothing and it looks like Sane Economy isn't able to handle this....

Caused by: java.lang.IllegalArgumentException: Cannot transact a zero or negative amount!

Show player names even if player has not been on specific server

In a multi-server environment, player's names are shown as null in /baltop if they have an account but have not been on the specific server that /baltop was issued on. This also means that that player's balance cannot be checked from servers they haven't been on. The player's last known name should be stored in the database so it is visible to all servers.

Async MySQL support

The current MySQL support code isn't async.

A better way to do this would be to cache a HashMap of player UUIDs to balances, loading it once on startup and updating it on change while asynchronously saving it to MySQL in the background.

A better way to make a locale

I am speding a lot of time just to make it run...

Could you make almost all other plugin and generate a locale.yml on the plugin's folder and then we just need to edit that ?


Besides that, can you tell me what am i doing wrong?

...
  - message: "You don't have permission to check the balance of {1}."
    translation: "&cVocê não tem permissão para ver o saldo do jogador &3{1}."
  - message: "That player is not online."
    translation: "&cEsse jogador não esta online."
  - message: "You cannot pay yourself."
    translation: "&cVocê não pode pagar a si mesmo."
...

messages.yml

Faction Disband Internal Error.(Posted on factions, and was told to post here.)

[02:06:07] [Server thread/INFO]: FrostTaco issued server command: /f disband [02:06:07] [Server thread/ERROR]: Could not pass event EventFactionsDisband to Factions v2.8.19 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-1.10.2.jar:git-Spigot-cf6dea3-ca1bb1c] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.10.2.jar:git-Spigot-cf6dea3-ca1bb1c] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.10.2.jar:git-Spigot-cf6dea3-ca1bb1c] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.10.2.jar:git-Spigot-cf6dea3-ca1bb1c] at com.massivecraft.massivecore.event.EventMassiveCore.run(EventMassiveCore.java:30) [MassiveCore.jar:?] at com.massivecraft.factions.cmd.CmdFactionsDisband.perform(CmdFactionsDisband.java:60) [Factions.jar:?] at com.massivecraft.massivecore.command.MassiveCommand.execute(MassiveCommand.java:973) [MassiveCore.jar:?] at com.massivecraft.massivecore.command.MassiveCommand.execute(MassiveCommand.java:929) [MassiveCore.jar:?] at com.massivecraft.massivecore.command.MassiveCoreBukkitCommand.execute(MassiveCoreBukkitCommand.java:61) [MassiveCore.jar:?] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [spigot-1.10.2.jar:git-Spigot-cf6dea3-ca1bb1c] at org.bukkit.craftbukkit.v1_10_R1.CraftServer.dispatchCommand(CraftServer.java:646) [spigot-1.10.2.jar:git-Spigot-cf6dea3-ca1bb1c] at net.minecraft.server.v1_10_R1.PlayerConnection.handleCommand(PlayerConnection.java:1351) [spigot-1.10.2.jar:git-Spigot-cf6dea3-ca1bb1c] at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:1186) [spigot-1.10.2.jar:git-Spigot-cf6dea3-ca1bb1c] at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot-1.10.2.jar:git-Spigot-cf6dea3-ca1bb1c] at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot-1.10.2.jar:git-Spigot-cf6dea3-ca1bb1c] at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.10.2.jar:git-Spigot-cf6dea3-ca1bb1c] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_60] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_60] at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45) [spigot-1.10.2.jar:git-Spigot-cf6dea3-ca1bb1c] at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:737) [spigot-1.10.2.jar:git-Spigot-cf6dea3-ca1bb1c] at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:399) [spigot-1.10.2.jar:git-Spigot-cf6dea3-ca1bb1c] at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:673) [spigot-1.10.2.jar:git-Spigot-cf6dea3-ca1bb1c] at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:572) [spigot-1.10.2.jar:git-Spigot-cf6dea3-ca1bb1c] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60] Caused by: java.lang.NullPointerException at org.appledash.saneeconomy.economy.backend.type.EconomyStorageBackendFlatfile.accountExists(EconomyStorageBackendFlatfile.java:75) ~[?:?] at org.appledash.saneeconomy.economy.EconomyManager.accountExists(EconomyManager.java:51) ~[?:?] at org.appledash.saneeconomy.vault.EconomySaneEconomy.hasAccount(EconomySaneEconomy.java:54) ~[?:?] at com.massivecraft.massivecore.money.MoneyMixinVault.ensureExists(MoneyMixinVault.java:202) ~[?:?] at com.massivecraft.massivecore.money.MoneyMixinVault.get(MoneyMixinVault.java:135) ~[?:?] at com.massivecraft.massivecore.money.Money.get(Money.java:115) ~[?:?] at com.massivecraft.factions.engine.EngineEcon.takeOnDisband(EngineEcon.java:84) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_60] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_60] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60] at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.10.2.jar:git-Spigot-cf6dea3-ca1bb1c] ... 23 more [02:06:07] [Server thread/INFO]: [Factions 2.8.19] The faction test (fc7e8d27-e1f3-4d8c-83fd-71148bad8 ad4) was disbanded by FrostTaco. [02:06:07] [Server thread/ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing 'f disband' in com.massivecraft.massivecore.command.MassiveCoreBukkitCommand(f) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:148) ~[spigot-1.10.2.jar:git-Spigot-cf6dea3-ca1bb1c] at org.bukkit.craftbukkit.v1_10_R1.CraftServer.dispatchCommand(CraftServer.java:646) ~[spigot-1.10.2.jar:git-Spigot-cf6dea3-ca1bb1c] at net.minecraft.server.v1_10_R1.PlayerConnection.handleCommand(PlayerConnection.java:1351) [spigot-1.10.2.jar:git-Spigot-cf6dea3-ca1bb1c] at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:1186) [spigot-1.10.2.jar:git-Spigot-cf6dea3-ca1bb1c] at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot-1.10.2.jar:git-Spigot-cf6dea3-ca1bb1c] at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot-1.10.2.jar:git-Spigot-cf6dea3-ca1bb1c] at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.10.2.jar:git-Spigot-cf6dea3-ca1bb1c] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_60] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_60] at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45) [spigot-1.10.2.jar:git-Spigot-cf6dea3-ca1bb1c] at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:737) [spigot-1.10.2.jar:git-Spigot-cf6dea3-ca1bb1c] at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:399) [spigot-1.10.2.jar:git-Spigot-cf6dea3-ca1bb1c] at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:673) [spigot-1.10.2.jar:git-Spigot-cf6dea3-ca1bb1c] at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:572) [spigot-1.10.2.jar:git-Spigot-cf6dea3-ca1bb1c] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60] Caused by: java.lang.NullPointerException at org.appledash.saneeconomy.economy.backend.type.EconomyStorageBackendFlatfile.accountExists(EconomyStorageBackendFlatfile.java:75) ~[?:?] at org.appledash.saneeconomy.economy.EconomyManager.accountExists(EconomyManager.java:51) ~[?:?] at org.appledash.saneeconomy.vault.EconomySaneEconomy.hasAccount(EconomySaneEconomy.java:54) ~[?:?] at com.massivecraft.massivecore.money.MoneyMixinVault.exists(MoneyMixinVault.java:119) ~[?:?] at com.massivecraft.massivecore.money.Money.exists(Money.java:99) ~[?:?] at com.massivecraft.factions.entity.Faction.preDetach(Faction.java:85) ~[?:?] at com.massivecraft.massivecore.store.Coll.preDetach(Coll.java:357) ~[?:?] at com.massivecraft.massivecore.store.Coll.detachFixed(Coll.java:330) ~[?:?] at com.massivecraft.massivecore.store.Coll.detachEntity(Coll.java:308) ~[?:?] at com.massivecraft.massivecore.store.Entity.detach(Entity.java:76) ~[?:?] at com.massivecraft.factions.cmd.CmdFactionsDisband.perform(CmdFactionsDisband.java:90) ~[?:?] at com.massivecraft.massivecore.command.MassiveCommand.execute(MassiveCommand.java:973) ~[?:?] at com.massivecraft.massivecore.command.MassiveCommand.execute(MassiveCommand.java:929) ~[?:?] at com.massivecraft.massivecore.command.MassiveCoreBukkitCommand.execute(MassiveCoreBukkitCommand.java:61) ~[?:?] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.10.2.jar:git-Spigot-cf6dea3-ca1bb1c] ... 14 more

Tells me to update, but is updated.

Hey!
I'm using SaneEconomy 0.6.5 (I downloaded from Spigot and GitHub), but it says there's a new version. Also, in /version SaneEconomy it appears as 0.6.4 (and in my /plugins folder the name is 0.6.5). Could you fix this? Thanks!

Error | SaneEconomy 0.8.0

Hello.
I updated my SaneEconomy to 0.8.0 today, and it causes an error. The plugins loads normally (I'm using Java 8 as well):

22.09 17:12:26 [Server] INFO [SaneEconomy] Enabling SaneEconomy v0.8.0
22.09 17:12:26 [Server] INFO [SaneEconomy] Initializing currency...
22.09 17:12:26 [Server] INFO [SaneEconomy] Initialized currency: dollars
22.09 17:12:26 [Server] INFO [SaneEconomy] Initializing economy storage backend...
22.09 17:12:26 [Server] INFO [SaneEconomy] Initialized flatfile backend with file /plugins/SaneEconomy/economy.db
22.09 17:12:26 [Server] INFO [SaneEconomy] Performing initial data load...
22.09 17:12:26 [Server] INFO [SaneEconomy] Data loaded!
22.09 17:12:26 [Server] INFO [SaneEconomy] Initializing commands...
22.09 17:12:26 [Server] INFO [SaneEconomy] Initialized commands.
22.09 17:12:26 [Server] INFO [SaneEconomy] Initializing listeners...
22.09 17:12:26 [Server] INFO [SaneEconomy] Initialized listeners.
22.09 17:12:26 [Server] INFO [SaneEconomy] Hooked into Vault.

But when I use /eco command, it causes this error (and it actually gives me the money):

22.09 17:13:18 [Server] ERROR null
22.09 17:13:18 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'eco' in plugin SaneEconomy v0.8.0
22.09 17:13:18 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[Spigot%201.8.8.jar:git-Spigot-21fe707-e1ebe52]
22.09 17:13:18 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[Spigot%201.8.8.jar:git-Spigot-21fe707-e1ebe52]
22.09 17:13:18 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) ~[Spigot%201.8.8.jar:git-Spigot-21fe707-e1ebe52]
22.09 17:13:18 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162) [Spigot%201.8.8.jar:git-Spigot-21fe707-e1ebe52]
22.09 17:13:18 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) [Spigot%201.8.8.jar:git-Spigot-21fe707-e1ebe52]
22.09 17:13:18 [Server] INFO at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [Spigot%201.8.8.jar:git-Spigot-21fe707-e1ebe52]
22.09 17:13:18 [Server] INFO at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [Spigot%201.8.8.jar:git-Spigot-21fe707-e1ebe52]
22.09 17:13:18 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [Spigot%201.8.8.jar:git-Spigot-21fe707-e1ebe52]
22.09 17:13:18 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_101]
22.09 17:13:18 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_101]
22.09 17:13:18 [Server] INFO at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [Spigot%201.8.8.jar:git-Spigot-21fe707-e1ebe52]
22.09 17:13:18 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [Spigot%201.8.8.jar:git-Spigot-21fe707-e1ebe52]
22.09 17:13:18 [Server] INFO at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [Spigot%201.8.8.jar:git-Spigot-21fe707-e1ebe52]
22.09 17:13:18 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [Spigot%201.8.8.jar:git-Spigot-21fe707-e1ebe52]
22.09 17:13:18 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [Spigot%201.8.8.jar:git-Spigot-21fe707-e1ebe52]
22.09 17:13:18 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
22.09 17:13:18 [Server] INFO Caused by: java.lang.IllegalArgumentException: Cannot transact a zero or negative amount!
22.09 17:13:18 [Server] INFO at org.appledash.saneeconomy.economy.transaction.Transaction.<init>(Transaction.java:17) ~[?:?]
22.09 17:13:18 [Server] INFO at org.appledash.saneeconomy.command.type.EconomyAdminCommand.onCommand(EconomyAdminCommand.java:117) ~[?:?]
22.09 17:13:18 [Server] INFO at org.appledash.saneeconomy.command.SaneEconomyCommand.onCommand(SaneEconomyCommand.java:30) ~[?:?]
22.09 17:13:18 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[Spigot%201.8.8.jar:git-Spigot-21fe707-e1ebe52]
22.09 17:13:18 [Server] INFO ... 15 more
  • Works normally
  • I used the command "/eco set TrademarkTM 10000"
  • I'm hooking with Vault
  • No problem with other plugins

Hope you fix it soon!
Thanks!

I get an error everytime I use /saneeconomy /ecoadmin well anything to do with Sane

Here is the error, could you fix it or tell me what's wrong please
[06:07:36 INFO]: AnoKira issued server command: /saneeconomy

org.bukkit.command.CommandException: Unhandled exception executing command 'saneeconomy' in plugin SaneEconomy v0.6.4
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[craftbukkit-1.10.2-R0.1-SNAPSHOT.jar:git-Bukkit-67b2424]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:140) ~[craftbukkit-1.10.2-R0.1-SNAPSHOT.jar:git-Bukkit-67b2424]
at org.bukkit.craftbukkit.v1_10_R1.CraftServer.dispatchCommand(CraftServer.java:625) ~[craftbukkit-1.10.2-R0.1-SNAPSHOT.jar:git-Bukkit-67b2424]
at net.minecraft.server.v1_10_R1.PlayerConnection.handleCommand(PlayerConnection.java:1299) [craftbukkit-1.10.2-R0.1-SNAPSHOT.jar:git-Bukkit-67b2424]
at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:1159) [craftbukkit-1.10.2-R0.1-SNAPSHOT.jar:git-Bukkit-67b2424]
at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(SourceFile:37) [craftbukkit-1.10.2-R0.1-SNAPSHOT.jar:git-Bukkit-67b2424]
at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(SourceFile:9) [craftbukkit-1.10.2-R0.1-SNAPSHOT.jar:git-Bukkit-67b2424]
at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13) [craftbukkit-1.10.2-R0.1-SNAPSHOT.jar:git-Bukkit-67b2424]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_101]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_101]
at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45) [craftbukkit-1.10.2-R0.1-SNAPSHOT.jar:git-Bukkit-67b2424]
at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:692) [craftbukkit-1.10.2-R0.1-SNAPSHOT.jar:git-Bukkit-67b2424]
at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:360) [craftbukkit-1.10.2-R0.1-SNAPSHOT.jar:git-Bukkit-67b2424]
at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:647) [craftbukkit-1.10.2-R0.1-SNAPSHOT.jar:git-Bukkit-67b2424]
at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:551) [craftbukkit-1.10.2-R0.1-SNAPSHOT.jar:git-Bukkit-67b2424]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_101]
Caused by: java.lang.NoClassDefFoundError: net/md_5/bungee/api/ChatColor
at org.appledash.saneeconomy.utils.MessageUtils.sendMessage(MessageUtils.java:20) ~[?:?]
at org.appledash.saneeconomy.command.SaneEconomyCommand.onCommand(SaneEconomyCommand.java:26) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[craftbukkit-1.10.2-R0.1-SNAPSHOT.jar:git-Bukkit-67b2424]
... 15 more
Caused by: java.lang.ClassNotFoundException: net.md_5.bungee.api.ChatColor
at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_101]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77) ~[craftbukkit-1.10.2-R0.1-SNAPSHOT.jar:git-Bukkit-67b2424]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) ~[craftbukkit-1.10.2-R0.1-SNAPSHOT.jar:git-Bukkit-67b2424]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_101]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_101]
at org.appledash.saneeconomy.utils.MessageUtils.sendMessage(MessageUtils.java:20) ~[?:?]
at org.appledash.saneeconomy.command.SaneEconomyCommand.onCommand(SaneEconomyCommand.java:26) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[craftbukkit-1.10.2-R0.1-SNAPSHOT.jar:git-Bukkit-67b2424]
... 15 more

Non-player account support

It looks like SaneEconomy doesn't currently support creating arbitrary accounts, even through the Vault API. I have a plugin that is supposed to put currency into a non-player account and it is unable to create that account. This also means that existing accounts of this type that are converted using Vault's vault-convert command are silently ignored by SaneEconomy.

Feature or issue? Non-Player accounts.

Recently I had an issue with factions, as disbanding would give an error. Was then given a new version of SaneEconomy to fix it. I posted on factions asking them to fix: Invalid player name to a vault api method, and here was the response(I kind of need factions to use the economy, please :P):

`Factions can have accounts, usually economy plugins handle this farley well.

It seems that they are not fit to handle anything else then players, which iMO is rather weak.

This message would disapear if you disable the economy feature in Factions. But that would also mean that players don't have to pay/ get rewarded for/from factions.

If I were you, I'd post a request on their github to support non-player accounts such as factions.
`

Block cross-world /pay

Any way to stop players transferring money between worlds on a multi-world server setup? I've currently had to disable /pay since players could earn money in survival and transfer it to Skyblocks. I also tried using MultiWorldMoney: https://www.spigotmc.org/resources/multi-world-money.6231/
and disabling SaneEconomy's /pay permission and allowing players MWM's /pay but this blocks /pay altogether.
Perhaps I am doing something wrong? Or maybe if it's not added already add support for multi-world servers?

new players can see own bal but admin cannot see new player balance

So I am updated to 0.8.2 and when a new player comes on they can now see their balance themselves but as admin I cannot see their balance until the user logs out and logs back in. I THINK that the issue is at......

PlayerUtils.java Line 32

if ((player != null) && !player.hasPlayedBefore()) {

I am just getting into the source now but this seems odd in that player has never played before we should still be able to get the player information from Bukkit.

On a side note can I get some information as to how to get the git repository to create a jar file. I have it cloned and in eclipse but when I run mvn package or any of the other goals I cannot get a jar file built.

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".

[08:07:20] [Server thread/INFO]: [SaneEconomy] Enabling SaneEconomy v0.12.7
[08:07:20] [Server thread/INFO]: [SaneEconomy] Using YAML-backed I18n from /home/main-server/plugins/SaneEconomy/messages.yml
[08:07:20] [Server thread/INFO]: [SaneEconomy] Initializing currency...
[08:07:20] [Server thread/INFO]: [SaneEconomy] Initialized currency: mynter
[08:07:20] [Server thread/INFO]: [SaneEconomy] Initializing economy storage backend...
[08:07:20] [Server thread/WARN]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
[08:07:20] [Server thread/WARN]: SLF4J: Defaulting to no-operation (NOP) logger implementation
[08:07:20] [Server thread/WARN]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[08:07:20] [Server thread/INFO]: Initialized Hikari data source.
[08:07:20] [Server thread/INFO]: [SaneEconomy] Initialized MySQL backend.
[08:07:20] [Server thread/INFO]: [SaneEconomy] Testing connection...
[08:07:20] [Server thread/INFO]: [SaneEconomy] Connection successful!
[08:07:20] [Server thread/INFO]: [SaneEconomy] Performing initial data load...
[08:07:20] [Server thread/INFO]: [SaneEconomy] Data loaded!
[08:07:20] [Server thread/INFO]: [SaneEconomy] Initializing commands...
[08:07:20] [Server thread/INFO]: [SaneEconomy] Initialized commands.
[08:07:20] [Server thread/INFO]: [SaneEconomy] Initializing listeners...
[08:07:20] [Server thread/INFO]: [SaneEconomy] Initialized listeners.
[08:07:20] [Server thread/INFO]: [SaneEconomy] Hooked into Vault.

error on /baltop command

I am getting this console error when trying to use /baltop

[00:10:49] [Craft Scheduler Thread - 702/WARN]: [SaneEconomy] Plugin SaneEconomy v0.12.7 generated an exception while executing task 37624
java.lang.IllegalArgumentException: PartialName cannot be null
	at org.apache.commons.lang.Validate.notNull(Validate.java:192) ~[TacoSpigot-1.11.2-b102.jar:git-TacoSpigot-"8aa5e7ec"]
	at org.bukkit.craftbukkit.v1_11_R1.CraftServer.matchPlayer(CraftServer.java:469) ~[TacoSpigot-1.11.2-b102.jar:git-TacoSpigot-"8aa5e7ec"]
	at org.anjocaido.groupmanager.dataholder.worlds.WorldsHolder.getWorldDataByPlayerName(WorldsHolder.java:473) ~[?:?]
	at org.anjocaido.groupmanager.dataholder.worlds.WorldsHolder.getWorldPermissionsByPlayerName(WorldsHolder.java:527) ~[?:?]
	at net.milkbowl.vault.permission.plugins.Permission_GroupManager.playerHas(Permission_GroupManager.java:103) ~[?:?]
	at net.milkbowl.vault.permission.Permission.has(Permission.java:61) ~[?:?]
	at net.milkbowl.vault.permission.Permission.playerHas(Permission.java:130) ~[?:?]
	at org.appledash.saneeconomy.vault.VaultHook.hasPermission(VaultHook.java:34) ~[?:?]
	at org.appledash.saneeconomy.economy.EconomyManager.lambda$getTopPlayerBalances$1(EconomyManager.java:206) ~[?:?]
	at java.util.LinkedHashMap.forEach(LinkedHashMap.java:684) ~[?:1.8.0_121]
	at org.appledash.saneeconomy.economy.EconomyManager.getTopPlayerBalances(EconomyManager.java:203) ~[?:?]
	at org.appledash.saneeconomy.command.BalanceTopCommand.onCommand(BalanceTopCommand.java:58) ~[?:?]
	at org.appledash.saneeconomy.shaded.sanelib.command.SaneCommand.lambda$onCommand$0(SaneCommand.java:31) ~[?:?]
	at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftTask.run(CraftTask.java:58) ~[TacoSpigot-1.11.2-b102.jar:git-TacoSpigot-"8aa5e7ec"]
	at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) [TacoSpigot-1.11.2-b102.jar:git-TacoSpigot-"8aa5e7ec"]
	at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) [TacoSpigot-1.11.2-b102.jar:git-TacoSpigot-"8aa5e7ec"]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_121]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_121]
	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]```

There is not output for the user, just doesnt happen anything

No Flatfile

Hi AppleDash,
Installed your plugin, no error messages, however on checking the plugin folder there is no flat file but it has created an "economy.db" file which errors with an "Invalid File Format" on opening. There is no structure or data in the database.
The config file says the backend should be a flat file and there is no mention of a database.
The odd part is that it retains the player balance even after stopping and starting the server and minecraft but I can't find where it is saving it.
Apart from that it is what I have been looking for.
Thanks
Genoay

Replace %s with %name, %balance, etc. in messages.yml

It would make more sense in my opinion for you to have specific variables in the messages.yml such as %name and %balance. At the moment, because it only has %s, you are limited in the fact that you have to include both %s's in the message if you want the second one to be printed.

For example, on the balance message, I just want it to print out the balance and nothing else; no player name. Currently, if I set the message to just '%s' it will print out the player name because it takes the first %s and sets that to the player name, not the balance. I can only print the balance if the player's name is printed as well. Surely it would make more sense to have it so that you could use '%balance' or '%player' or a mixture of both?

Plugin not loading

When I try to import the plugin on my server, it is not loading. there are no errors whatsoever.

Once again, another error

23.09 18:32:34 [Server] ERROR null
23.09 18:32:34 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'eco' in plugin SaneEconomy v0.8.1
23.09 18:32:34 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[Spigot%201.8.8.jar:git-Spigot-21fe707-e1ebe52]
23.09 18:32:34 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[Spigot%201.8.8.jar:git-Spigot-21fe707-e1ebe52]
23.09 18:32:34 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) ~[Spigot%201.8.8.jar:git-Spigot-21fe707-e1ebe52]
23.09 18:32:34 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162) [Spigot%201.8.8.jar:git-Spigot-21fe707-e1ebe52]
23.09 18:32:34 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) [Spigot%201.8.8.jar:git-Spigot-21fe707-e1ebe52]
23.09 18:32:34 [Server] INFO at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [Spigot%201.8.8.jar:git-Spigot-21fe707-e1ebe52]
23.09 18:32:34 [Server] INFO at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [Spigot%201.8.8.jar:git-Spigot-21fe707-e1ebe52]
23.09 18:32:34 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [Spigot%201.8.8.jar:git-Spigot-21fe707-e1ebe52]
23.09 18:32:34 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_101]
23.09 18:32:34 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_101]
23.09 18:32:34 [Server] INFO at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [Spigot%201.8.8.jar:git-Spigot-21fe707-e1ebe52]
23.09 18:32:34 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [Spigot%201.8.8.jar:git-Spigot-21fe707-e1ebe52]
23.09 18:32:34 [Server] INFO at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [Spigot%201.8.8.jar:git-Spigot-21fe707-e1ebe52]
23.09 18:32:34 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [Spigot%201.8.8.jar:git-Spigot-21fe707-e1ebe52]
23.09 18:32:34 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [Spigot%201.8.8.jar:git-Spigot-21fe707-e1ebe52]
23.09 18:32:34 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
23.09 18:32:34 [Server] INFO Caused by: java.lang.NullPointerException
23.09 18:32:34 [Server] INFO at org.appledash.saneeconomy.command.type.EconomyAdminCommand.onCommand(EconomyAdminCommand.java:123) ~[?:?]
23.09 18:32:34 [Server] INFO at org.appledash.saneeconomy.command.SaneEconomyCommand.onCommand(SaneEconomyCommand.java:30) ~[?:?]
23.09 18:32:34 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[Spigot%201.8.8.jar:git-Spigot-21fe707-e1ebe52]
23.09 18:32:34 [Server] INFO ... 15 more
  • Version: 1.8.8 with ViaVersion
  • NullPointerException

Hope you fix it!

'Infinite' money. Vault API integration error.

Love the plugin, super light weight and works, mostly.

You've got a bug though in your Vault hook where currency is withdrawn. You return a transaction SUCCESS even if the players balance is less than the amount being withdrawn. Currently I'm getting problems from plugins which allow users to spend like crazy because of this.

Database connection pool

I am using mysql. In my server there are too many connections in TIME_WAIT stat. Every new mysql connection have to do authentication each time. I think you can use a connection pool library to improve the performance, HikariCP is a good one. LogBlock plugin useHikariCP, and it has very a good performance.

server-account not working

Thanks for adding this feature. Unfortunately, the server-account doesn't appear to be working as expected. I have all the permissions, can use each but when I updated the config.yml to have
start-balance: 100000000000.00
server-account: MC-Bank (I later changed it to $MC-Bank$ and then started getting paid by it)
The server-account name should be like a player, but not, so it seems it isn't quite registering.

/baltop should show it as the top account followed by my account. Instead, the first time it said "There aren't enough players to display that page." Which is strange, like there has to be a minimum more than 1? My name wasn't listed, so I set my balance and tried again, then I see [01] smmmadden - 10.14 dollars which is good. But the server-account should always be listed too. Otherwise, there is no way to tell if the server needs more money or not. Yes, we would want to know what the current balance is.

/bal MC-Bank (or lower-cased) says "That player does not exist." which gives the impression the account doesn't exist even though the config shows that it does.

I also removed Fe.jar and the folder, restarted and the config.yml updated the start-balance to 1.0E9 which isn't typical that you'd see for an amount. I tried getting paid for breaking blocks and my balance never changed. It was only when I put a $ before and after the server-account name ($MC-Bank$)

What's strange is though I downloaded the 10.5 version (from Spigot & Github), when I logged in, the server thinks it is 10.4. I tried both files with and without SNAPSHOT in the name. Still registering as 10.4. The first restart of the server, I logged in and it showed my balance with 100,000,000,000.00. I set my player name balance to 10.14 and then it showed correctly. But still not getting paid
What I see after logging in, the chat window shows:
[Economy] An update is available! The currently-installed version is 0.10.4, but the newest available is 0.10.5. Please go to https://github.com/AppleDash/SaneEconomy/releases to update!

Plugin stops working after restart

Hello
The deal is when I first download/launch the plugin everything is working fine but when I set the money of a player it still works fine till the server restart as then there's an error which you can see here from my console report. Personally I think it has something to do with the flatfile which after restart creates the file (economy.db)
Would appreciate any help

17.01 11:30:44 [Server] INFO at org.appledash.saneeconomy.SaneEconomy.onEnable(SaneEconomy.java:45) ~[?:?]
17.01 11:30:44 [Server] INFO at org.appledash.saneeconomy.SaneEconomy.loadConfig(SaneEconomy.java:100) ~[?:?]
17.01 11:30:44 [Server] INFO at org.appledash.saneeconomy.utils.SaneEconomyConfiguration.loadEconomyBackend(SaneEconomyConfiguration.java:49) ~[?:?]
17.01 11:30:44 [Server] INFO at org.appledash.saneeconomy.economy.backend.type.EconomyStorageBackendFlatfile.reloadDatabase(EconomyStorageBackendFlatfile.java:46) ~[?:?]
17.01 11:30:44 [Server] INFO java.lang.ClassCastException: java.util.concurrent.ConcurrentHashMap cannot be cast to java.util.HashMap
17.01 11:30:44 [Server] ERROR Error occurred while enabling SaneEconomy v0.10.0 (Is it up to date?)
17.01 11:30:44 [Server] INFO Performing initial data load...
17.01 11:30:44 [Server] INFO Initialized flatfile backend with file /plugins/SaneEconomy/economy.db
17.01 11:30:44 [Server] INFO Initializing economy storage backend...
17.01 11:30:44 [Server] INFO Initialized currency: dollars
17.01 11:30:44 [Server] INFO Initializing currency...
17.01 11:30:44 [Server] INFO Enabling SaneEconomy v0.10.0

mysql

can you give me an example config file to use mysql, I cant get mine to work.

01:11:20 [SEVERE] Cannot load plugins\SaneEconomy\config.yml
01:11:20 org.bukkit.configuration.InvalidConfigurationException: mapping values are not allowed here
01:11:20 in 'string', line 3, column 12:
01:11:20 hostname: 'localhost'
01:11:20 ^
01:11:20 at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:56) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:184) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:130) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:179) [spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:167) [spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at org.bukkit.plugin.java.JavaPlugin.getConfig(JavaPlugin.java:142) [spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at org.appledash.saneeconomy.SaneEconomy.loadConfig(SaneEconomy.java:86) [SaneEconomyCore-0.10.6-SNAPSHOT.jar:?]
01:11:20 at org.appledash.saneeconomy.SaneEconomy.onEnable(SaneEconomy.java:45) [SaneEconomyCore-0.10.6-SNAPSHOT.jar:?]
01:11:20 at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:271) [spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) [spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugin(CraftServer.java:376) [spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugins(CraftServer.java:326) [spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at net.minecraft.server.v1_11_R1.DedicatedServer.init(DedicatedServer.java:205) [spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:544) [spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at java.lang.Thread.run(Unknown Source) [?:1.8.0_121]
01:11:20 Caused by: org.yaml.snakeyaml.scanner.ScannerException: mapping values are not allowed here
01:11:20 in 'string', line 3, column 12:
01:11:20 hostname: 'localhost'
01:11:20 ^
01:11:20 at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:871) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:360) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:226) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:557) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:157) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:147) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:224) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:246) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:237) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:225) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:450) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at org.yaml.snakeyaml.Yaml.load(Yaml.java:369) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:54) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 ... 15 more
01:11:20 [SEVERE] Cannot load plugins\SaneEconomy\config.yml
01:11:20 org.bukkit.configuration.InvalidConfigurationException: mapping values are not allowed here
01:11:20 in 'string', line 3, column 12:
01:11:20 hostname: 'localhost'
01:11:20 ^
01:11:20 at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:56) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:184) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:130) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:179) [spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:167) [spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:20 at org.appledash.saneeconomy.SaneEconomy.loadConfig(SaneEconomy.java:95) [SaneEconomyCore-0.10.6-SNAPSHOT.jar:?]
01:11:20 at org.appledash.saneeconomy.SaneEconomy.onEnable(SaneEconomy.java:45) [SaneEconomyCore-0.10.6-SNAPSHOT.jar:?]
01:11:20 at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:271) [spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:21 at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) [spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:21 at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:21 at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugin(CraftServer.java:376) [spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:21 at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugins(CraftServer.java:326) [spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:21 at net.minecraft.server.v1_11_R1.DedicatedServer.init(DedicatedServer.java:205) [spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:21 at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:544) [spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:21 at java.lang.Thread.run(Unknown Source) [?:1.8.0_121]
01:11:21 Caused by: org.yaml.snakeyaml.scanner.ScannerException: mapping values are not allowed here
01:11:21 in 'string', line 3, column 12:
01:11:21 hostname: 'localhost'
01:11:21 ^
01:11:21 at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:871) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:21 at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:360) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:21 at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:226) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:21 at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:557) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:21 at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:157) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:21 at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:147) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:21 at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:224) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:21 at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:21 at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:246) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:21 at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:237) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:21 at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:225) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:21 at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:21 at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:21 at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:21 at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:21 at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:450) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:21 at org.yaml.snakeyaml.Yaml.load(Yaml.java:369) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:21 at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:54) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
01:11:21 ... 14 more

Towny

I've had complaints of taxes kicking out players even when they have the amount needed to pay the tax. I don't think towny is pulling from SaneEconomy or something..

I have little knowledge to what's going on, but does this sound possible, or is it fixable?

Feature - Request

Apple Dash,

I was wondering if you could build a simple addon file, instead of clogging up the main plugin or however you want to do it.

I was wondering if one day you could code the features to have, it's really up to you. ^^:

Interest (Earned by Time playing, not AFK)

Tax (Going AFK, or Set on a time.)

Ability to display balances on the sign. (So anyone can see the sign)

Maybe split payments. Ex /pay

Also a child permission node, to take balance, but not be able to give. (So a staff can take, balance but not be able to give it.)

Is "json" not an option anymore for backend type in the config?

When i read the wiki, Configuration page, I read that saving the player accounts using json is an option:
image

But when I try setting the config that way the plugin (SaneEco) does not recognise it:
image

Using Spigot 1.11.2 (Build is latest enough to not give out an outdated build notification at the start)
The server will run fine if i use what i used before (flatfile).

Prefix for transations_logs

@bug
I have name duplication for transations_logs table in my database, could you please add "saneeconomy_" prefix like for other tables?

@Feature_request @Improve_standards
It will be awesome if you add option for customizing table prefix, so it will be posible to store more than one instance of plugin in one database, eg. "se1_", "se2_".

Issue with ecoadmin command

Hi, i get an error when using the ecoadmin command "/set", "/give" and "/take".

Also, the jar file "SaneEconomyCore-0.6.2-SNAPSHOT.jar" is the SaneEconomy 0.6.1 version

[13:07:31] [INFO] Anois581 issued server command: /ecoadmin give Anois581 1000
[13:07:31] [ERROR] null
org.bukkit.command.CommandException: Unhandled exception executing command 'ecoadmin' in plugin SaneEconomy v0.6.1
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[minecraft_server.jar:git-Spigot-078e2f8-21e3b05]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[minecraft_server.jar:git-Spigot-078e2f8-21e3b05]
at org.bukkit.craftbukkit.v1_10_R1.CraftServer.dispatchCommand(CraftServer.java:646) ~[minecraft_server.jar:git-Spigot-078e2f8-21e3b05]
at net.minecraft.server.v1_10_R1.PlayerConnection.handleCommand(PlayerConnection.java:1351) [minecraft_server.jar:git-Spigot-078e2f8-21e3b05]
at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:1186) [minecraft_server.jar:git-Spigot-078e2f8-21e3b05]
at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [minecraft_server.jar:git-Spigot-078e2f8-21e3b05]
at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [minecraft_server.jar:git-Spigot-078e2f8-21e3b05]
at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13) [minecraft_server.jar:git-Spigot-078e2f8-21e3b05]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_91]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_91]
at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45) [minecraft_server.jar:git-Spigot-078e2f8-21e3b05]
at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:732) [minecraft_server.jar:git-Spigot-078e2f8-21e3b05]
at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:400) [minecraft_server.jar:git-Spigot-078e2f8-21e3b05]
at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:668) [minecraft_server.jar:git-Spigot-078e2f8-21e3b05]
at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:567) [minecraft_server.jar:git-Spigot-078e2f8-21e3b05]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]
Caused by: java.lang.NumberFormatException: For input string: "1000,00"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043) ~[?:1.8.0_91]
at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110) ~[?:1.8.0_91]
at java.lang.Double.parseDouble(Double.java:538) ~[?:1.8.0_91]
at java.lang.Double.valueOf(Double.java:502) ~[?:1.8.0_91]
at org.appledash.saneeconomy.utils.NumberUtils.filterAmount(NumberUtils.java:36) ~[?:?]
at org.appledash.saneeconomy.utils.NumberUtils.parseAndFilter(NumberUtils.java:40) ~[?:?]
at org.appledash.saneeconomy.command.type.EconomyAdminCommand.onCommand(EconomyAdminCommand.java:66) ~[?:?]
at org.appledash.saneeconomy.command.SaneEconomyCommand.onCommand(SaneEconomyCommand.java:23) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[minecraft_server.jar:git-Spigot-078e2f8-21e3b05]
... 15 more

Thanks in advance for your help

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.