Give Anything Listener
Introduction
This is a plugin that works with Votifier 1.8 or higher, and as such should be placed inside the plugins folder NOT the listeners one. | |
This plugin listens to voting events passed from Votifier and allows you to reward players with anything when they vote for your server. | |
If you can type it as a command you can use it to in this plugin! | |
The Plugin works like a lot of the other listeners, but gives the user a detailed Configuration, on how to setup the broadcast message, and the colour / control codes they can use, Like {BOLD} etc... | |
This Plugin REQUIRES Votifier 1.8 or above! | |
When installing you must place the GAListener.jar into your /plugins folder. | |
It will then create a config.yml inside of the folder which you can edit to your liking! |
Configuration
Configuration information (Including Lucky Voters can be found) Configuration Page!
Here's a video tutorial thanks to Koz4Christ!
Metrics
This plugin utilizes Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
You can disable the stat collection via /plugins/PluginMetrics/config.yml if you wish.
Sponsors
Sponsored by MC-Index! For all your voting needs! http://www.minecraft-index.com/
Please create a ticket with any issues you are having and we would be happy to help, don't post it on the front page!
Works on 1.10. Needs UUID support.
Does version 1.3.2 have support for UUID's? As you conveniently abandoned the Spigot version that I paid for :(
I have today tested GAL1.3.2 on my SpigotMC 1.10.2 server (mc.lindegaard.one) everything works fine.
I have tested /vote and offline votes it works perfect. :-)
Hi I don't know why butt every time I try to change something in de config file, /vote does not work. Can somebody pls help me.
Thnx
Anybody know of a replacement for this plugin? It is now a premium plugin on spigot
I found: if you update votifier to the latest, votifier v1.9 for CB 1.7.9-R0.2 http://dev.bukkit.org/bukkit-plugins/votifier/, the newest GALISTENER works on spigot MC1.9
Can I rate 1 somewhere? People need help, people make tickets, I made a ticket and nobody does a fuck. Damnnnn.
@xQxQx
I've the same issue, it means you are using the wrong minecraft version. Like wrong spigot or bukkit idk. Idk how to fix but would be nice if someone can help us...
UUID support would be nice. I was on 1.3.1 and once I changed my username my vote count was reset. Updating to 1.3.2 did not restore it.
Hi there, Inside Votifier config file, do I need to change listener_folder: plugins/Votifier/listeners to.... listener_folder: plugins/Votifier/GAListner?
@LaughNgamez
You win because they vote,soo let them do it :)
An amazing addon for GAL Listner would be something like a "max daily rewards" feature. This would prevent players farming votes with VPNs, as not every site blocks multiple votes by username.
[16:38:45] [Craft Scheduler Thread - 43/WARN]: Exception in thread "Craft Scheduler Thread - 43" [16:38:45] [Craft Scheduler Thread - 43/WARN]: org.apache.commons.lang.UnhandledException: Plugin GAListener v1.3.2 generated an exception while executing task 99 at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NoSuchMethodError: org.bukkit.Server._INVALID_getOnlinePlayers()[Lorg/bukkit/entity/Player; at com.swifteh.GAL.Metrics.postPlugin(Metrics.java:335) at com.swifteh.GAL.Metrics.access$4(Metrics.java:328) at com.swifteh.GAL.Metrics$1.run(Metrics.java:223) at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71) at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) ... 3 more
Also when changing worlds:
[00:44:03 ERROR]: Could not pass event PlayerChangedWorldEvent to GAListener v1.3.2 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) [spigot-R0.1-6f291eaafcb-0c7ae561484-a09454032a0.jar:git-Spigot-6f291ea-0c7ae56] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot-R0.1-6f291eaafcb-0c7ae561484-a09454032a0.jar:git-Spigot-6f291ea-0c7ae56] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-R0.1-6f291eaafcb-0c7ae561484-a09454032a0.jar:git-Spigot-6f291ea-0c7ae56] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-R0.1-6f291eaafcb-0c7ae561484-a09454032a0.jar:git-Spigot-6f291ea-0c7ae56] at net.minecraft.server.v1_9_R1.PlayerList.moveToWorld(PlayerList.java:684) [spigot-R0.1-6f291eaafcb-0c7ae561484-a09454032a0.jar:git-Spigot-6f291ea-0c7ae56] at org.bukkit.craftbukkit.v1_9_R1.entity.CraftPlayer.teleport(CraftPlayer.java:468) [spigot-R0.1-6f291eaafcb-0c7ae561484-a09454032a0.jar:git-Spigot-6f291ea-0c7ae56] at com.earth2me.essentials.Teleport.now(Teleport.java:142) [EssentialsX-2.0.1.jar:?] at com.earth2me.essentials.Teleport.teleport(Teleport.java:201) [EssentialsX-2.0.1.jar:?] at com.earth2me.essentials.Teleport.teleport(Teleport.java:157) [EssentialsX-2.0.1.jar:?] at com.earth2me.essentials.commands.Commandhome.goHome(Commandhome.java:95) [EssentialsX-2.0.1.jar:?] at com.earth2me.essentials.commands.Commandhome.run(Commandhome.java:58) [EssentialsX-2.0.1.jar:?] at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsCommand.java:146) [EssentialsX-2.0.1.jar:?] at com.earth2me.essentials.Essentials.onCommandEssentials(Essentials.java:456) [EssentialsX-2.0.1.jar:?] at com.earth2me.essentials.Essentials.onCommand(Essentials.java:366) [EssentialsX-2.0.1.jar:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spigot-R0.1-6f291eaafcb-0c7ae561484-a09454032a0.jar:git-Spigot-6f291ea-0c7ae56] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [spigot-R0.1-6f291eaafcb-0c7ae561484-a09454032a0.jar:git-Spigot-6f291ea-0c7ae56] at org.bukkit.craftbukkit.v1_9_R1.CraftServer.dispatchCommand(CraftServer.java:645) [spigot-R0.1-6f291eaafcb-0c7ae561484-a09454032a0.jar:git-Spigot-6f291ea-0c7ae56] at net.minecraft.server.v1_9_R1.PlayerConnection.handleCommand(PlayerConnection.java:1342) [spigot-R0.1-6f291eaafcb-0c7ae561484-a09454032a0.jar:git-Spigot-6f291ea-0c7ae56] at net.minecraft.server.v1_9_R1.PlayerConnection.a(PlayerConnection.java:1177) [spigot-R0.1-6f291eaafcb-0c7ae561484-a09454032a0.jar:git-Spigot-6f291ea-0c7ae56] at net.minecraft.server.v1_9_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot-R0.1-6f291eaafcb-0c7ae561484-a09454032a0.jar:git-Spigot-6f291ea-0c7ae56] at net.minecraft.server.v1_9_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot-R0.1-6f291eaafcb-0c7ae561484-a09454032a0.jar:git-Spigot-6f291ea-0c7ae56] at net.minecraft.server.v1_9_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-R0.1-6f291eaafcb-0c7ae561484-a09454032a0.jar:git-Spigot-6f291ea-0c7ae56] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_73] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_73] at net.minecraft.server.v1_9_R1.SystemUtils.a(SourceFile:45) [spigot-R0.1-6f291eaafcb-0c7ae561484-a09454032a0.jar:git-Spigot-6f291ea-0c7ae56] at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:721) [spigot-R0.1-6f291eaafcb-0c7ae561484-a09454032a0.jar:git-Spigot-6f291ea-0c7ae56] at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) [spigot-R0.1-6f291eaafcb-0c7ae561484-a09454032a0.jar:git-Spigot-6f291ea-0c7ae56] at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660) [spigot-R0.1-6f291eaafcb-0c7ae561484-a09454032a0.jar:git-Spigot-6f291ea-0c7ae56] at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559) [spigot-R0.1-6f291eaafcb-0c7ae561484-a09454032a0.jar:git-Spigot-6f291ea-0c7ae56] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_73] Caused by: java.lang.NullPointerException at com.swifteh.GAL.GAL.processQueue(GAL.java:221) [?:?] at com.swifteh.GAL.GAL.onPlayerChangeWorld(GAL.java:212) [?:?] at sun.reflect.GeneratedMethodAccessor721.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.8.0_73] at java.lang.reflect.Method.invoke(Method.java:497) [?:1.8.0_73] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) [spigot-R0.1-6f291eaafcb-0c7ae561484-a09454032a0.jar:git-Spigot-6f291ea-0c7ae56] ... 29 more
@Prorevenge: Wow. Please just be nice to all the people who actually own the premium version that I paid for. Ironically hasn't been updated to 1.9 either. 4.5 throws more errors than 1.3.2 and 1.3.2 throws an error on every world-change event and some other events as well. The people to be upset at is Mojang and Microsoft for changing fundamentals that are perfectly ok like playerjoin events, etc. But yeah, I would like to see less galistener errors in our console. With spigot 1.9 and 1.3.2 we get a lot of the below. 1.4.5 is unusable.
[23:45:47 WARN]: Exception in thread "Craft Scheduler Thread - 673" [23:45:47 WARN]: org.apache.commons.lang.UnhandledException: Plugin GAListener v1.3.2 generated an exception while executing task 4967701 at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException at com.swifteh.GAL.GAL.processQueue(GAL.java:221) at com.swifteh.GAL.GAL$2.run(GAL.java:186) at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftTask.run(CraftTask.java:71) at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) ... 3 more
@VillageRealms
You do realize there is no more support here on Bukkit? You're the idiot for expecting things from people. There is full support for the PREMIUM GAListener plugin on Spigot.
hi was working ok on MC 1.9 then I upgraded java from 7 to 8 and got this: [18:59:19] [Craft Scheduler Thread - 8/WARN]: org.apache.commons.lang.UnhandledException: Plugin GAListener v1.3.2 generated an exception while executing task 32 at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException at com.vexsoftware.votifier.model.Vote.setUsername(Vote.java:72) at com.swifteh.GAL.DB.getQueuedVotes(DB.java:280) at com.swifteh.GAL.GAL$5.run(GAL.java:389) at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftTask.run(CraftTask.java:71) at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) ... 3 more
06.03 13:26:39 [Server] WARN Exception in thread "Craft Scheduler Thread - 30" 06.03 13:26:39 [Server] WARN org.apache.commons.lang.UnhandledException: Plugin GAListener v1.3.2 generated an exception while executing task 41 06.03 13:26:39 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) 06.03 13:26:39 [Server] INFO at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 06.03 13:26:39 [Server] INFO at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 06.03 13:26:39 [Server] INFO at java.lang.Thread.run(Unknown Source) 06.03 13:26:39 [Server] INFO Caused by: java.lang.NoSuchMethodError: org.bukkit.Server._INVALID_getOnlinePlayers()[Lorg/bukkit/entity/Player; 06.03 13:26:39 [Server] INFO at com.swifteh.GAL.Metrics.postPlugin(Metrics.java:335) 06.03 13:26:39 [Server] INFO at com.swifteh.GAL.Metrics.access$4(Metrics.java:328) 06.03 13:26:39 [Server] INFO at com.swifteh.GAL.Metrics$1.run(Metrics.java:223) 06.03 13:26:39 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71) 06.03 13:26:39 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) 06.03 13:26:39 [Server] INFO ... 3 more
Hello, so if I have the paid version of GAListener on Spigot, should I switch to this one?
@newmine
Thanks for this :D