:shipit: SeriousVote 4.8.4 ―Your one stop Votifier Listener API 5/6/7


#221

Using nuvotifier latest


#222

are you also using the enjin vote module? Alright so I discovered some errors in your log(caused by my plugin) that I'm taking a look at. I'll have a fix tomorrow most likely.


#223

facepalms Why would I try to synchronize commands when all I need to do is synchronize incoming votes.


#224

I'm not using the enjin vote module.


#225

alright just wondering. I have a build with the fixes I am testing atm


#226

Cool :smiley: Thanks for looking into the issue!

btw, If I use the builtin broadcaster, would it lessen the spam for offline votes? (Like make it announce only once instead of all 6 times)
Players not online? No problem, it will rack up their votes until next time they join, and don't worry it won't spam the public chat 50 times.
Like what you said xD


#227

yes, so the message is cast once when a player joins and he has offline rewards,and then all his votes are given.


#228

https://raw.githubusercontent.com/curscascis/SeriousVote/bleeding/build/libs/seriousvote-3.2-Bleeding-D.jar
Please test this build. improved my fixes and this build manages the concurrency correctly. I ran 100 votes from different devices simultaneously and had no missed/extra votes or rewards.


#229

Just got the following errors:

[19:17:24] [pool-2-thread-39/INFO] [seriousvote]: Vote Registered From Minecraft-MP.com for SnapCrackle3
[19:17:24] [pool-2-thread-39/INFO] [seriousvote]: Choosing a random reward.
[19:17:24] [pool-2-thread-39/INFO] [seriousvote]: Chose Reward from Table4200
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]: java.sql.SQLNonTransientConnectionException: Could not read results
et: unexpected end of stream, read 0 bytes from 4
Query is : SELECT * FROM SV_players WHERE player='ea86bdac-6b74-412a-9560-65aafa43bd5e'
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at org.mariadb.jdbc.internal.util.ExceptionMapper.get(ExceptionM
apper.java:123)
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at org.mariadb.jdbc.internal.util.ExceptionMapper.throwException
(ExceptionMapper.java:69)
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at org.mariadb.jdbc.MariaDbStatement.executeQueryEpilog(MariaDbS
tatement.java:226)
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at org.mariadb.jdbc.MariaDbStatement.executeInternal(MariaDbStat
ement.java:260)
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at org.mariadb.jdbc.MariaDbStatement.executeQuery(MariaDbStateme
nt.java:373)
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at net.adamsanchez.seriousvote.Database.genericQuery(Database.ja
va:94)
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at net.adamsanchez.seriousvote.Database.genericSelectQuery(Datab
ase.java:103)
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at net.adamsanchez.seriousvote.Database.getPlayer(Database.java:
114)
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at net.adamsanchez.seriousvote.Milestones.getRecord(Milestones.j
ava:45)
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at net.adamsanchez.seriousvote.Milestones.addVote(Milestones.jav
a:76)
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at net.adamsanchez.seriousvote.SeriousVote.giveVote(SeriousVote.
java:593)
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at net.adamsanchez.seriousvote.SeriousVote.onVote(SeriousVote.ja
va:515)
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at org.spongepowered.common.event.listener.VotifierEventListener
_SeriousVote_onVote27.handle(Unknown Source)
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at org.spongepowered.common.event.RegisteredListener.handle(Regi
steredListener.java:95)
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at org.spongepowered.mod.event.SpongeModEventManager.post(Sponge
ModEventManager.java:301)
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:330)
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:314)
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at com.vexsoftware.votifier.sponge.VotifierPlugin$3.run(VotifierPlugin.java:356)
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at org.spongepowered.api.scheduler.Task$Builder.lambda$execute$0(Task.java:138)
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at org.spongepowered.common.scheduler.SchedulerBase.lambda$startTask$0(SchedulerBase.java:183)
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at java.lang.Thread.run(Thread.java:745)
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:634]: Caused by: org.mariadb.jdbc.internal.util.dao.QueryException: Could not read resultset: unexpected end of stream, read 0 bytes from 4
Query is : SELECT * FROM SV_players WHERE player='ea86bdac-6b74-412a-9560-65aafa43bd5e'
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:634]:         at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.getResult(AbstractQueryProtocol.java:1054)
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:634]:         at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.executeQuery(AbstractQueryProtocol.java:132)
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:634]:         at org.mariadb.jdbc.MariaDbStatement.executeInternal(MariaDbStatement.java:251)
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:634]:         ... 21 more
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:643]: Caused by: java.io.EOFException: unexpected end of stream, read 0 bytes from 4
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:643]:         at org.mariadb.jdbc.internal.packet.read.ReadPacketFetcher.getReusableBuffer(ReadPacketFetcher.java:164)
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:643]:         at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.getResult(AbstractQueryProtocol.java:1045)
[19:17:24] [pool-2-thread-39/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:643]:         ... 23 more
[19:17:24] [pool-2-thread-39/ERROR] [Sponge]: Could not pass VotifierEvent to Plugin{id=seriousvote, name=SeriousVote, version=3.0, description=This plugin enables server admins to give players rewards for voting for their server., source=/home/minecraft/mc/mods/seriousvote-3.2-Bleeding-C.jar}
java.lang.NullPointerException
        at net.adamsanchez.seriousvote.Database.getPlayer(Database.java:116) ~[Database.class:?]
        at net.adamsanchez.seriousvote.Milestones.getRecord(Milestones.java:45) ~[Milestones.class:?]
        at net.adamsanchez.seriousvote.Milestones.addVote(Milestones.java:76) ~[Milestones.class:?]
        at net.adamsanchez.seriousvote.SeriousVote.giveVote(SeriousVote.java:593) ~[SeriousVote.class:?]
        at net.adamsanchez.seriousvote.SeriousVote.onVote(SeriousVote.java:515) ~[SeriousVote.class:?]
        at org.spongepowered.common.event.listener.VotifierEventListener_SeriousVote_onVote27.handle(Unknown Source) ~[?:?]
        at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95) ~[RegisteredListener.class:1.10.2-2202-5.1.0-BETA-2086]
        at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:301) ~[SpongeModEventManager.class:1.10.2-2202-5.1.0-BETA-2086]
        at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:330) ~[SpongeModEventManager.class:1.10.2-2202-5.1.0-BETA-2086]
        at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:314) ~[SpongeModEventManager.class:1.10.2-2202-5.1.0-BETA-2086]
        at com.vexsoftware.votifier.sponge.VotifierPlugin$3.run(VotifierPlugin.java:356) ~[VotifierPlugin$3.class:?]
        at org.spongepowered.api.scheduler.Task$Builder.lambda$execute$0(Task.java:138) ~[Task$Builder.class:1.10.2-2202-5.1.0-BETA-2086]
        at org.spongepowered.common.scheduler.SchedulerBase.lambda$startTask$0(SchedulerBase.java:183) ~[SchedulerBase.class:1.10.2-2202-5.1.0-BETA-2086]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_111]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_111]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_111]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_111]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
