flibio / economylite Goto Github PK
View Code? Open in Web Editor NEWEconomy Plugin for Sponge
Home Page: https://ore.spongepowered.org/Flibio/EconomyLite
License: MIT License
Economy Plugin for Sponge
Home Page: https://ore.spongepowered.org/Flibio/EconomyLite
License: MIT License
Command block cannot execute the command from EconomyLite 2.2.6.
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 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
You should be returning ACCOUNT_NO_FUNDS here as this is what plugins expect when attempting to withdraw money from an account.
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.
Error on startup. Fails to register as an Economy plugin for JobsLite.
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
forge-1.12.2-14.23.0.2486-universal.jar
spongeforge-1.12.2-2486-7.0.0-BETA-2645.jar
EconomyLite-5.0.0-2.12.0.jar
https://gist.github.com/ziceptor/358029d74f67b441ea30c9f06a1bf616
There needs to be a command to change the entire server's balance. econ set|add|remove * <amount>
.
Suggestion:
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.
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.
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.
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]
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.
Not sure if you can even fix this, but there are some lag issues with the plugin.
Method breakdown:
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.
It is impossible for players to pay each other in amounts less than 1.
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.
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
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.
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
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>
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.
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
It would be great if we can get some kinds of summary over the server, so that we can set price for our goods.
Admin messages should display the amount of currency modified.
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.
I used playerpoint from bukkit, I do not know how the sponge's analogue plug-in, can you help me convert it to work on sponge or create a plugin for sponge? - I can pay the fee according to your request. ;)
Thanks
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]
When you receive funds it would be nice if you got a chat notification.
Hi,
This plugin is dropping this error after change the hostname of my dedicated host to "dedicado.areaz12server.net.br".
The previou name was "AreaZ12Server".
The error: https://hastebin.com/ewitebelul.md
If i change back the hostname to "AreaZ12Server" the plugin back to work fine again.
Hey there :]
Can u add the possibility to pay to virtual accounts?
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).
Using Economylite 2.10.2
Together with ItemAuction from Hassan.
Server deadlocked for atleast 10 times after each other. By using the mod Sampler I made a stall report. Here are 2 of the reports:
https://hastebin.com/kaxizobebi.pl
https://hastebin.com/eginijiwip.nginx
Any idea on what happened? Would love to have some feedback on this!
Thanks for making EconomyLite, I've been using it for a few weeks now, really like it!
I think a command like "/vecon show " to toggle if a Virtual Account is shown in /baltop. would be nice
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)
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.
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:
Sponge: spongeforge-1.10.2-2221-5.1.0-BETA-2185
EcoLite: EconomyLite-6.0.0-2.9.0-16
EDIT:
EconomyLite-5.0.0-2.10.2
spongeforge-1.10.2-2221-5.2.0-BETA-2219
[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.
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
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!
The plugin seems to throw internal errors when used:
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
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.
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?
[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?
SpongeForge 1547
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.