Code Monkey home page Code Monkey logo

economylite's People

Contributors

dockter avatar dualspiral avatar flibio avatar michaelfedora avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

economylite's Issues

Dollar symbol issue

How do I specify the dollar sign ($) in currencies? I do it and then it just crashes. I didn't change any formatting either. This is in my currencies config:

dollar {
plural=Dollars
singular=Dollar
symbol=$
}
current=dollar

Forge latest log:
http://pastebin.com/YVX8DU1k

/Business does not work

/business is currently not an registered command on last build.
I use spongeforge-1.10.2-2123-6.0.0-BETA-1890 and ur development build EconomyLite-6.0.0-2.3.0.

Greetz,
yololetsplay

Suggestion: Autopay by time played.

A command for admin/server autopay for time played.

Maybe: /vpay <account> <player> <amount> <time/mins>
or:  /vpay <account> <amount> <time/mins>   to place in a group for Permission manager Rules? 

To be able to pay anyone in that group for time played?

Thanks.

Suggestion - Clickable links in /loan take

Add clickable links when taking a loan, or when a loan is suggested.
Easier for players to take a loan and links would only run the /loan accept or /loan deny command

Integration/Compatibility with Pieconomy

Suggestion:

Pieconomy's Github

I understand that this plugin isn't released yet but it would be fantastic if the needed additions to the plugin on your side was already in place before Pieconomy's release. It looks like it just needs a stopper in place if inventory space doesn't exist.

This plugin runs a few edge cases you don't expect to see in economy plugins. Player accounts can and will return ResultType.ACCOUNT_NO_SPACE. They can even return that when withdrawing, due to the making of change. They can even return that, but be successful on a larger amount, due to a full inventory but non-full stacks. Server accounts can report a balance, and successfully withdraw a balance, but return ACCOUNT_NO_SPACE if you try to put it back again due to the currency not being allowed on that account. They can also have negative values on any given currency.

However, I still have no idea how Contexts work, or what they even mean, so I ignore them completely.

Can't add currencies in latest EconomyLite

Was trying to create a currency (pkd), but whenever I start the server up after changing the config, it adds a coin currency which it uses instead.
I can change the plural, singular, and symbol of coin to the currency I need however.

Balance readout without decimal points

It would be awesome to not see decimal points after whole numbers (e.g. "balance: 50.00 dollars", vs "balance 50 dollars"), or perhaps an option to set it up this way.

Error on command use

Im getting the following error when using the /econ give command

