Zerthick / PlayerShopsRPG

A Minecraft Sponge PlayerShop Plugin
https://ore.spongepowered.org/Zerthick/PlayerShopsRPG
GNU General Public License v2.0
7 stars 5 forks source link

Version 2.0.4 on SpongeForge 1.10.2 not writing to database #36

Closed metalus89 closed 6 years ago

metalus89 commented 6 years ago

I used h2 to check and see if anything was being written to the flat file database and it seems it isn't writing anything at all. I've included a copy of the database with my server after I have set up a shop. I also included my server log file for further review.

fml-server-latest.zip

data.mv.zip

Zerthick commented 6 years ago

Everything seems to be working with PlayerShopsRPG-v2.0.4 and spongeforge-1.10.2-2477-5.2.0-BETA-2782. Would it be possible to get the logs around the time of server shutdown? With the current implementation of PlayerShopsRPG values will only be written to the db upon server shutdown, I intend to eventually modify this to save values periodically. What I suspect is happening is that on shutdown some other plugin is throwing an error which prevents PlayerShopsRPG from having its turn to write its data. Based on the log you provided it looks like that keys plugin was written for a different version of Sponge as it is throwing noSuchMethodErrors, it also utilizes the H2 database connection so it may be the source of the issue.

Also, sorry it took so long to get back to you!

metalus89 commented 6 years ago

I have since removed the keys plugin and implemented a different market plugin. I can try to load it up on my new server but the new one is 1.11.2 And not 1.10.2.

On Dec 21, 2017 1:14 PM, "Chase Greco" notifications@github.com wrote:

Everything seems to be working with PlayerShopsRPG-v2.0.4 and spongeforge-1.10.2-2477-5.2.0-BETA-2782. Would it be possible to get the logs around the time of server shutdown? With the current implementation of PlayerShopsRPG values will only be written to the db upon server shutdown, I intend to eventually modify this to save values periodically. What I suspect is happening is that on shutdown some other plugin is throwing an error which prevents PlayerShopsRPG from having its turn to write its data. Based on the log you provided it looks like that keys plugin was written for a different version of Sponge as it is throwing noSuchMethodErrors, it also utilizes the H2 database connection so it may be the source of the issue.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Zerthick/PlayerShopsRPG/issues/36#issuecomment-353433925, or mute the thread https://github.com/notifications/unsubscribe-auth/AVqy36SnmK2o7viwndc7qbwihUC8XDr9ks5tCq4qgaJpZM4Qc1YU .

Zerthick commented 6 years ago

Be sure to use v2.0.5 if you do!