VoteRight - Sponge's First Votifier Listener [Discontinued]

Good news it loaded the schemas and milestones properly, bad news its still not registering when a player votes but I feel that might be an issue with the voting websites which I will attempt to fix. Thank you for all the help.

Is there a way I can reset a player’s votes?

If /vr sim works, it’s either votifier or the website. The simulate command sends information to voteright’s code the exact same way votifier does.

Having this when a player vote and items his given :

[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]: java.lang.Exception: Stack trace
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at java.lang.Thread.dumpStack(Thread.java:1329)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at net.minecraft.entity.EntityTracker.handler$onAddEntityToTracker$0(EntityTracker.java:67)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at net.minecraft.entity.EntityTracker.func_72785_a(EntityTracker.java)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at net.minecraft.entity.EntityTracker.func_72786_a(EntityTracker.java:139)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at net.minecraft.world.ServerWorldEventHandler.func_72703_a(ServerWorldEventHandler.java:33)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at net.minecraft.world.World.func_72923_a(World.java:1140)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at net.minecraft.world.WorldServer.func_72923_a(WorldServer.java:1116)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at net.minecraft.world.WorldServer.onSpongeEntityAdded(WorldServer.java:1207)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at net.minecraft.world.WorldServer.forceSpawnEntity(WorldServer.java:1253)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at net.minecraft.world.WorldServer.forceSpawnEntity(WorldServer.java:1236)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at org.spongepowered.common.event.tracking.phase.TrackingPhase.spawnEntityOrCapture(TrackingPhase.java:296)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at org.spongepowered.common.event.tracking.CauseTracker.spawnEntity(CauseTracker.java:459)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at net.minecraft.world.WorldServer.func_72838_d(WorldServer.java:983)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at org.spongepowered.common.entity.EntityUtil.dropItemAndGetStack(EntityUtil.java:813)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at org.spongepowered.common.entity.EntityUtil.playerDropItem(EntityUtil.java:773)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at net.minecraft.entity.player.EntityPlayer.func_146097_a(EntityPlayer.java:364)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at net.minecraft.entity.player.EntityPlayer.func_71019_a(EntityPlayer.java:305)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at net.minecraft.command.CommandGive.func_184881_a(SourceFile:75)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at net.minecraft.command.CommandHandler.func_175786_a(CommandHandler.java:104)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at org.spongepowered.common.command.MinecraftCommandWrapper.tryExecute(MinecraftCommandWrapper.java:150)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at org.spongepowered.common.command.MinecraftCommandWrapper.process(MinecraftCommandWrapper.java:136)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at org.spongepowered.api.command.dispatcher.SimpleDispatcher.process(SimpleDispatcher.java:333)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:274)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at com.gmail.socraticphoenix.sponge.voteright.schema.schemas.CommandSchema.apply(CommandSchema.java:41)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at com.gmail.socraticphoenix.sponge.voteright.VoteRightMain.lambda$null$4(VoteRightMain.java:197)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at java.util.ArrayList.forEach(ArrayList.java:1249)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at com.gmail.socraticphoenix.plasma.file.jlsc.JLSCArray.forEach(JLSCArray.java:467)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at com.gmail.socraticphoenix.sponge.voteright.VoteRightMain.lambda$applySchemas$5(VoteRightMain.java:197)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at java.util.ArrayList.forEach(ArrayList.java:1249)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at com.gmail.socraticphoenix.sponge.voteright.VoteRightMain.applySchemas(VoteRightMain.java:186)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at com.gmail.socraticphoenix.sponge.voteright.schema.schemas.CollectionSchema.apply(CollectionSchema.java:86)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at com.gmail.socraticphoenix.sponge.voteright.VoteRightMain.lambda$null$7(VoteRightMain.java:233)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at java.util.ArrayList.forEach(ArrayList.java:1249)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at com.gmail.socraticphoenix.plasma.file.jlsc.JLSCArray.forEach(JLSCArray.java:467)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at com.gmail.socraticphoenix.sponge.voteright.VoteRightMain.lambda$applySchemas$8(VoteRightMain.java:233)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at java.util.ArrayList.forEach(ArrayList.java:1249)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at com.gmail.socraticphoenix.sponge.voteright.VoteRightMain.applySchemas(VoteRightMain.java:222)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at net.minecraft.entity.player.EntityPlayer.func_71019_a(EntityPlayer.java:305)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at net.minecraft.command.CommandGive.func_184881_a(SourceFile:75)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at net.minecraft.command.CommandHandler.func_175786_a(CommandHandler.java:104)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at org.spongepowered.common.command.MinecraftCommandWrapper.tryExecute(MinecraftCommandWrapper.java:150)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at org.spongepowered.common.command.MinecraftCommandWrapper.process(MinecraftCommandWrapper.java:136)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at org.spongepowered.api.command.dispatcher.SimpleDispatcher.process(SimpleDispatcher.java:333)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:274)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at com.gmail.socraticphoenix.sponge.voteright.schema.schemas.CommandSchema.apply(CommandSchema.java:41)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at com.gmail.socraticphoenix.sponge.voteright.VoteRightMain.lambda$null$4(VoteRightMain.java:197)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at java.util.ArrayList.forEach(ArrayList.java:1249)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at com.gmail.socraticphoenix.plasma.file.jlsc.JLSCArray.forEach(JLSCArray.java:467)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at com.gmail.socraticphoenix.sponge.voteright.VoteRightMain.lambda$applySchemas$5(VoteRightMain.java:197)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at java.util.ArrayList.forEach(ArrayList.java:1249)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at com.gmail.socraticphoenix.sponge.voteright.VoteRightMain.applySchemas(VoteRightMain.java:186)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at com.gmail.socraticphoenix.sponge.voteright.schema.schemas.CollectionSchema.apply(CollectionSchema.java:86)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at com.gmail.socraticphoenix.sponge.voteright.VoteRightMain.lambda$null$7(VoteRightMain.java:233)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at java.util.ArrayList.forEach(ArrayList.java:1249)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at com.gmail.socraticphoenix.plasma.file.jlsc.JLSCArray.forEach(JLSCArray.java:467)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at com.gmail.socraticphoenix.sponge.voteright.VoteRightMain.lambda$applySchemas$8(VoteRightMain.java:233)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at java.util.ArrayList.forEach(ArrayList.java:1249)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at com.gmail.socraticphoenix.sponge.voteright.VoteRightMain.applySchemas(VoteRightMain.java:222)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at com.gmail.socraticphoenix.sponge.voteright.VoteListener.onVote(VoteListener.java:54)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at org.spongepowered.common.event.listener.VotifierEventListener_VoteListener_onVote54.handle(Unknown Source)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:349)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:390)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:362)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at com.vexsoftware.votifier.sponge.VotifierPlugin$3.run(VotifierPlugin.java:356)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at org.spongepowered.api.scheduler.Task$Builder.lambda$execute$0(Task.java:138)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at org.spongepowered.common.scheduler.SchedulerBase.lambda$startTask$0(SchedulerBase.java:177)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[17:31:11] [pool-2-thread-670/INFO] [STDERR]: [java.lang.Thread:dumpStack:1329]:        at java.lang.Thread.run(Thread.java:745)
[17:31:11] [pool-2-thread-670/ERROR] [Sponge]: Detected attempt to add entity 'EntityItem['item.item.Great Ball'/680454, l='world', x=877.39, y=112.80, z=-63.11]' to tracker asynchronously.
 This is very bad as it can cause ConcurrentModificationException's during a server tick.

