Ultimate Voting Tokens [Bungee & MySQL Support]

Status
This thread has been locked.

HyperCipher

Feedback score
0
Posts
73
Reactions
20
Resources
0
lrDuz6G.jpg
DuBdZEC.png

zbDoLC6.png


Introduction:


Listing your server on voting sites is one of, if not the best, methods of advertising. Get to the top of the list, and reap the rewards of hundreds and thousands of players. Of course this is easier said than done, and networks face the additional obstacle of rewarding players across multiple servers.

As a network owner myself, I know how difficult it can be to reward all your players fairly, while preventing cross server trading and making sure players are motivated enough to vote multiple times every day. But look no further, this plugin aims to solve EVERYTHING voting related.

How it works:

The basic principle of the plugin comes down to a currency called "tokens". Every time a player votes for your server, they are awarded a configurable amount of tokens. These tokens can then be spent on items/permissions/anything you want, through the customizable chest GUI stores on each server. This not only allows you to customize rewards per server and give players more freedom and choice. But also wipes out cross server trading of surplus items, which they gain on servers they do not play on across your network.

The plugin works by storing a players token balance via MySQL which can then be called from any server. However this is not all the plugin stores. To encourage players to vote every day, the plugin stores the number of days that player has voted in a row, their "streak". If their streak is more than a week, they will be awarded double tokens every time they vote. If it's more than 2 weeks, triple, and more than 3 weeks, quadruple. However, if a player misses just a single day, their streak gets reset to 0.

Additionally, a constant "bonus multiplier" can be given to a player via commands. Allowing you to give multipliers as donor perks, or prizes. The algorithm used to calculate how many tokens a player receives per vote is: default amount of tokens multiplied by the bonus and streak multiplier added together. Of course this multiplier feature may not be to everyone's liking, as it may unbalance your economy. Therefore you able to individually disable and enable both streak and bonus multipliers within the config file.

And last but not least, the plugin also stores the number of votes per player. Allowing you to hold voting contests across any time period. Simply reset the counter for all players via command, and start your next contest.

Features:
  • Supports 1.7 & 1.8 (should work on any version, but have not tested below 1.7).
  • MySQL supported "token" currency.
  • UUID support ready for name changes.
  • Customize the amount of tokens given per vote.
  • Independent fully customizable chest GUI stores for each server.
  • Give players items/permissions/anything you want as a reward.
  • Set permissions per slot, to only let certain groups purchase certain items.
  • Prevent cross server trading of vote rewards.
  • Encourage players to vote every day with voting "streaks".
  • Award token multipliers for consecutive streaks.
  • Award token multipliers via command for donors or events.
  • Freedom to disable multipliers and keep to the basics.
  • Ability to hold voting contests, by storing the number of votes per player.
  • Customizable "/vote" command, to display voting links.
  • No need for additional plugins! (Except Votifier)
  • HUGELY customizable, to make it feel bespoke for your network.
Installation:
  1. you can download the plugin at http://www.spigotmc.org/resources/ultimate-voting-tokens-bungee-mysql-support.3294/
  2. An installation guide is on the page.
Configuration:

Code:
######################
#+                  +#
#  DATABASE SETTINGS #
#+                  +#
######################

database-settings:
  host: localhost
  port: 3306
  database: Global_Tokens
  username: ChangeMe
  password: ChangeMe

######################
#+                  +#
#  GENERAL SETTINGS  #
#+                  +#
######################

general-settings:

  # prefix - appears as chat prefix - REQUIRED
  prefix: '&9[Tokens]'

  # tokens - the default amount of tokens awarded per vote - REQUIRED
  tokens: 1

  # multipliers - Enable/Disable the streak multipliers feature - REQUIRED
  multipliers: true

  # bonus-multipliers - Enable/Disable the bonus multipliers feature - REQUIRED
  bonus-multipliers: true

######################
#+                  +#
#     TOKEN STORE    #
#+                  +#
######################

menu-settings:

  # name - appears as the title - REQUIRED
  name: '&bToken Store'

  # rows - the number of rows of the chest (1-6) - REQUIRED
  rows: 3

######################
#+                  +#
#     STORE SLOTS    #
#+                  +#
######################

