Vote4Diamonds

Vote4Diamond is a plugin that allows users to vote on different voting sites and get diamonds (configurable) in return. Most of the plugin runs on your website. The plugin allows you to easily add different voting sites and custom rewards and messages.

Features
- Give users something for voting.
- Supports ALL voting toplists.
- User friendly.
- Voting sites are easy to add/edit.
- You choose which and how many commands are run.
- Fully automatic redeeming system.
- Voting while offline still rewards.
- Top voters list.
- Change time between votes.
Installation
- Unzip Vote4Diamonds and drop it into your plugins folder.
- Open up the config.yml and change it to your likings.
- Let your users navigate to yourip:7357 or put it in your website in an iframe!
- Enjoy!
Iframe
To include it in your website, put the following code somewhere on it (you might have to change it slightly):
<iframe src="yourip:7357" frameborder="0" height="450" width="300"></iframe>
User Instructions
- Navigate to the voting module.
- Fill in your name and hit login.
- Open and vote on the sites you want.
- Hit the Redeem Now button.
Frequently Asked Questions
- How does this see if someone voted?
- It doesn't. Because many toplists do not support special rewarding plugins. However, this plugin makes sure the user went to all toplists you defined.
- Players are complaining they did not get their item, what now?
- Make sure your players know the user instruction. Most players forget to hit the Redeem Now button.
- Do players get their reward instantly?
- Yes, the plugin automatically rewards the user if he is online.
- How do I change the images used?
- Simply got the website part, and open up the 'images' folder. In there you will find the images used and you are free to edit it.
- Could you add xx to this?
- Maybe, add a ticket or reply and I will see what I can do.
Previews
Want your website/server listed here? Please leave a comment or message me with your server's website.
Contact
If you have any questions or concerns please leave them in a comment below.
-
View User Profile
-
Send Message
Posted Apr 11, 2013@destroy192
What do you mean exactly? That your players can vote more then once in 2 hours? If not, please try to explain it a bit better.
-
View User Profile
-
Send Message
Posted Apr 11, 2013@aron800 Hello!
I settle on the time between 7200 vote, but my players are always coming voted continuous, 20-30 times in a row.
Any idea? is that I can send you my file voter.php + config.php?
Thank you for help
-
View User Profile
-
Send Message
Posted Apr 11, 2013@Neutronas
Please doublecheck all your setting and your database. If it still does not work I think it is best to wait for a big update I am bringing out in 1-2 weeks which will install itself and hopefully wont be hard to get to work.
-
View User Profile
-
Send Message
Posted Apr 11, 2013@destroy192
They should be able to vote once every 24 hours on the same IP & Account. If you want to set this to 2 hours go into the voter.php and search for 86400 and replace it with 7200, this sets the time you need to wait before you can vote again to 2 hours.
-
View User Profile
-
Send Message
Posted Apr 10, 2013@Frapskill
I have the same problem as you :<. People do not get diamond in game. X.x
-
View User Profile
-
Send Message
Posted Apr 10, 2013Hello, I installed and configured vote4diamonds his works perfectly well.
My question is, I do not want my players to vote several times in a row.
I try but I can not find how to block IP for each IP can vote only one time every 2 hours
-
View User Profile
-
Send Message
Posted Apr 8, 2013@Frapskill
Are you sure that the plugin connects to the same database as the website? Please double check this because it is probably the cause.
-
View User Profile
-
Send Message
Posted Apr 6, 2013Hello, I have a problem, I think I am doing everything correctly, but when I vote for my server, then I click on "redeem", nothing happens on the server, I do not get any diamond. Could you help me please?
-
View User Profile
-
Send Message
Posted Apr 4, 2013@jordan64011
Here is the fix: http://dev.bukkit.org/server-mods/vote4diamonds/tickets/2-header-error/
-
View User Profile
-
Send Message
Posted Apr 4, 2013@Rayzor80
Are you sure you ran the sql file in your database?
-
View User Profile
-
Send Message
Posted Apr 4, 2013Hello I need your help, I'm french too, and I have another problem : Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /data/filer-6/web/web944/htdocs/vote/voter.php:3) in /data/filer-6/web/web944/htdocs/vote/voter.php on line 6
And I just have session_start(); on line 6
-
View User Profile
-
Send Message
Posted Apr 3, 2013hello I'm french I do not speak much English, I'm here because I have a problem which is that it: Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in /data/filer-6/web/web92/htdocs/vote/voter.php on line 251
in my config on line 251 i have this: $result=mysql_query($query); $num=mysql_numrows($result); $i=0; $yourpoints=0; $rank=0;
please help me ! :'(
-
View User Profile
-
Send Message
Posted Mar 24, 2013@3XjasminX3
Do you have a webhost? If so, you are best of asking them and they could assist you in creating one.
-
View User Profile
-
Send Message
Posted Mar 24, 2013How to make a MySql Database?
-
View User Profile
-
Send Message
Posted Mar 24, 2013Oh god ! I found it ! :) I don't now yet why, and i'll search why, but if i include wp-load.php (i work with wordpress) it works ! Even if nobody help me, thank's ! I hope that if someone have the same probleme it will works. Just to explain what i did : I wrote include ("../wp-load.php"); just after the @header.
-
View User Profile
-
Send Message
Posted Mar 24, 2013Hi guys, First, i'm sorry if my english is bad. And then, i have a problem. I read almost all comments, and i didn't find my pb. So i post here. My problem is that i have an "undefined index : voteuser in .../voter.php on line 51", and the same with "site in .../voter.php on line 51". I know what it means, but i didn't find where they are called ... Thank's
-
View User Profile
-
Send Message
Posted Mar 13, 2013@iDre4mZ
It is currently not possible with the plugin, but what you could do to get this working is: Search for the following code:
And replace it with:
I have not tested it yet but this should make it give one of the items on redeeming, this means, it will take one random command from your config file. So for example, with the config.php you get when you download the plugin it will have a 50% chance to broadcast a message and 50% chance to get a diamond.
I hope thats all you need, if not, feel free to ask.
-
View User Profile
-
Send Message
Posted Mar 13, 2013Hi !
Can we make a list of gives and put a random choice when the player click on Redeem? to have a random give at all times?
-
View User Profile
-
Send Message
Posted Mar 12, 2013@Aron800
I put site1 in config.php in the site but no more changed Watch in : http://www.plastiserv.fr/voter.php
And when i change the $votingdbname in voter.php, i dont have error but the player have not wait time he can vote 10000times in a minute
-
View User Profile
-
Send Message
Posted Mar 12, 2013@Aron800
Ok thanks Sorry it´s the last question.
For repair this, what have i to change and where ? (voter.php in site, config plugin...)