22.02 14:31:09 [Server] pool-2-thread-9/INFO An internal error has occurred!
22.02 14:31:09 [Server] pool-2-thread-9/ERROR [economylite]: null
22.02 14:31:09 [Server] pool-2-thread-9/INFO [STDERR]: [io.github.flibio.economylite.utils.sql.SqlManager:executeUpdate:120]: 	at java.lang.Thread.run(Unknown Source)
22.02 14:31:09 [Server] pool-2-thread-9/INFO [STDERR]: [io.github.flibio.economylite.utils.sql.SqlManager:executeUpdate:120]: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
22.02 14:31:09 [Server] pool-2-thread-9/INFO [STDERR]: [io.github.flibio.economylite.utils.sql.SqlManager:executeUpdate:120]: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
22.02 14:31:09 [Server] pool-2-thread-9/INFO [STDERR]: [io.github.flibio.economylite.utils.sql.SqlManager:executeUpdate:120]: 	at java.util.concurrent.FutureTask.run(Unknown Source)
22.02 14:31:09 [Server] pool-2-thread-9/INFO [STDERR]: [io.github.flibio.economylite.utils.sql.SqlManager:executeUpdate:120]: 	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
22.02 14:31:09 [Server] pool-2-thread-9/INFO [STDERR]: [io.github.flibio.economylite.utils.sql.SqlManager:executeUpdate:120]: 	at org.spongepowered.common.scheduler.SchedulerBase.lambda$startTask$0(SchedulerBase.java:183)
22.02 14:31:09 [Server] pool-2-thread-9/INFO [STDERR]: [io.github.flibio.economylite.utils.sql.SqlManager:executeUpdate:120]: 	at io.github.flibio.economylite.utils.commands.BaseCommandExecutor.lambda$execute$0(BaseCommandExecutor.java:69)
22.02 14:31:09 [Server] pool-2-thread-9/INFO [STDERR]: [io.github.flibio.economylite.utils.sql.SqlManager:executeUpdate:120]: 	at io.github.flibio.economylite.commands.balance.BalanceCommand.run(BalanceCommand.java:70)
22.02 14:31:09 [Server] pool-2-thread-9/INFO [STDERR]: [io.github.flibio.economylite.utils.sql.SqlManager:executeUpdate:120]: 	at io.github.flibio.economylite.impl.economy.LiteEconomyService.getOrCreateAccount(LiteEconomyService.java:64)
22.02 14:31:09 [Server] pool-2-thread-9/INFO [STDERR]: [io.github.flibio.economylite.utils.sql.SqlManager:executeUpdate:120]: 	at io.github.flibio.economylite.impl.PlayerServiceCommon.setBalance(PlayerServiceCommon.java:76)
22.02 14:31:09 [Server] pool-2-thread-9/INFO [STDERR]: [io.github.flibio.economylite.utils.sql.SqlManager:executeUpdate:120]: 	at io.github.flibio.economylite.utils.sql.SqlManager.executeUpdate(SqlManager.java:114)
22.02 14:31:09 [Server] pool-2-thread-9/INFO [STDERR]: [io.github.flibio.economylite.utils.sql.SqlManager:executeUpdate:120]: java.lang.NullPointerException
22.02 14:31:09 [Server] pool-2-thread-9/ERROR [economylite]: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: IO Exception: "java.net.UnknownHostException: node326.chi.mcprohosting.com: node326.chi.mcprohosting.com: No address associated with hostname" [90028-192]

Pay with different currencies

The plugin supports multiple currencies, yes.
Pls add that you can pay players with different currencies not only with the "active set" one.
Like: /pay player111 100 BP or /pay player111 C (using the short one to pay, if nothing is said it uses the default currency to pay).
Also provide the /balance to support all currencies (if it doesnt yet).
Like /balance shows up

-> 100 BP
      50 C

Admins can then create exchange offices and banks where players can exchange money.

Permissions does not work on newest build

The permissions are not working currently :/

                    "econ.playerbalance": 1,
                    "econ.pay": 1,
                    "econ.business.register": 1,
                    "econ.business.delete": 1,
                    "econ.business.leave": 1,
                    "econ.business.invite": 1,
                    "econ.business.transfer": 1,

Using ur latest development build EconomyLite-6.0.0-2.3.0 and spongeforge-1.10.2-2123-6.0.0-BETA-1890.

How will players get payed?

Could you please add an option to where the pluglin adds to the players balance for the time they are on the server. Also if you cant how are players suppose to make money, I cant figure out how players can sell their items for economy lite currency.

Concernings regarding, /baltop , command.

Well, I was playing around with my friends on one of my SpongeForge servers until I discovered something strange. When you write, /baltop , you can see all the players money but at the orange text where it says TOP BALANCES you have forgot to make an: ":" at the end of TOP BALANCES. Just so you know. :D

Can't use command /money

These mods running on server:
spongeforge-1.10.2-2011-5.0.0-BETA-1570
EconomyLite 2.2.3
Polis 1.10.2-2.6.8
industrialcraft-2-2.6.13-ex110

Forge build 2011, client running same and only mod on client is industrialcraft-2-2.6.13-ex110.

Here's the error

[suggestion] for easy DB management

Hi,

First of all I love your sponge plugin economy lite & jobs lite.

