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!
Just installed the plugin and it created the config file perfectly. Although some of the text above is misleading (not a big deal though lol). I am having a problem with the /vote command. I have it turned on, and when players type /vote in-game it says nothing is wrong.
I did check a yaml praser and it says some stuff is wrong.. http://yaml-online-parser.appspot.com/
Here is my config: http://pastebin.com/gbSSFUm3
When I vote, it doesn't execute any commands. Here's my listener's config.yml:
settings:
onlineonly: true
luckyvote: false
broadcastqueue: true
services:
default:
broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received
a reward!'
playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
commands:
- /give {username} 264 5
- /give {username} 49 8
- /eco give {username} 25
- /xp give {username} 207
queuedvotes: ''
Here's my Votifier config.yml:
host: 96.8.116.61
port: 8192
debug: false
listener_folder: plugins/GAListener
Please put the colors up above! :D Thank you
Could someone post an actual config file? Thanks!
@Slava123456 When people vote while offline it seems like they get the rewards when they next log in. Why, out of curiosity, would you want mysql support for that? Just seems like the plugin would be utilizing unnecessary resources at that point.
Hello, can u add mysql support for offline peoples?
You're using:
- '/give {username} 264 2'
- '/give {username} 264 4'
- '/xp {username} 104'
- '/eco give user {username} 500'
I'd remove the second /give, as it's unnecessary.
If you are running essentials, it would be /xp give {username} amount
If you are using the essentials economy, it would be /eco give {username} amount
You have /eco give user {username} amount.
This says you are trying to give 'user' the amount 'username' of money.
Change your config to:
- '/give {username} 264 6'
- '/xp give {username} 104'
- '/eco give {username} 500'
Love this plugin! Still setting it up but I highly recommend this already. No easy to find working Votifier scripts anymore): Glad I found this!
Hello ==PLZ i need quick help, each vote must give 2 diamonds some xp some money and some tnt at each vote but it only gives 6 diamonds each vote. i have 1.4.7 Craftbukkit and votifier 1.9 and latest version of galistener also i deleted all my votifier listeners except flatfile listener here what my config looks like: http://pastie.org/6112728
Can Give Anything Listener run dynamic commands?
@AbuRom
Attempt when the server is OFFLINE.
Ok, this is insane... I changed the config to use the colour PURPLE thinking it would look better, however... That doesn't work. So when I tried to revert to GREEN, RED and GOLD... It doesn't let me... I change and save the config, when I reload, it goes back to purple. I removed the config file, reloaded to create a new one, it created my old one with PURPLE. I uninstalled and re-downloaded the plugin, added it back on... PURPLE and my server name in it... I don't understand, how can it re-create the config file as my old one? Am I going mad?
Working fine now, my bad :)
@HenryCortes
Maybe you dont have Votifer enabled? / setup correctly
Whenever i vote it doesn't give any rewards.
@246CraftFX
If you're still having problems with that look at the top of your config. It says Luckyvote: false
@bukbuk3
Delete your config and startup your server
when i type /vote it doesn't work.
Upon adding this plugin the server periodicity hangs causing read time out issues resulting in us having to force end our server.
Anyone else having this issue?
(using CraftBukkit 1.4.7 R1.0 GA Listener 0.9)
When we type '/gareload' in-game the plugin is not reloaded nor does it show anything in-game chat or in console. Our craftbukkit version is 1.4.7-R1.0.