#slot number - the slot in which the item will appear - REQUIRED
0:
  #id - the material id of the item you wish to display - REQUIRED
  id: 266
  #amount - the number which is displayed under the item in the slot (only cosmetic, and does not affect the amount given) - REQUIRED
  amount: 1
  #name - the name of the item - REQUIRED
  name: '&a$200'
  #lore - the lore listed when the item is hovered over - REQUIRED
  lore:
    - '&71 Token'
  #command - the commands to be executed on purchase (executed in order of listing) HINT: You can use %player% to point to the players name who clicked the item. - REQUIRED
  command:
    - 'eco give %player% 200'
  #permission - the permission code required to click the slot
  permission: 'tokens.slot0'
  #price - the amount the item costs in tokens - REQUIRED
  price: 1

1:
  id: 264
  amount: 4
  name: '&a4x Diamond'
  lore:
    - '&75 Tokens'
  command:
    - 'give %player% diamond 4'
  permission: 'tokens.slot1'
  price: 5

2:
  id: 311
  amount: 1
  name: '&aDiamond PvP Kit'
  lore:
    - '&61x Diamond Sword'
    - '&61x Diamond Chestplate'
    - '&61x Diamond Leggings'
    - '&61x Diamond Helmet'
    - '&61x Diamond Boots'
    - '&730 Tokens'
  command:
    - 'give %player% 276 1'
    - 'give %player% 311 1'
    - 'give %player% 312 1'
    - 'give %player% 310 1'
    - 'give %player% 313 1'
  permission: 'tokens.slot2'
  price: 30

26:
  id: 340
  amount: 1
  name: '&aCurrent Balance'
  lore:
    - '&7(Click to display)'
  command:
    - 'sudo %player% tokens balance'
  permission: ''
  price: 0

  • /tokens store
    • Opens the token store
    • Permission: tokens.store
  • /tokens add <name> <amount>
    • Give a player a certain amount of tokens
    • Permission: tokens.manage.addtokens
  • /tokens take <name> <amount>
    • Take a certain amount of tokens from a player
    • Permission: tokens.manage.taketokens
  • /tokens set <name> <amount>
    • Set a players token balance
    • Permission: tokens.manage.settokens
  • /tokens votes add <name> <amount>
    • Add votes to a players vote count
    • Permission: tokens.manage.addvotes
  • /tokens votes take <name> <amount>
    • Take votes from a players vote count
    • Permission: tokens.manage.takevotes
  • /tokens votes set <name> <amount>
    • Set a players vote count
    • Permission: tokens.manage.setvotes
  • /tokens votes reset
    • Reset all players vote count (useful for vote contests)
    • Permission: tokens.manage.resetvotes
  • /tokens streak add <name> <amount>
    • Add days to a players voting streak
    • Permission: tokens.manage.addstreak
  • /tokens streak take <name> <amount>
    • Take days off a players voting streak
    • Permission: tokens.manage.takestreak
  • /tokens streak set <name> <amount>
    • Set a players voting streak
    • Permission: tokens.manage.setstreak
  • /tokens multiplier add <name> <amount>
    • Add to a players token multiplier
    • Permission: tokens.manage.addmultiplier
  • /tokens multiplier take <name> <amount>
    • Take away from a players multiplier
    • Permission: tokens.manage.takemultiplier
  • /tokens multiplier set <name> <amount>
    • Set a players token multiplier
    • Permission: tokens.manage.setmultiplier
  • /tokens balance
    • Print your own token balance/streak/multiplier
    • Permission: tokens.balance.own
  • /tokens balance <name>
    • Print another players token balance/streak/multiplier
    • Permission: tokens.balance.others
  • /tokens help <page>
    • View a full list of commands in game

Dependencies:

  • The plugin requires a MySQL database.
  • The plugin requires votifier on the server which runs "CoreTokens.jar".
Contact:

If you have any suggestions/requests for future features, or just have a question to ask, don't hesitate to contact me. Please post all suggestions/requests on the forum thread. Questions can either be sent to me here, or to my skype "mrhypercipher" (UK).

DOWNLOAD HERE: http://www.spigotmc.org/resources/ultimate-voting-tokens-bungee-mysql-support.3294/
 
Last edited:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Gruss

Retired MCM Chat Moderator
Supreme
Feedback score
24
Posts
2,107
Reactions
1,230
Resources
0
Glad to hear you like the plugin, and are thinking about purchasing it. If you have questions or if there is anything which is holding you back from purchasing just give me a shout. I am always looking to improve the plugin and add more features.
Thanks a lot :)
 

HyperCipher

Feedback score
0
Posts
73
Reactions
20
Resources
0
An urgent update to anyone who has bought the plugin so far:

I just released a big patch for the plugin in 1.5, so please make sure you head over to download the new jars and re install the plugin. The sooner you update, the less likely you are to run into issues later on.
 

Gruss