I use MySQL setup & For an easy management when you have multiple plugins is it possible add "prefix setup".

Best regards

P.S I post same suggestion for jobs lite

Add support for multiple Currencies

The economy service api has the ability to support it, and I think it'd be great if this plugin could implement it too!

There could be two ways of implementing this;
1) Have a /selectcurrency <currency_name>, which would make each of your commands work only with said currency (and thus if you want to switch currencies, just run the command to select a different one).

2) Edit all of your commands

/balance <currency_name>
/playerbalance <player> <currency_name>
/econ add|remove <amount> <currency_name> <player_name>
/econ set <player_name> <amount> <currency_name>
/pay <amount> <currency_name> <entity_name> /*entity_name meaning player or business*/

I dunno how paySpecified is implemented, but I bet you could figure it out.

Move /balance <business_name> to /business balance <currency_name> <business_name>
^ this is more or less because all of the other business commands have <business_name> last!

/business transfer <amount> <currency_name> <business_name>

A problem.

I both installed "EconomyLite-5.0.0-v2.2.4.jar" and "Nations-0.8.jar" as server's plugins. However when I tried to run a command in Nation plugin, there were some problems. After I reported this problem to the author of Nation plugin, he told me this problem is from the economic plugin.

This is the orginal page where I contacted with Arckenver.
Arckenver/Nations#5

Sure. In fact, any sponge plugin that has to make money transactions uses the Sponge Economy API. Economy plugins just implements that API, which means any plugin that uses economy (like Nations) is compatible with any economy plugin (like EconomyLite).

Our problem is explained here Value too long for column "ID VARCHAR(36)": "'nation-0821d04a-e64c-437c-8a6a-1a8635e9175e' (43)" which means that Nations is trying to create an account named nation-0821d04a-e64c-437c-8a6a-1a8635e9175e (which is the account of a newly created nation) but EconomyLite doesn't accept names with more than 36 characters.

But that is really strange given that in version 2.0.5 of EconomyLite, Flibio said he solved that problem (see here) so in v2.2.4 it should still be solved. Are you sure you of your EconomyLite version ? If so then that's an issue concerning that plugin, and I recommend you report it to Flibio.

Multi-currency and payment

Hello,
I have a problem with multi-currency support.
I want to use it for two currencies with VirtualChest and I can’t get it to work properly. Everytime its using the first currency.
And with PlaceHolderAPI I can’t get the value of the currencies properly. I tried to use %economy_balance_token% and %economy_balance_kredit% then %economy_balance_[token]% and %economy_balance_[kredit]%. Again, its just get back the balance of the first currency.

Does anyone know the solution for this?

PS: Sponge 1.10.2 API 5.2.0, EconomyLite 2.12.0

Request: Re-do some commands and more

  • Ability to use tab to complete a players name
  • Change the /pay [amount] [player] to /pay [player] [amount]
  • Remove /playerbalance and have /balance (player optional arguement) and use /business balance
  • SQLlite storage rather than flatfile
  • Possibly add /money as an alias of /balance
  • Add a /econ to see the current version of the plugin

Summary

It would be great if we can get some kinds of summary over the server, so that we can set price for our goods.

Config location seems hard coded.

Sponge just added the ability to specify config location, all plugins respect it, but for some reason economy lite has the /config folder hard coded, please correct.

Events need to extend AbstractEvent

With this event listener:

@Listener
public void event(Event event) {

}

I get this exception:

