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 May 3, 2013@Aron800
yes and my server version is 1.5.1 :s
-
View User Profile
-
Send Message
Posted May 3, 2013@xkillerx44
Is that all of the errors that you are getting? It might be that the plugin does not function well with 1.5.2.
-
View User Profile
-
Send Message
Posted May 3, 2013@Aron800
interval: 60 db-host: myhost db-username: myuser db-password: mypassword db-database: _vote db-table: vote_tasks
or
interval: 60 db-host: 'myhost' db-username: 'myuser' db-password: 'mypassword' db-database: '_vote' db-table: vote_tasks
with or without ( ' ' ) ?
and my problème database :
03.05 18:49:27 [Server] INFO ... 3 more 03.05 18:49:27 [Server] INFO at org.bukkit.craftbukkit.v1_5_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) 03.05 18:49:27 [Server] INFO at org.bukkit.craftbukkit.v1_5_R2.scheduler.CraftTask.run(CraftTask.java:58) 03.05 18:49:27 [Server] INFO at com.aronnn.vote4diamonds.TaskUtil.run(TaskUtil.java:31) 03.05 18:49:27 [Server] INFO Caused by: java.lang.NullPointerException 03.05 18:49:27 [Server] INFO at java.lang.Thread.run(Thread.java:722) 03.05 18:49:27 [Server] INFO at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) 03.05 18:49:27 [Server] INFO at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) 03.05 18:49:27 [Server] INFO at org.bukkit.craftbukkit.v1_5_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) 03.05 18:49:27 [Server] SEVERE org.apache.commons.lang.UnhandledException: Plugin Vote4Diamonds v1.0 generated an exception while executing task 32436 03.05 18:49:27 [Server] SEVERE Exception in thread "Craft Scheduler Thread - 46" 03.05 18:49:27 [Server] SEVERE You are not connected to a MySQL server 03.05 18:49:27 [Server] SEVERE MySQL Database not connected!
-
View User Profile
-
Send Message
Posted May 3, 2013@xkillerx44
If you changed all the 86400's then yes, it will be on 2 hours for every site.
-
View User Profile
-
Send Message
Posted May 3, 2013@Aron800
http://pastebin.com/3SxzbQ0J like this? I want to 2 hours instead of 24 hours.
-
View User Profile
-
Send Message
Posted May 3, 2013@xkillerx44
Yea, so the amount of seconds you want the user to have to wait in between votes. The database connection could either be that the details you entered are incorrect or that the database is blocking remote conection (if it is from your server). For that, I suggest you to contact your webhost so that they can fix that.
-
View User Profile
-
Send Message
Posted May 3, 2013@Aron800
yes so I have to replace the number 86400 by the number of seconds that I want? and my connection to the database does not work why?
my skype : dylan44220
-
View User Profile
-
Send Message
Posted May 2, 2013@FirePvp
You can change one of the commands in the website config to whatever you want so for example the command you normally use ingame to give xp.
-
View User Profile
-
Send Message
Posted May 2, 2013@Aron800
how to u give xp with the vote
-
View User Profile
-
Send Message
Posted Apr 27, 2013@Aron800
Thank you, but I think the vote links are okay :S
-
View User Profile
-
Send Message
Posted Apr 27, 2013@SteeL4442
First off, your voterlink is not correct since the button Web1 goes to "http://server.distritogamer.eu/minecraft/vote/server.distritogamer.eu/minecraft/vote/voter.php?site=Web%201" instead of just "http://server.distritogamer.eu/minecraft/vote/voter.php?site=Web%201".
And as for all the errors, your webhost seems to be extremely sensitive, try adding "error_reporting(0);" in the voter.php just after the <?php tag.
-
View User Profile
-
Send Message
Posted Apr 27, 2013@xkillerx44
In the voter.php file you can find the number 86400 a few times. This is the amount of seconds between votes. You can change this number to the amount of seconds you want to be between votes.
-
View User Profile
-
Send Message
Posted Apr 27, 2013@SteeL4442
config : note : "./voter.php"
-
View User Profile
-
Send Message
Posted Apr 25, 2013Hello, I get this errors:
http://server.distritogamer.eu/minecraft/vote/voter.php
Also, if you click web 1 for an example, link don't work :S
Sorry for my bad english
-
View User Profile
-
Send Message
Posted Apr 25, 2013hello I speak French so I use google translation, I would like to know how to change the hours of voting, from 24 am to 2 am and I have a problem with the server the plugin does not recognize my database. contact me: skype: dylan44220
-
View User Profile
-
Send Message
Posted Apr 11, 2013@XxSneakcraftxX
I did add you but I would appreciate it if you could talk english and tell me what you need before adding me..
-
View User Profile
-
Send Message
Posted Apr 11, 2013ajoute moi skyp Aron800 je tes envoyer invite. c est tres important
-
View User Profile
-
Send Message
Posted Apr 11, 2013@Aron800
Added.
-
View User Profile
-
Send Message
Posted Apr 11, 2013@Neutronas
Sure, add me on skype: -snip- (got to much requests on my skype so please message me if you need it).
-
View User Profile
-
Send Message
Posted Apr 11, 2013@Aron800
Any chances to contact you in Skype or STEAM or mIRC? Would love to talk more and ask you if everything is okay