Hmm… I thought I fixed that. What version of star do you have? I’ll look again I guess…

@Socratic_Phoenix : 1.8.3

@Socratic_Phoenix : VoteRight / Star broke with the latest Sponge build (Beta 1687), crashing the server, had to remove it for now, hope you can fix it soon.

The log :
[09:53:18] [Server thread/TRACE] [com.gmail.socraticphoenix.sponge.star/com.gmail.socraticphoenix.sponge.star]: Sending event FMLServerStoppedEvent to mod com.gmail.socraticphoenix.sponge.star [09:53:18] [Server thread/TRACE] [com.gmail.socraticphoenix.sponge.star/com.gmail.socraticphoenix.sponge.star]: Sent event FMLServerStoppedEvent to mod com.gmail.socraticphoenix.sponge.star [09:53:18] [Server thread/DEBUG] [FML/]: Bar Step: ServerStopped - StarAPI took 0.000s [09:53:18] [Server thread/ERROR] [com.gmail.socraticphoenix.sponge.voteright/]: Skipping event FMLServerStoppedEvent and marking errored mod com.gmail.socraticphoenix.sponge.voteright since required dependency com.gmail.socraticphoenix.sponge.star has errored [09:53:18] [Server thread/DEBUG] [FML/]: Bar Step: ServerStopped - VoteRight took 0.000s [09:53:18] [Server thread/TRACE] [worldedit/worldedit]: Sending event FMLServerStoppedEvent to mod worldedit [09:53:18] [Server thread/TRACE] [worldedit/worldedit]: Sent event FMLServerStoppedEvent to mod worldedit [09:53:18] [Server thread/DEBUG] [FML/]: Bar Step: ServerStopped - WorldEdit took 0.000s [09:53:18] [Server thread/DEBUG] [FML/]: Bar Finished: ServerStopped took 0.020s [09:53:18] [Server thread/INFO] [FML/]: The state engine was in incorrect state ERRORED and forced into state SERVER_STOPPED. Errors may have been discarded. [09:53:18] [Server thread/INFO] [FML/]: The state engine was in incorrect state ERRORED and forced into state AVAILABLE. Errors may have been discarded. [09:53:18] [Server thread/DEBUG] [mixin/]: Mixing api.event.MixinAbstractEvent from mixins.forge.core.json into org.spongepowered.api.event.impl.AbstractEvent