[19:17:25] [Server thread/INFO] [nucleus]: Server ran the command: /give SnapCrackle3 pixelmon:super_potion 2
[19:17:25] [Server thread/INFO]: Given [Super Potion] * 2 to SnapCrackle3
[19:17:25] [Server thread/INFO] [nucleus]: Server ran the command: /econ add SnapCrackle3 200
[19:17:25] [Server thread/INFO] [nucleus]: Server ran the command: /tellraw SnapCrackle3 {"text":"Thank you for voting, you got 200 PokeDollars and possibly an item!", "color":"green"}

Then after when he voted again:

[19:18:39] [pool-2-thread-39/INFO] [seriousvote]: Vote Registered From TopMinecraftServers for SnapCrackle3
[19:18:39] [pool-2-thread-39/INFO] [seriousvote]: Choosing a random reward.
[19:18:39] [pool-2-thread-39/INFO] [seriousvote]: Chose Reward from Table800
[19:18:39] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]: java.sql.SQLNonTransientConnectionException: Connection is close
[19:18:39] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at org.mariadb.jdbc.internal.util.ExceptionMapper.get(ExceptionMapper.java:123)
[19:18:39] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at org.mariadb.jdbc.internal.util.ExceptionMapper.throwException(ExceptionMapper.java:69)
[19:18:39] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at org.mariadb.jdbc.MariaDbStatement.executeQueryEpilog(MariaDbStatement.java:226)
[19:18:39] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at org.mariadb.jdbc.MariaDbStatement.executeInternal(MariaDbStatement.java:260)
[19:18:39] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at org.mariadb.jdbc.MariaDbStatement.executeQuery(MariaDbStatement.java:373)
[19:18:39] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at net.adamsanchez.seriousvote.Database.genericQuery(Database.java:94)
[19:18:39] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at net.adamsanchez.seriousvote.Database.genericSelectQuery(Database.java:103)
[19:18:39] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at net.adamsanchez.seriousvote.Database.getPlayer(Database.java:114)
[19:18:39] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at net.adamsanchez.seriousvote.Milestones.getRecord(Milestones.java:45)
[19:18:39] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at net.adamsanchez.seriousvote.Milestones.addVote(Milestones.java:76)
[19:18:39] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at net.adamsanchez.seriousvote.SeriousVote.giveVote(SeriousVote.java:593)
[19:18:39] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at net.adamsanchez.seriousvote.SeriousVote.onVote(SeriousVote.java:515)
[19:18:39] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at org.spongepowered.common.event.listener.VotifierEventListener_SeriousVote_onVote27.handle(Unknown Source)
[19:18:39] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95)
[19:18:39] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:301)
[19:18:39] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:330)
[19:18:39] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:314)
[19:18:39] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at com.vexsoftware.votifier.sponge.VotifierPlugin$3.run(VotifierPlugin.java:356)
[19:18:39] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at org.spongepowered.api.scheduler.Task$Builder.lambda$execute$0(Task.java:138)
[19:18:39] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at org.spongepowered.common.scheduler.SchedulerBase.lambda$startTask$0(SchedulerBase.java:183)
[19:18:39] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[19:18:39] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[19:18:39] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[19:18:39] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[19:18:39] [pool-2-thread-39/INFO] [STDERR]: [net.adamsanchez.seriousvote.Database:genericQuery:96]:    at java.lang.Thread.run(Thread.java:745)
[19:18:39] [pool-2-thread-39/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:634]: Caused by: org.mariadb.jdbc.internal.util.dao.QueryException: Connection is close
[19:18:39] [pool-2-thread-39/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:634]:         at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.cmdPrologue(AbstractQueryProtocol.java:1254)
[19:18:39] [pool-2-thread-39/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:634]:         at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.executeQuery(AbstractQueryProtocol.java:129)
[19:18:39] [pool-2-thread-39/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:634]:         at org.mariadb.jdbc.MariaDbStatement.executeInternal(MariaDbStatement.java:251)
[19:18:39] [pool-2-thread-39/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:634]:         ... 21 more
[19:18:39] [pool-2-thread-39/ERROR] [Sponge]: Could not pass VotifierEvent to Plugin{id=seriousvote, name=SeriousVote, version=3.0, description=This plugin enables server admins to give players rewards for voting for their server., source=/home/minecraft/mc/mods/seriousvote-3.2-Bleeding-C.jar}
java.lang.NullPointerException
        at net.adamsanchez.seriousvote.Database.getPlayer(Database.java:116) ~[Database.class:?]
        at net.adamsanchez.seriousvote.Milestones.getRecord(Milestones.java:45) ~[Milestones.class:?]
        at net.adamsanchez.seriousvote.Milestones.addVote(Milestones.java:76) ~[Milestones.class:?]
        at net.adamsanchez.seriousvote.SeriousVote.giveVote(SeriousVote.java:593) ~[SeriousVote.class:?]
        at net.adamsanchez.seriousvote.SeriousVote.onVote(SeriousVote.java:515) ~[SeriousVote.class:?]
        at org.spongepowered.common.event.listener.VotifierEventListener_SeriousVote_onVote27.handle(Unknown Source) ~[?:?]
        at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95) ~[RegisteredListener.class:1.10.2-2202-5.1.0-BETA-2086]
        at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:301) ~[SpongeModEventManager.class:1.10.2-2202-5.1.0-BETA-2086]
        at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:330) ~[SpongeModEventManager.class:1.10.2-2202-5.1.0-BETA-2086]
        at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:314) ~[SpongeModEventManager.class:1.10.2-2202-5.1.0-BETA-2086]
        at com.vexsoftware.votifier.sponge.VotifierPlugin$3.run(VotifierPlugin.java:356) ~[VotifierPlugin$3.class:?]
        at org.spongepowered.api.scheduler.Task$Builder.lambda$execute$0(Task.java:138) ~[Task$Builder.class:1.10.2-2202-5.1.0-BETA-2086]
        at org.spongepowered.common.scheduler.SchedulerBase.lambda$startTask$0(SchedulerBase.java:183) ~[SchedulerBase.class:1.10.2-2202-5.1.0-BETA-2086]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_111]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_111]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_111]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_111]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