[22:08:30 ERROR] [Sponge]: Could not pass LiteEconomyTransactionEvent to Plugin{id=t, name=Test, version=1.0.0, source=mods/test-1.0.0.jar}
java.lang.ClassCastException: io.github.flibio.economylite.impl.economy.event.LiteEconomyTransactionEvent cannot be cast to org.spongepowered.api.event.impl.AbstractEvent
    at org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:304) ~[SpongeEventManager.class:1.10.2-5.0.0-BETA-129]
    at org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:320) ~[SpongeEventManager.class:1.10.2-5.0.0-BETA-129]
    at io.github.flibio.economylite.impl.economy.account.LiteUniqueAccount.resultAndEvent(LiteUniqueAccount.java:214) ~[LiteUniqueAccount.class:?]
    at io.github.flibio.economylite.impl.economy.account.LiteUniqueAccount.deposit(LiteUniqueAccount.java:159) ~[LiteUniqueAccount.class:?]
    at org.spongepowered.api.service.economy.account.Account.deposit(Account.java:294) ~[Account.class:1.10.2-5.0.0-BETA-129]
    at io.github.flibio.economylite.commands.admin.AddCommand.run(AddCommand.java:72) ~[AddCommand.class:?]
    at io.github.flibio.economylite.utils.commands.BaseCommandExecutor.lambda$execute$2(BaseCommandExecutor.java:69) ~[BaseCommandExecutor.class:?]
    at org.spongepowered.common.scheduler.SchedulerBase.lambda$startTask$642(SchedulerBase.java:177) ~[SchedulerBase.class:1.10.2-5.0.0-BETA-129]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_102-ea]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_102-ea]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_102-ea]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_102-ea]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_102-ea]

Registering service order

It seems that EconomyLite is not registering the economy service in the pre-load events, causing some plugins to not hook correctly with the service. Either that, or the other plugins could be at fault (I haven't looked into this as much as I probably should have).

Invalid /baltop

I have PayDay installed and my ballance increases every X minutes. It works - I check /bal after getting some cash and I see that it increased.
But /baltop don't see change - still displays previous number (before I get money from PayDay).
What is weird - i'm OP on server, my friends also get money from PayDay but his account status is displayed correctly on /baltop list (it's increasing every X minutes)

Messages Config doesn't respect Sponge.conf

EL: EconomyLite-5.0.0-2.6.1
SF: spongeforge-1.10.2-2171-5.1.0-BETA-2010

If you use the Sponge global.conf to move you plugin configs ex. config-dir="${CANONICAL_GAME_DIR}/plugins" the messages.conf file does not respect this setting and still generates in ./config/economylite/. All other files generate where they should.

servr crashing

