Configurations

Configurations

There are 3 types of configuration files or data files you should worry about:

Core Config

This is the main config file. It contains configurations regarding the plugin itself.
These configurations can be found in the file config.yml in the VotePoints folder.

mpregen: true
update: false
votegain: 1
lang: en
  • mpregen -> Set to true or false if you want to turn automatic mana regeneration on/off respectively.
  • update -> Set to true or false whether you would like to turn the updating feature VotePoints has to offer on/off respectively.
  • votegain -> Let's you decide on the amount of points you would like a player to receive upon successful voting.
  • lang -> Let's you choose which language file to use.

Player Data

This is the data file that will hold information about players' voting status.
The data can be found in the file playerData.yml in the VotePoints folder.
If no votes have been made, the file should be empty, however, if someone did vote, the file should look something like this:

player1: 10
player2: 1
player3: 7
player4: 4

You can modify the amount of points a certain player has either manually in the file, or via in-game commands which can be found here.

Player History Data

VotePoints also stores the latest shop history of each player for cases such as failed purchases to serve as proof of purchase.
Each player, upon an attempt of purchase, will have a file carrying the player's name and containing his shopping history.
The files can be found in the shopHistory folder.
An example file of a shopping history of a player would look like this:

goldShovel: 2013/07/29 22:02:06
ironSword: 2013/07/29 22:02:31
  • Left side -> purchased item
  • Right side -> purchase time & date.