Config.yml Setup

Config.yml Setup

This file controls how rewards are issued to your players. You can have multiple rewards, currency, or even random rewards given to voters. The following options can be changed to suit your needs:

  • host - Can be left as default for almost all servers.
  • port - Change this is you are already using 5555 for another process or if you wish to customize it.
  • voteInterval - How soon after voting should Vote4Diamonds start nagging players? Defaulted to 24hours (most voting sites restrict voting to 24 hours)
  • rewards - The command(s) issued whenever a player successfully votes for all your voting sites. (Note: {0} is the player name variable. will always be replaced with the player's name). These commands can be anything:
- give {0} 48 45
- money give {0} 990
  • randomReward - If you have more then one reward, you can set this to "true" and Vote4Diamondz will pick one reward at random.
  • checkIP - By default this will check to see if the player in-game matches the IP of the person voting.
  • nagInterval - If the player has not voted today, how often do you want to nag them? This time is in seconds.
  • nag - The message sent to players who have not voted. Set to -1 to disable this feature.
  • broadcastMessage - This message is broadcast to all players after a successful vote.
  • notOnline - This message is given to the player voting, if they are not in-game after a successful vote. Players will have to login to the server in order to claim their prize.

Comments

Posts Quoted:
Reply
Clear All Quotes