06.11 00:53:33 [Multicraft] Not restarting crashed server.
06.11 00:53:33 [Disconnect] User afghan007 has disconnected, reason: Server shutting down
06.11 00:53:33 [Multicraft] Server stopped
06.11 00:53:33 [Multicraft] Server shut down
06.11 00:53:32 [Server] Server Shutdown Thread/INFO Saving players
06.11 00:53:32 [Server] Server Shutdown Thread/INFO Stopping server
06.11 00:53:32 [Server] Server thread/INFO [FML]: The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded.
06.11 00:53:32 [Server] Server thread/INFO [nucleus]: Nucleus is performing server shutdown tasks.
06.11 00:53:32 [Server] Server thread/INFO [com.zaxxer.hikari.pool.HikariPool]: HikariPool-1 - Closed.
06.11 00:53:32 [Server] Server thread/INFO [com.zaxxer.hikari.pool.HikariPool]: HikariPool-1 - Close initiated...
06.11 00:53:32 [Server] Server thread/INFO [FML]: Holder lookups applied
06.11 00:53:32 [Server] Server thread/INFO [FML]: Applying holder lookups
06.11 00:53:32 [Server] Server thread/INFO Saving worlds
06.11 00:53:32 [Server] Server thread/INFO Saving players
06.11 00:53:32 [Server] Server thread/INFO Stopping server
06.11 00:53:32 [Server] Server thread/ERROR This crash report has been saved to: /./crash-reports/crash-2017-11-06_00.53.32-server.txt
06.11 00:53:32 [Server] INFO ... 23 more
06.11 00:53:32 [Server] INFO at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_152]
06.11 00:53:32 [Server] INFO at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_152]
06.11 00:53:32 [Server] INFO at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.12.jar:?]
06.11 00:53:32 [Server] INFO Caused by: java.lang.NullPointerException
06.11 00:53:32 [Server] INFO ... 23 more
06.11 00:53:32 [Server] INFO at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_152]
06.11 00:53:32 [Server] INFO at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_152]
06.11 00:53:32 [Server] INFO at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]
06.11 00:53:32 [Server] INFO Caused by: java.lang.ClassNotFoundException: org.spongepowered.api.event.cause.EventContext
06.11 00:53:32 [Server] INFO at java.lang.Thread.run(Unknown Source) [?:1.8.0_152]
06.11 00:53:32 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
06.11 00:53:32 [Server] INFO at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) ~[MinecraftServer.class:?]
06.11 00:53:32 [Server] INFO at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) ~[ld.class:?]
06.11 00:53:32 [Server] INFO at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:732) ~[MinecraftServer.class:?]
06.11 00:53:32 [Server] INFO at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:180) ~[md.class:?]
06.11 00:53:32 [Server] INFO at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:287) ~[eo.class:?]
06.11 00:53:32 [Server] INFO at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.func_73660_a(NetworkDispatcher.java:209) ~[NetworkDispatcher$1.class:?]
06.11 00:53:32 [Server] INFO at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.access$100(NetworkDispatcher.java:73) ~[NetworkDispatcher.class:?]
06.11 00:53:32 [Server] INFO at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.completeServerSideConnection(NetworkDispatcher.java:260) ~[NetworkDispatcher.class:?]
06.11 00:53:32 [Server] INFO at net.minecraft.server.management.PlayerList.initializeConnectionToPlayer(PlayerList.java:1621) ~[mp.class:?]
06.11 00:53:32 [Server] INFO at org.spongepowered.common.SpongeImpl.postEvent(SpongeImpl.java:143) ~[SpongeImpl.class:1.10.2-2477-5.2.0-BETA-2698]
06.11 00:53:32 [Server] INFO at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:326) ~[SpongeModEventManager.class:1.10.2-2477-5.2.0-BETA-2698]
06.11 00:53:32 [Server] INFO at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:338) ~[SpongeModEventManager.class:1.10.2-2477-5.2.0-BETA-2698]
06.11 00:53:32 [Server] INFO at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:292) ~[SpongeModEventManager.class:1.10.2-2477-5.2.0-BETA-2698]
06.11 00:53:32 [Server] INFO at org.spongepowered.mod.event.SpongeForgeEventFactory.callForgeEvent(SpongeForgeEventFactory.java:483) ~[SpongeForgeEventFactory.class:1.10.2-2477-5.2.0-BETA-2698]
06.11 00:53:32 [Server] INFO at org.spongepowered.mod.event.SpongeForgeEventFactory.callPlayerLoggedInEvent(SpongeForgeEventFactory.java:1190) ~[SpongeForgeEventFactory.class:1.10.2-2477-5.2.0-BETA-2698]
06.11 00:53:32 [Server] INFO at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:632) ~[EventBus.class:?]
06.11 00:53:32 [Server] INFO at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:?]
06.11 00:53:32 [Server] INFO at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_47_EconomyEventHandler_onPlayerSpawn_PlayerLoggedInEvent.invoke(.dynamic) ~[?:?]
06.11 00:53:32 [Server] INFO at uk.co.haxyshideout.pixelmoneconomybridge.events.EconomyEventHandler.onPlayerSpawn(EconomyEventHandler.java:79) ~[EconomyEventHandler.class:?]
06.11 00:53:32 [Server] INFO at io.github.flibio.economylite.impl.economy.LiteEconomyService.getOrCreateAccount(LiteEconomyService.java:58) ~[LiteEconomyService.class:?]
06.11 00:53:32 [Server] INFO at io.github.flibio.economylite.CauseFactory.create(CauseFactory.java:34) ~[CauseFactory.class:?]
06.11 00:53:32 [Server] INFO java.lang.NoClassDefFoundError: org/spongepowered/api/event/cause/EventContext
06.11 00:53:32 [Server] Server thread/ERROR Encountered an unexpected exception
06.11 00:53:32 [Server] Server thread/ERROR [FML]: 3: ASM: uk.co.haxyshideout.pixelmoneconomybridge.events.EconomyEventHandler@30b27514 onPlayerSpawn(Lnet/minecraftforge/fml/common/gameevent/PlayerEvent$PlayerLoggedInEvent;)V
06.11 00:53:32 [Server] Server thread/ERROR [FML]: 2: ASM: com.pixelmonmod.pixelmon.listener.PixelmonPlayerTracker@7278d63f onPlayerLogin(Lnet/minecraftforge/fml/common/gameevent/PlayerEvent$PlayerLoggedInEvent;)V
06.11 00:53:32 [Server] Server thread/ERROR [FML]: 1: ASM: Forge playerLogin(Lnet/minecraftforge/fml/common/gameevent/PlayerEvent$PlayerLoggedInEvent;)V
06.11 00:53:32 [Server] Server thread/ERROR [FML]: 0: NORMAL
06.11 00:53:32 [Server] Server thread/ERROR [FML]: Index: 3 Listeners:
06.11 00:53:32 [Server] INFO ... 23 more
06.11 00:53:32 [Server] INFO at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_152]
06.11 00:53:32 [Server] INFO at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_152]
06.11 00:53:32 [Server] INFO at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.12.jar:?]
06.11 00:53:32 [Server] INFO Caused by: java.lang.NullPointerException
06.11 00:53:32 [Server] INFO ... 23 more
06.11 00:53:32 [Server] INFO at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_152]
06.11 00:53:32 [Server] INFO at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_152]
06.11 00:53:32 [Server] INFO at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]
06.11 00:53:32 [Server] INFO Caused by: java.lang.ClassNotFoundException: org.spongepowered.api.event.cause.EventContext
06.11 00:53:32 [Server] INFO at java.lang.Thread.run(Unknown Source) [?:1.8.0_152]
06.11 00:53:32 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
06.11 00:53:32 [Server] INFO at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
06.11 00:53:32 [Server] INFO at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
06.11 00:53:32 [Server] INFO at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:732) [MinecraftServer.class:?]
06.11 00:53:32 [Server] INFO at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:180) [md.class:?]
06.11 00:53:32 [Server] INFO at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:287) [eo.class:?]
06.11 00:53:32 [Server] INFO at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.func_73660_a(NetworkDispatcher.java:209) [NetworkDispatcher$1.class:?]
06.11 00:53:32 [Server] INFO at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.access$100(NetworkDispatcher.java:73) [NetworkDispatcher.class:?]
06.11 00:53:32 [Server] INFO at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.completeServerSideConnection(NetworkDispatcher.java:260) [NetworkDispatcher.class:?]
06.11 00:53:32 [Server] INFO at net.minecraft.server.management.PlayerList.initializeConnectionToPlayer(PlayerList.java:1621) [mp.class:?]
06.11 00:53:32 [Server] INFO at org.spongepowered.common.SpongeImpl.postEvent(SpongeImpl.java:143) [SpongeImpl.class:1.10.2-2477-5.2.0-BETA-2698]
06.11 00:53:32 [Server] INFO at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:326) [SpongeModEventManager.class:1.10.2-2477-5.2.0-BETA-2698]
06.11 00:53:32 [Server] INFO at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:338) [SpongeModEventManager.class:1.10.2-2477-5.2.0-BETA-2698]
06.11 00:53:32 [Server] INFO at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:292) [SpongeModEventManager.class:1.10.2-2477-5.2.0-BETA-2698]
06.11 00:53:32 [Server] INFO at org.spongepowered.mod.event.SpongeForgeEventFactory.callForgeEvent(SpongeForgeEventFactory.java:483) [SpongeForgeEventFactory.class:1.10.2-2477-5.2.0-BETA-2698]
06.11 00:53:32 [Server] INFO at org.spongepowered.mod.event.SpongeForgeEventFactory.callPlayerLoggedInEvent(SpongeForgeEventFactory.java:1190) [SpongeForgeEventFactory.class:1.10.2-2477-5.2.0-BETA-2698]
06.11 00:53:32 [Server] INFO at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:632) [EventBus.class:?]
06.11 00:53:32 [Server] INFO at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:?]
06.11 00:53:32 [Server] INFO at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_47_EconomyEventHandler_onPlayerSpawn_PlayerLoggedInEvent.invoke(.dynamic) ~[?:?]
06.11 00:53:32 [Server] INFO at uk.co.haxyshideout.pixelmoneconomybridge.events.EconomyEventHandler.onPlayerSpawn(EconomyEventHandler.java:79) ~[EconomyEventHandler.class:?]
06.11 00:53:32 [Server] INFO at io.github.flibio.economylite.impl.economy.LiteEconomyService.getOrCreateAccount(LiteEconomyService.java:58) ~[LiteEconomyService.class:?]
06.11 00:53:32 [Server] INFO at io.github.flibio.economylite.CauseFactory.create(CauseFactory.java:34) ~[CauseFactory.class:?]
06.11 00:53:32 [Server] INFO java.lang.NoClassDefFoundError: org/spongepowered/api/event/cause/EventContext
06.11 00:53:32 [Server] Server thread/ERROR [FML]: Exception caught during firing event net.minecraftforge.fml.common.gameevent.PlayerEvent$PlayerLoggedInEvent@7ef9ad87:

Plugin loading error

[main/TRACE] [Sponge]: Scanning mods/EconomyLite-5.0.0-2.7.0.jar for plugins
[main/ERROR] [Sponge]: Skipping plugin with duplicate plugin ID 'economylite' from mods/EconomyLite-5.0.0-2.7.0.jar

Using the latest plugin and sponge version 1.11.2-6.0.0-BETA-215.

internal error occur when /money

http://pastebin.com/dYfjfsx6
server console

http://pastebin.com/dDEAmHBa
config file ( {} thing is what i changed while i configuring. i changed mysql-enabled-true, but after error occur, i turn it back to false after test it again )

mods - worldedit forge , CustomNpcs , nashorn (java language file for custom npc scripting) , Conquest Refoged
plugins - MMCrules , Splish , Boop , Holograms , Nucleus , FastLeafDecay , PermissionManager , Prism , RedProtect , MineReset , FoxGuard , FoxCore , EconomyLite , Nations

i just put EconomyLite in my mods folder and i can not use command because when i /money it says 'an internal error has occurred!'.
i can set plot prices for Nations plugin but i can not buy or sell it
im hosting on mcpro hosting server

Virtual account transactions not triggering EconomyTransactionEvent

I have a plugin Ive been working on that listens to the withdraw/deposit transactions and withdraws/deposits money into a virtual account depending on a config option.
The problem I'm having is this: When a virtual account has its funds modified, this event does not trigger with the cause supplied by the plugin. It is instead only triggered with the cause from EconomyLite.
It would be really nice to have the virtual account causes sent to the event aswell. Thanks!