Forge Version : 2073
Sponge Build : 1687
StarAPI : 1.8.3
VoteRight : 1.1.9

5.0.0??? :smiley:

Yup, but was working “fine” before :slight_smile:

#State of VoteRight
API 5.0 is out, and vote right has at least two planned features in progress (better text variables and time based votetop), and bugs have been reported. I am kind of working on all these things, but the dreaded school begins in a simple 4 days. 4 days to write a book report, research paper, and edit an essay… Of course, this overflow of summer work is totally my fault, I procrastinated… Needless to say, voteright was, and is, “hibernating” for the moment. I have a study hall period in school that I plan to dedicate to programming and computer science, but until school starts, and settles into a rhythm, don’t expect any updates. Just wanted to say I’m not ignoring everyone… :slight_smile:

To ensure that servers on Sponge API 5 have a chance to live through their voting systems, while still updating, I took the liberty of editing the StarAPI so it can load on Sponge API 5 1685+.

It can be found here : StarAPI-1.8.4_Alternate

This version come without the cuboid, enchantment and minigames API.

1 Like

#It’s Been A Good Run
I started school yesterday, and it is awesome! I have all the classes I wanted and more, but that introduces a problem. The classes I wanted were AP classes, and each one comes with its own massive work load. I am currently take AP Language and Composition, AP World History, AP Statistics, AP Biology and AP Computer Science Principles. Furthermore, I am taking the AP CompSci course independently, on my own time. One major component of the CompSci course is creating a product of some sort in computing, and I have something I’m very passionate about to work on, and that’s all awesome. Now for the bad news, after beginning school I realised just how much time I would be spending working on school work and home work and the major project for the CompSci course, and that led to a hard decision. I am no longer supporting Star or VoteRight. I simply have too many other things to do. I want to stress that I enjoyed creating VoteRight, and that I don’t want to just give up on it, but in my reality VoteRight really is fairly low on my list of priorities. However, the VoteRight and Star code will stay available on GitHub for as long as possible. They are licensed under the MIT open source license, so anyway can fork and modify the project. In fact, I’d really like to have someone with more time take over VoteRight and/or Star, but I’m not sure who that candidate may be. One thing I can say is I am not leaving the Sponge community, but I will probably not be publishing any plugins any time soon. Again, thanks to everyone who’s complimented my work, thanks to everyone who’s submit bug reports or feature requests and thanks to everyone who’s made all of Sponge possible in general.

Edit:
I’m cleaning out my old GitHub repositories, so I’ve transferred the VoteRight and Star source to dropbox…

3 Likes

Updated StarAPI and VoteRight and tested a bit on sponge 5.1.0-BETA-1814.
Star’s Inventory API wont be working to 100%

StarAPI-1.8.5
VoteRight-1.1.8

1 Like

So uh, its just spamming my console. Also, I’ve never used this but is there a way to make it so it wont do offline voting rewards until the player is online?

Also getting that problem after finding two that worked together ^^
Would like a fix!

Which two are you using?

can you take a look at the star’s inventory api again now? its cancer with the console spam

Seeing as VoteRite was discontinued and seems to be buggy :frowning: if anyone here is looking for a listener try out seriousvote

1 Like

Yes and yes… I wouldn’t suggest trying to use or update VoteRight, try the other options :slight_smile:

As of today, 8/29/2018, curscascis says his SeriousVote and Serious NuVotifier plugins are up to date, actively maintained, and working for Sponge APIs 4, 5, 6, and 7. He also says that anyone who needs help should contact him using the Discord he links to on his SeriousVote page.