[19:18:40] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 2440ms behind, skipping 48 tick(s)
[19:18:40] [Server thread/INFO] [nucleus]: Server ran the command: /give SnapCrackle3 pixelmon:rare_candy 1
[19:18:40] [Server thread/INFO]: Given [Rare Candy] * 1 to SnapCrackle3
[19:18:40] [Server thread/INFO] [nucleus]: Server ran the command: /econ add SnapCrackle3 200
[19:18:40] [Server thread/INFO] [nucleus]: Server ran the command: /tellraw SnapCrackle3 {"text":"Thank you for voting, you got 200 PokeDollars and possibly an item!", "color":"green"}

Both seem to be related to mysql, checked the database, and his total votes seem to be the same as they were yesterday.


#230

Hmmm, if I recall correctly, I changed the Seriousvote configuration, but didn't change any database info, then did /svreload on the console. Haven't restarted my server.

Previously, when I was first setting up SV with my database, /svreload would give me:
[19:30:36] [Server thread/INFO] [seriousvote]: Attempting to connect to the database...
[19:30:36] [Server thread/INFO]: Reloaded successfully!
Even though the database configuration was wrong, had to restart mc in order to see that the database config was incorrect (then).


#231

Oddly enough, even though someone else voted, no issues:

[19:35:37] [pool-2-thread-55/INFO] [seriousvote]: Vote Registered From MCSL for CreeperLeon
[19:35:37] [pool-2-thread-55/INFO] [seriousvote]: Choosing a random reward.
[19:35:37] [pool-2-thread-55/INFO] [seriousvote]: Chose Reward from Table2700
[19:35:38] [Server thread/INFO] [nucleus]: Server ran the command: /give CreeperLeon pixelmon:timer_ball 2
[19:35:38] [Server thread/INFO]: Given [Timer Ball] * 2 to CreeperLeon

