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!
Hi, I installed a plugin to have protections and I want to use it to deliver protection blocks with every vote you make on my server. What would be the command?
i get this error and everyone that i asked said that i should contact the owner of this plugin
18.07 14:03:00 [Server] WARN Exception in thread "Craft Scheduler Thread - 3" 18.07 14:03:00 [Server] WARN org.apache.commons.lang.UnhandledException: Plugin GAListener v1.3.2 generated an exception while executing task 22 18.07 14:03:00 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) 18.07 14:03:00 [Server] INFO at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 18.07 14:03:00 [Server] INFO at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 18.07 14:03:00 [Server] INFO at java.lang.Thread.run(Thread.java:748) 18.07 14:03:00 [Server] INFO Caused by: java.lang.NoSuchMethodError: org.bukkit.Server._INVALID_getOnlinePlayers()[Lorg/bukkit/entity/Player; 18.07 14:03:00 [Server] INFO at com.swifteh.GAL.Metrics.postPlugin(Metrics.java:335) 18.07 14:03:00 [Server] INFO at com.swifteh.GAL.Metrics.access$4(Metrics.java:328) 18.07 14:03:00 [Server] INFO at com.swifteh.GAL.Metrics$1.run(Metrics.java:223) 18.07 14:03:00 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71) 18.07 14:03:00 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) 18.07 14:03:00 [Server] INFO ... 3 more
I made a ticket for my issue. Please, update this plugin.
I'm waiting for your answer :)
19.01 19:07:08 [Server] Server thread/INFO .
19.01 19:07:24 [Server] Craft Scheduler Thread - 15/WARN [GAListener] Plugin GAListener v1.3.2 generated an exception while executing task 45
19.01 19:07:24 [Server] INFO java.lang.NoSuchMethodError: org.bukkit.Server._INVALID_getOnlinePlayers()[Lorg/bukkit/entity/Player;
19.01 19:07:24 [Server] INFO at com.swifteh.GAL.Metrics.postPlugin(Metrics.java:335) ~[?:?]
19.01 19:07:24 [Server] INFO at com.swifteh.GAL.Metrics.access$4(Metrics.java:328) ~[?:?]
19.01 19:07:24 [Server] INFO at com.swifteh.GAL.Metrics$1.run(Metrics.java:223) ~[?:?]
19.01 19:07:24 [Server] INFO at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftTask.run(CraftTask.java:81) ~[custom.jar:git-Spigot-2ee05fe-d31f05f]
19.01 19:07:24 [Server] INFO at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) [custom.jar:git-Spigot-2ee05fe-d31f05f]
19.01 19:07:24 [Server] INFO at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_201]
19.01 19:07:24 [Server] INFO at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_201]
19.01 19:07:24 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_201]
13:35:38 WARN]: [GAListener] Task #498 for GAListener v1.3.2 generated an exception java.lang.NoSuchMethodError: org.bukkit.Server._INVALID_getOnlinePlayers()[Lorg/bukkit/entity/Player; at com.swifteh.GAL.GAL$6.run(GAL.java:409) ~[?:?] at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:76) ~[spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83] at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:361) [spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83] at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:739) [spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83] at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83] at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83] at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_172]
umm how do i get the listener for this command?
for any Puples just look this:
https://www.spigotmc.org/threads/galistener-1-12.248141/
https://pastebin.com/2TX2CyMC
Iv only edited the services and i feel im going something wrong? Isint that what listens when you do voting via the websites ? maybe i need someone to dumb it out for me :( Iv only edited to be visible when voting.
NuVotifier is what im using
https://pastebin.com/YcK7sXca
my server is 1.7.10 Thermos Bukkit
Hiya, been tampering with votingsites, but now i had all clear error free, when we looked at the console it gave this error. Hope you can find the problem...
[20:22:00 INFO]: [Votifier] Got a protocol v1 vote record from /50.116.56.78:475
58 -> Vote (from:MinecraftServers.org username:Ms_Killer01 address:2001:981:b71a
:1:6584:a8f:31bc:51cf timeStamp:1522261319 localTimestamp:1522261320848)
[20:22:00 INFO]: [VotingPlugin] Recieved a vote from 'MinecraftServers.org' by p
layer 'Ms_Killer01'!
[20:22:00 INFO]: [GAListener] Vote received on MinecraftServers.org for Player:
Ms_Killer01
[20:22:01 WARN]: [GAListener] Plugin GAListener v1.3.2 generated an exception wh
ile executing task 353054
java.lang.NoSuchMethodError: org.bukkit.Server._INVALID_getOnlinePlayers()[Lorg/
bukkit/entity/Player;
at com.swifteh.GAL.RewardTask.run(RewardTask.java:37) ~[?:?]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.jav
a:71) ~[spigot-1.12.2.jar:git-Spigot-c3093ef-aa25568]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsy
ncTask.java:52) [spigot-1.12.2.jar:git-Spigot-c3093ef-aa25568]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:
1.8.0_161]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?
:1.8.0_161]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_161]
[20:22:35 INFO]: [Votifier] Got a protocol v1 vote record from /192.99.101.31:59
912 -> Vote (from:TopG.org username:Ms_Killer01 address:252.54.255.85 timeStamp:
1522261355 localTimestamp:1522261355936)
[20:22:35 INFO]: [VotingPlugin] Recieved a vote from 'TopG.org' by player 'Ms_Ki
ller01'!
[20:22:35 INFO]: [GAListener] Vote received on TopG.org for Player: Ms_Killer01
[20:22:36 WARN]: [GAListener] Plugin GAListener v1.3.2 generated an exception wh
ile executing task 353842
java.lang.NoSuchMethodError: org.bukkit.Server._INVALID_getOnlinePlayers()[Lorg/
bukkit/entity/Player;
at com.swifteh.GAL.RewardTask.run(RewardTask.java:37) ~[?:?]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.jav
a:71) ~[spigot-1.12.2.jar:git-Spigot-c3093ef-aa25568]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsy
ncTask.java:52) [spigot-1.12.2.jar:git-Spigot-c3093ef-aa25568]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:
1.8.0_161]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?
:1.8.0_161]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_161]
>
In reply to Mr_Killer01:
The writer of the plugin no longer works on this plugin
In the description are some entries where other people have posted an update but that is not public you can download this is not the public of the original plugin writer!
Not working with 1.12 .... please update!!! Awesome plugin too bad it doesn't work
In reply to Forge_User_17265968:
Hey so it doesn't work when i vote on Minecraft servers, is it because i need to add it the the services? If so can someone help me please? Thanks!
In reply to Forge_User_51469799:
[02:14:21] [Craft Scheduler Thread - 53/WARN]: Exception in thread "Craft Scheduler Thread - 53"
[02:14:21] [Craft Scheduler Thread - 53/WARN]: org.apache.commons.lang.UnhandledException: Plugin GAListener v1.3.2 generated an exception while executing task 1116
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
at org.github.paperspigot.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:23)
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:748)
Caused by: java.lang.NoSuchMethodError: org.bukkit.Server._INVALID_getOnlinePlayers()[Lorg/bukkit/entity/Player;
at com.swifteh.GAL.RewardTask.run(RewardTask.java:37)
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:59)
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
In reply to etheronicage:
Here is my updated version: https://www.spigotmc.org/threads/galistener-1-12.248141/#post-2735257
Checkout the new config option!
Totally unsuported by me. I only updated to 1.12 and added that feature (to use on my server).
04.12 00:32:31 [Server] INFO Received vote record -> Vote (from:TopG.org username:Mordiacci address:73.221.175.74 timeStamp:1512343629) 04.12 00:32:31 [Server] INFO Vote received on TopG.org for Player: Mordiacci 04.12 00:32:31 [Server] WARN Exception in thread "Craft Scheduler Thread - 2" 04.12 00:32:31 [Server] WARN org.apache.commons.lang.UnhandledException: Plugin GAListener v1.3.2 generated an exception while executing task 18879 04.12 00:32:31 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) 04.12 00:32:31 [Server] INFO at org.github.paperspigot.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:23) 04.12 00:32:31 [Server] INFO at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 04.12 00:32:31 [Server] INFO at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 04.12 00:32:31 [Server] INFO at java.lang.Thread.run(Thread.java:748) 04.12 00:32:31 [Server] INFO Caused by: java.lang.NoSuchMethodError: org.bukkit.Server._INVALID_getOnlinePlayers()[Lorg/bukkit/entity/Player; 04.12 00:32:31 [Server] INFO at com.swifteh.GAL.RewardTask.run(RewardTask.java:37) 04.12 00:32:31 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:59) 04.12 00:32:31 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) 04.12 00:32:31 [Server] INFO ... 4 more
J'ai exécuté la commande "/ fakevote MyUsername", puis une erreur est apparue dans la console: "ErreurQueGamerDoitMettre"
I'm french sorry for the vocabulary but help please
[21:37:40] [Fil de serveur / INFO]: commande serveur GamerArt67 émise: / fakevote GamerArt67
[21:37:40] [Fil de serveur / INFO]: [GAListener] Vote reçu sur fakeVote pour Joueur: GamerArt67
[ 21: 37:40] [Fil de serveur / INFO]: [GAListener] Envoyé faux vote: Vote (de: fauxVote nom d'utilisateur: GamerArt67 adresse: fakeVote.local timeStamp: 1511987860520)
[21:37:40] [Artisanat Scheduler Thread - 3360 / WARN]: Exception dans le fil "Craft Scheduler Thread - 3360"
[21:37:40] [Craft Scheduler Thread - 3360 / WARN]: org.apache.commons.lang.UnhandledException: Le plugin GAListener v1 .3.2 a généré une exception lors de l'exécution de la tâche 839279
à org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run (CraftAsyncTask.java:56)à java.util.concurrent.ThreadPoolExecutor $ Worker.run (ThreadPoolExecutor.java:615)
à java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1145)
at java.lang.Thread.run (Thread.java:745)
Provoqué par: java.lang.NoSuchMethodError: org.bukkit.Server._INVALID_getOnlinePlayers () [Lorg / bukkit / entity / Player;
à com.swifteh.GAL.RewardTask.run (RewardTask.java:37)
à org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run (CraftTask.java:71)
à org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask .run (CraftAsyncTask.java:53)
... plus
Here is my updated version: https://www.spigotmc.org/threads/galistener-1-12.248141/#post-2735257
Checkout the new config option!
Totally unsuported by me. I only updated to 1.12 and added that feature (to use on my server).