Retired MCM Chat Moderator
Supreme
Feedback score
24
Posts
2,107
Reactions
1,230
Resources
0
Successful Transaction! Just purchased this plugin and am going to try it out on my prison server :) Vouch!
 

Gruss

Retired MCM Chat Moderator
Supreme
Feedback score
24
Posts
2,107
Reactions
1,230
Resources
0
Thanks for purchasing. I hope you enjoy the plugin. If you have any issues setting it up just give me a shout via pm on here or spigot or skype "mrhypercipher".
Added.
 

#YoloSolo

Premium
Feedback score
0
Posts
509
Reactions
145
Resources
0
HyperCipher the /vote command will display what exactly.. also when running it on bungee will it need to be installed on one server or multiple servers?

Im just hoping it dose not conflict with GAlistner and Voteparty
 

HyperCipher

Feedback score
0
Posts
73
Reactions
20
Resources
0
HyperCipher the /vote command will display what exactly.. also when running it on bungee will it need to be installed on one server or multiple servers?

Im just hoping it dose not conflict with GAlistner and Voteparty

The vote command displays a custom message you can configure in the config. Most servers use this to display a message explaining how players can vote and then the links to click on. You can see an example in the default config in the spoiler.

As for the bungee question. This plugin is designed for networks running bungee. The way it works is you install votifier on one server, and on the same server install CoreTokens.jar. This is the server which handles all voting packets and awards the player with tokens. Then install ServerTokens.jar on all your other servers, and this allows you to make GUI stores on every server.

You should not need GAlistner anymore, this is a better version of that designed for networks. You can of course still run VoteParty if you wish, and that should have no issue working along side Ultimate Voting Tokens.
 

#YoloSolo

Premium
Feedback score
0
Posts
509
Reactions
145
Resources
0
You should not need GAlistner anymore, this is a better version of that designed for networks. You can of course still run VoteParty if you wish, and that should have no issue working along side Ultimate Voting Tokens.

Well actually i do

So I have been thinking about the idea of "lucky votes", and I can't see a sensible way of adding it to the plugin. One of the good features of this plugin is that by making all votes reward the players with tokens instead of items, players cant do cross server trading of surplus items which they earn on servers they don't play on.

i like the plugin and always wanted to setup a shop where players can buy donation ranks via tokens so this will be a good addition but i do need to know if it will work with GAlistner as it has grate features
 

HyperCipher

Feedback score
0
Posts
73
Reactions
20
Resources
0
Well actually i do



i like the plugin and always wanted to setup a shop where players can buy donation ranks via tokens so this will be a good addition but i do need to know if it will work with GAlistner as it has grate features

Well what do you mean by work with? They should both run fine on the same server, if that is what you mean. Also 'm curious, what features do you like from GAlistener which my plugin does not provide? I could look into adding them in the future.
 

#YoloSolo

Premium
Feedback score
0
Posts
509
Reactions
145
Resources
0
Right okay, so you still haven't mentioned what you actually want my plugin to do

You didn't ask me that you ask me what that plugin has that yours don't!

As of right now for my preference all i want your plugin to do is exactly what it dose right now & GAListler will handle the rest... That is my preference and if you do decide to add more features cool. I just followed you on spigot so i would be notified

What do you mean by work with GAlistener?

Override my /vote command! I have used other plugin that i needed for features that had an vote command witch i didn't need and made my vote message look trashy or some didn't support color but i can always use My-commands to override it
 
Last edited:

HyperCipher

Feedback score
0
Posts
73
Reactions
20
Resources
0
You didn't ask me that you ask me what that plugin has that yours don't!

As of right now for my preference all i want your plugin to do is exactly what it dose right now & GAListler will handle the rest... That is my preference and if you do decide to add more features cool. I just followed you on spigot so i would be notified



Override my /vote command! I have used other plugin that i needed for features that had an vote command witch i didn't need and made my vote message look trashy or some didn't support color but i can always use My-commands to override it

Lol, I'm a little confused. You said you needed to know if my plugin would work with GAListener. To which I asked what you meant by "work with". But from what I understand, your saying my plugin does exactly what you want it to right now, so there is no issue? :p
 

#YoloSolo

Premium
Feedback score
0
Posts
509
Reactions
145
Resources
0
Lol, I'm a little confused. You said you needed to know if my plugin would work with GAListener. To which I asked what you meant by "work with". But from what I understand, your saying my plugin does exactly what you want it to right now, so there is no issue? :p

Scratch that that questhion... But i do understand the setup its the same as my votesend plugin with dose the same thing witch sends the votes to the listener plugin on each server
 
Status
This thread has been locked.
Top