And his database totalvotes has gone up.


#232

So was it just this person?


#233

Also I forgot to mention there was a slight change in the config. It's in the latest bleeding if that's what you're using.
Under milestones there's now an enabled node. Just add enabled: true


#234

https://github.com/curscascis/SeriousVote/blob/bleeding/build/libs/seriousvote-3.2-Bleeding-E.jar?raw=true
Try out this build. Also below is the slight change to the config. Just add that enabled portion to yours. I added some more detailed logging for the milestones and DB.

milestones: {
      enabled: false
      weekly: {
        set:[
          "say This is a set weekly {player} Reward",
        ]
      }
      monthly: {
        set:[
          "say This is a set Monthly {player} Reward",
          "acb {player} bananaphone"
        ]
      }
      yearly: {
        set:[
          "say This is a set Yearly {player} Reward",
          "say Crap, you must play alot"
        ]
      }
    }
}

#235

Alright, got new version. See no new databases, do I need to drop my old database so it generates a new one?


#236

? new databases? it doesn't make a new one, just keep your old info just make sure enabled is true. add it in manually if it's not there


#237

Oh... Hmm, thought when you said "added some more detailed logging for the milestones and DB", you meant that it wrote to the database how many of each milestone a player has achieved or something.


#238

No just the stuff around it , I will probably add that to the debug mode. Is everything working fine now?


#239

Seems like it :slight_smile: No problems so far.


#240

Wooooooooooot okay Let me know if breaks, time for a stable release on ore.