Command Error

The plugin seems to throw internal errors when used:

http://pastebin.com/2af4DPMd

EconomyLite v2.6.0 (2 days ago 1)

Minecraft: 1.10.2
SpongeAPI: 6.0.0-SNAPSHOT-24eb858
SpongeForge: 1.10.2-2123-6.0.0-BETA-1902
Minecraft Forge: 12.18.2.2151

Migration H2 to MYSQL

Hi, I've recently tried migrating my H2 database to MYSQL however it seems like the migrator is missing a lot of people's balances. My current H2 database is around 15mb and I estimate for around 30k+ players. I've made sure until the migration is complete and checking the /baltop.

Implement `equals` in `LiteCurrency`

I sometimes have a map which uses Currency objects as keys, and using the contains function I look for a specific currency but it's not in there, even though I'm storing and getting with the default currency (the only one available).

I am pretty sure this is because it's comparing the references instead of the objects, which can be solved by overriding the Object.equals(Object other) method.

Could you override the equals to simply compare the id's of each?

Error while trying to run any command

[00:59:59] [Server thread/ERROR] [Sponge]: Error occurred while executing command 'polis create bedrocktoiwn' for source EntityPlayerMP['iAmBedrock'/227, l='world', x=-34.48, y=102.36, z=230.32]: org/spongepowered/api/event/cause/EventContext java.lang.NoClassDefFoundError: org/spongepowered/api/event/cause/EventContext at io.github.flibio.economylite.CauseFactory.create(CauseFactory.java:34) ~[CauseFactory.class:?] at io.github.flibio.economylite.impl.economy.LiteEconomyService.getOrCreateAccount(LiteEconomyService.java:58) ~[LiteEconomyService.class:?] at io.github.hsyyid.polis.cmdexecutors.PolisCreateExecutor.execute(PolisCreateExecutor.java:55) ~[PolisCreateExecutor.class:2.7.0] at org.spongepowered.api.command.args.ChildCommandElementExecutor.execute(ChildCommandElementExecutor.java:182) ~[ChildCommandElementExecutor.class:1.11.2-6.1.0-BETA-20] at org.spongepowered.api.command.spec.CommandSpec.process(CommandSpec.java:359) ~[CommandSpec.class:1.11.2-6.1.0-BETA-20] at org.spongepowered.api.command.dispatcher.SimpleDispatcher.process(SimpleDispatcher.java:336) ~[SimpleDispatcher.class:1.11.2-6.1.0-BETA-20] at org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:296) ~[SpongeCommandManager.class:1.11.2-6.1.0-BETA-20] at net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:1083) ~[bd.class:?] at net.minecraft.network.NetHandlerPlayServer.func_147361_d(SourceFile:818) ~[mi.class:?] at net.minecraft.network.NetHandlerPlayServer.func_147354_a(SourceFile:805) ~[mi.class:?] at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37) ~[ip.class:?] at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:9) ~[ip.class:?] at org.spongepowered.common.network.PacketUtil.lambda$onProcessPacket$0(PacketUtil.java:145) ~[PacketUtil.class:1.11.2-6.1.0-BETA-20] at org.spongepowered.common.event.tracking.CauseTracker.switchToPhase(CauseTracker.java:162) [CauseTracker.class:1.11.2-6.1.0-BETA-20] at org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:144) [PacketUtil.class:1.11.2-6.1.0-BETA-20] at net.minecraft.network.PacketThreadUtil$1.redirect$onProcessPacket$zji000(SourceFile:539) [fo$1.class:?] at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [fo$1.class:?] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_144] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_144] at net.minecraft.util.Util.func_181617_a(SourceFile:46) [h.class:?] at org.spongepowered.common.SpongeImplHooks.onUtilRunTask(SpongeImplHooks.java:257) [SpongeImplHooks.class:1.11.2-6.1.0-BETA-20] at net.minecraft.server.MinecraftServer.redirect$onRun$zhh000(SourceFile:4188) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.func_71190_q(SourceFile:1527) [MinecraftServer.class:?] at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(SourceFile:335) [lh.class:?] at net.minecraft.server.MinecraftServer.func_71217_p(SourceFile:562) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.run(SourceFile:466) [MinecraftServer.class:?] at java.lang.Thread.run(Unknown Source) [?:1.8.0_144]

I am getting this error while running any command, is this an issue with me possibly not having the right sponge api?

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.