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.
@ModifiedKevin
Nope, this plugin is mainly for users that use server lists without things like votifier, but for the most players they would automatically vote when they get redirected there.
http://www.linktowebsite.com/cgi-sys/suspendedpage.cgi
The website you were trying to reach is temporarily unavailable. Please check back soon.
If you are the owner of this website, please contact Technical Support as soon as possible.
http://prntscr.com/3k7btv
Great plugin, but is there a way to check to make sure players have actually voted before getting rewards? If you click on all the sites without submitting your vote, you still get rewards. Players can abuse this system really easily.
@BlaackShadowZ
You could possibly do it by using the older version: v1.0.1, by this you can select a mysql database which you link up to every server, then it would redeem it on the first server you log into.
Agree, or is it possible to give the same reward on the server he wants putting the same port in each vote4diamonds plugin? Or he has a different method?
@BlaackShadowZ
That is not possible with this version, sorry..
Thank you for your answer, now I have another question, I use bungeecord that allows connected servers, so I have 12 servers connected and ej wanted saovir with vote4diamonds if I could make one page to vote and give rewards on the various servers. Thank you in advance
@BlaackShadowZ
Did you put it on a webhost? Because you shouldn't, it should run from your minecraft server. Please follow the instructions above to install.
Hello, I have a little trouble with your latest plugin version, I put everything well but as soon as you click on the vote 1, it puts this error: "The requested URL / Vote4Diamonds/site & 0 & BlaackShadowZ was not found on this server. Additionally, a 404 Not Found error WAS Encountered while Trying to use an ErrorDocument to handle the request. " If you want to see here is the link where it is set: http://land-craft.eu/Vote4Diamonds/ Thank you in advance for your help
@Aron800
Yes it reproduce every time and crashed my server, if you want the crash report :
http://betacraft.fr/telechargement/hs_err_pid4538.log
I can upload my .jar and folder vote4diamonds if you want ?
@Awaax
Did it give you the error again? I cannot seem to find out what is causing it exactly by the logs so I need to be able to reproduce it to fix it.
@Aron800
Yes I have. I will be 3 week that I use the plugin and I have this error 1 day ago.. (sorry for my bad english i'm french)
@Awaax
Did you copy the Vote4Diamonds folder to your plugins folder too? It seems like it cannot find the database which should be provided in the zip you downloaded.
@Aron800
I use 1.7.2-R0.4-SNAPSHOT from spigot And last vote4diamonds 1.1 version
And i have a problem with SQL look that :
[10:28:59] [pool-6-thread-3/WARN]: java.sql.SQLException: [SQLITE_ERROR] SQL error or missing database (no such table: vote4diamonds) [10:28:59] [pool-6-thread-3/WARN]: at org.sqlite.DB.newSQLException(DB.java:383) [10:28:59] [pool-6-thread-3/WARN]: at org.sqlite.DB.newSQLException(DB.java:387) [10:28:59] [pool-6-thread-3/WARN]: at org.sqlite.DB.throwex(DB.java:374) [10:28:59] [pool-6-thread-3/WARN]: at org.sqlite.NativeDB.prepare(Native Method) [10:28:59] [pool-6-thread-3/WARN]: at org.sqlite.DB.prepare(DB.java:123) [10:28:59] [pool-6-thread-3/WARN]: at org.sqlite.Stmt.executeQuery(Stmt.java:121) [10:28:59] [pool-6-thread-3/WARN]: at com.aronnn.vote4diamonds.HTTPServer.createVoted(HTTPServer.java:2641) [10:28:59] [pool-6-thread-3/WARN]: at com.aronnn.vote4diamonds.HTTPServer.serveFile(HTTPServer.java:2525) [10:28:59] [pool-6-thread-3/WARN]: at com.aronnn.vote4diamonds.HTTPServer$FileContextHandler.serve(HTTPServer.java:852) [10:28:59] [pool-6-thread-3/WARN]: at com.aronnn.vote4diamonds.HTTPServer.serve(HTTPServer.java:1903) [10:28:59] [pool-6-thread-3/WARN]: at com.aronnn.vote4diamonds.HTTPServer.handleMethod(HTTPServer.java:1834) [10:28:59] [pool-6-thread-3/WARN]: at com.aronnn.vote4diamonds.HTTPServer.handleTransaction(HTTPServer.java:1778) [10:28:59] [pool-6-thread-3/WARN]: at com.aronnn.vote4diamonds.HTTPServer.handleConnection(HTTPServer.java:1749) [10:28:59] [pool-6-thread-3/WARN]: at com.aronnn.vote4diamonds.HTTPServer$SocketHandlerThread$1.run(HTTPServer.java:1595) [10:28:59] [pool-6-thread-3/WARN]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [10:28:59] [pool-6-thread-3/WARN]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [10:28:59] [pool-6-thread-3/WARN]: at java.lang.Thread.run(Thread.java:724)
I think, the best is to make a connection to MySQL database possible (sorry for my bad english, i'm french:s)
@Awaax
What craftbukkit version and plugin version are you using?
@Aron800
Server crash : Stack: [0x00007ff06a068000,0x00007ff06a169000], sp=0x00007ff06a1674c8, free space=1021k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [sqlite-3.7.2-libsqlitejdbc.so+0x353ab] sqlite3_load_extension+0x23e J org.sqlite.RS.getInt(I)I j com.aronnn.vote4diamonds.HTTPServer.createVoted(Ljava/io/File;)Ljava/lang/String;+96 j com.aronnn.vote4diamonds.HTTPServer.serveFile(Ljava/io/File;Ljava/lang/String;Lcom/aronnn/vote4diamonds/HTTPServer$Request;Lcom/aronnn/vote4diamonds/HTTPServer$Response;)I+77 j com.aronnn.vote4diamonds.HTTPServer$FileContextHandler.serve(Lcom/aronnn/vote4diamonds/HTTPServer$Request;Lcom/aronnn/vote4diamonds/HTTPServer$Response;)I+10 j com.aronnn.vote4diamonds.HTTPServer.serve(Lcom/aronnn/vote4diamonds/HTTPServer$Request;Lcom/aronnn/vote4diamonds/HTTPServer$Response;)V+108 j com.aronnn.vote4diamonds.HTTPServer.handleMethod(Lcom/aronnn/vote4diamonds/HTTPServer$Request;Lcom/aronnn/vote4diamonds/HTTPServer$Response;)V+28 j com.aronnn.vote4diamonds.HTTPServer.handleTransaction(Lcom/aronnn/vote4diamonds/HTTPServer$Request;Lcom/aronnn/vote4diamonds/HTTPServer$Response;)V+12 j com.aronnn.vote4diamonds.HTTPServer.handleConnection(Ljava/net/Socket;)V+99 j com.aronnn.vote4diamonds.HTTPServer$SocketHandlerThread$1.run()V+21
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) J org.sqlite.NativeDB.column_int(JI)I J org.sqlite.RS.getInt(I)I j org.sqlite.RS.getInt(Ljava/lang/String;)I+6 j com.aronnn.vote4diamonds.HTTPServer.createVoted(Ljava/io/File;)Ljava/lang/String;+96 j com.aronnn.vote4diamonds.HTTPServer.serveFile(Ljava/io/File;Ljava/lang/String;Lcom/aronnn/vote4diamonds/HTTPServer$Request;Lcom/aronnn/vote4diamonds/HTTPServer$Response;)I+77 j com.aronnn.vote4diamonds.HTTPServer$FileContextHandler.serve(Lcom/aronnn/vote4diamonds/HTTPServer$Request;Lcom/aronnn/vote4diamonds/HTTPServer$Response;)I+10 j com.aronnn.vote4diamonds.HTTPServer.serve(Lcom/aronnn/vote4diamonds/HTTPServer$Request;Lcom/aronnn/vote4diamonds/HTTPServer$Response;)V+108 j com.aronnn.vote4diamonds.HTTPServer.handleMethod(Lcom/aronnn/vote4diamonds/HTTPServer$Request;Lcom/aronnn/vote4diamonds/HTTPServer$Response;)V+28 j com.aronnn.vote4diamonds.HTTPServer.handleTransaction(Lcom/aronnn/vote4diamonds/HTTPServer$Request;Lcom/aronnn/vote4diamonds/HTTPServer$Response;)V+12 j com.aronnn.vote4diamonds.HTTPServer.handleConnection(Ljava/net/Socket;)V+99 j com.aronnn.vote4diamonds.HTTPServer$SocketHandlerThread$1.run()V+21 J java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V J java.util.concurrent.ThreadPoolExecutor$Worker.run()V J java.lang.Thread.run()V v StubRoutines::call_stub
@BlaackShadowZ
Tu veux de l'aide?
@Bonkozorus
Well if you want to keep the fact that it was on your webhost before, I suggest using the older version (it should still function fine). The newer version was simply because I got a lot of questions about how to actually install it and that you need a webhost for it etc.
As for the underscore, I will look into fixing that issue.
Hi, i sent a ticket but i dunno where i can get my answer, 3 things to notice : - The "date" doesnt displays well on the web page - The "_" character isnt correctly managed by the web page, so players can't get their rewards - Why couldn't we keep the vote storage and the possibility to keep rewards stacking on the web page ?
Hello, so I want to hook into this plugin. I use a server with bungee cord (5 servers total) and I have this "vote ticket" system. You just type in console "/stuff add %player% %amount%" and it will add %amount% tickets to your mysql file. My point is This plugin only works on 1 server. The database is also global, so if it gets vote on 1 server, it will apply to all of them. It works on offline players too! The problem is, you need to be in said server which has the plugin (AFAIK w/ ports). If you can tell where to put the RCON script or make the plugin not require you being online, that would be great. Thank you in advance.