Vote-Rank
Vote-Rank
About
Give your players presents for specific amount of votes,like items,books,rewards at the Chat or simply use a command on them!
How to install
Simply download the VoteRank.jar, put the Jar in your Server's Plugin Folder and restart / reload it. The plugin creates a new folder in your pugins folder named "VoteRank". In the VoteRank folder you can find the config.yml and the VoteRank.db.
- Without any chanches in the config.yml the plugin uses a sqlite-database
- You can choose a mySql database if you want to
- All messages can be changed!
- Full Color Support! (&1 - &9 - &a - &r) / [COLORNAME]
- Show your Users Votes on Tab or on the right sit of their Clients!
- ==== Only use one Sidebar or tab because they can block each other====
- Look at the Images
Version 1.0 to above
- Colored leather armor with RGB color-code
- Colored Named items
- Overpowered entchantments
Commands
- /setvotes <player> set the amount of votes in the mySql / sqlite database
- /votes <player> Shows you <player>'s Vote stats
- /votes Shows you your Vote stats
- /votelist Shows you the top ten of voters (if there a 10 or more voters)
- /clearvotes to clear your database
- /clearaccept to accept clearing your database
- /cleardeny to deny clearing your database
- /vote to show you votesites
- /voteversion Displays you the Version of VoteRanks
- /addvote <player> (optionally <amount>)
- /savebook Saves a book you are holding to a file
Permissions
- "VoteRank.setvotes" gives the Player the permission to use the /setvotes Command
- "VoteRank.clearvotes" gives you access to the /clearvotes Command
- "Voterank.addvote gives you acces to the /addvotes Command"
- "VoteRank.savebook" gives you acces to save a book as .txt
- "VoteRanks.except.id", this except a player from getting the Goal, id has to be set in your goal
GitHub link
Goals
VoteRank's Goal - System:
You can add new Goals in the config.yml, also you can change the basic goals!
Examples:
- 'votes=1;Message=Your first vote!;broadcast=<player> has 1 vote;Give=264:0,1,null,-1,null,-1,-1,-1'
This gives you for your first vote an diamont, without any Custom Name,or anyEntchantment.
- votes>100;Message=Nice damn, <votes> votes!!;Give=266:0,1,null,-1,&6Vote-Bar,-1,-1,-1
This gives you a Gold-Bar with the gold-colored name "Vote-Bar" if you got over 100 votes.It will also announce the player. -1 will disable the function for this item,null means no Entchantment or name
- votes=100;Message=You got 100 Votes! Here is something special:)!;Give=300:0,1,PROTECTION_EXPLOSIONS,1337,&6Marius-Suit,50,0,0
This gives the player leather pants colored in RGB color-system(50,0,0), with the gold-colored name "Marius-Suit" and Explosion-Protection Level 1337.It will also announce the player.
Explanation:
- votes=1 this sets the amount of Votes you need to get this Goal
- votes<10 everytime the amount of votes are less than 10
- votes>10 everytime the amount of vote are greater than 10
- votes%10 everytime the amount of votes can be divided by 10
- Message=<Message> is a private Message to the Player(if he is online)
- broadcast=<Message> is a Global Message to all Users
- Give=id,amount' is the option the set up an Item reward === only from Version 0.1 - 0.9 ===
- Give=id:subid,amount,Enchantment,lvl of entchantment,Name,red,green,blue === only from Version 1.0 to above ===
- Give=listname, gives the player a random item from a list
- command=<command> this can execute an command as the Console
- book=[file]plugins\VoteRanks\Books\book0.txt; convert the book0.txt to a book and give it to the player
- - Bsp. of a book.txt -
- book=author:Server-Team,title:The book,description:a book, fairly square!,&4Site1[newline]&4Site1,line2[newpage]Site2
- id=id, sets the id of the goal, only used to except players from a goal
- There is no need for any Order, but votes have to be the first Part of the Goal
@NoHoPeLess
No this means
- 'votes>1;Broadcast=<player> has Voted for the Server! Vote now and gain Something! '
that every time someone votes and his counted votes are greater than 1 the server will broadcast '<player> has Voted for the server (...)
Vielen dank für das Plugin
Könnten sie auch die deutsche version zu verfügung stellen? Bitte
:D so for every vote i must set in the config:
We have 3 Vote Sites to gain Vote Points :D
@NoHoPeLess
i added - 'votes>(some number) -'votes<(some number)
so you can add
- 'votes>1;Broadcast=<player> has Voted for the Server! Vote now and gain Something! '
i forgot to add this to the default config, but it's explained after "Explanation"
Can u make it so that when you vote he broadcast every vote in the chat? Something like: Broadcast: Player has Voted for the Server! Vote now and gain Something! <?
@oLLyyy
I changed the default language to english, but the file needs approval ... idk why this takesup to 4 days or more
I would appreciate an English config please
The Plugin isn't outdatet, since 1.0 there is no basic Api Changes in Bukkit that causes broken Plugins.
I use this on my own Server, and it works fine!
Thanks for your Update :) Everything works fine whithout Errors.
Hi getting this error after every Vote
[SEVERE] com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'rank' in 'field list'
@1337Zero
I fixed Sqlite with Version 0.6 and added some other functions
Sorry for the long time i had to fix my pc first :D
Ok i found some bugs in the Sqlite db :D i'm working on them
MySql schould work fine use this instate :D
at my nitrado Mysql Db it works fine ... do you use MySql or Sqlite ?
is you MySql Db Settings set to use only lokal ?
is there an error in your server log ?
I get this message in my mysql database, "No index defined!"
No Problem, i made this one for my own Server. :D
I have been looking for a plugin like this
Thanks