Advertisement
Guest User

GAlistener - Config.Yml

a guest
Mar 13th, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.50 KB | None | 0 0
  1. # GAListener v1.3.2
  2. # http://www.minecraft-index.com
  3.  
  4. # settings section
  5.  
  6. # onlineonly - Only delivers rewards when the player is online. If they are offline it will wait and deliver when they next join the server!
  7. # luckyvote - Enables the lucky voting section, this allows voters to have a random chance to receive additional rewards when they vote.
  8. # permvote - Enables the permission voting section, this allows voters to receive different rewards based upon their permissions.
  9. # cumulative - Enables the cumulative voting section, this allows voters to receive rewards once they have reached a certain number of votes.
  10. # broadcastqueue - Show broadcast message for queued votes.
  11. # broadcastoffline - Show broadcast message for offline queued votes.
  12. # broadcastrecent - Show broadcast message to recent voters (last 24 hours)
  13. # votecommand - Enables the /vote command which will show the message contained in the votemessage section at the bottom of the config.
  14. # rewardcommand - Enables the /rewards command which will show a list of all the cumulative voting rewards.
  15. # joinmessage - Show the message contained in the joinmessage section at the bottom of this config when a player joins the server.
  16. # voteremind - Message players who haven't voted in the last 24 hours. Shows the message contained in the remindmessage section at the bottom of this config.
  17. # remindseconds - How often (in seconds) between each reminder message.
  18. # ratelimit - Ignore votes received within this many seconds since the last vote for the same player on the same site. This should prevent duplicate votes.
  19. # logfile - Log received votes to vote.log file.
  20. # dbMode - Database mode. Use either mysql or sqlite.
  21. # dbFile - Database filename for SQLite.
  22. # dbHost - Database IP / Hostname for MySQL.
  23. # dbPort - Database port for MySQL.
  24. # dbUser - Database username for MySQL.
  25. # dbPass - Database password for MySQL.
  26. # dbName - Database name for MySQL.
  27. # dbPrefix - Database table prefix.
  28.  
  29. settings:
  30. onlineonly: true
  31. luckyvote: true
  32. permvote: false
  33. cumulative: false
  34. broadcastqueue: true
  35. broadcastrecent: true
  36. broadcastoffline: false
  37. votecommand: true
  38. rewardcommand: false
  39. joinmessage: true
  40. voteremind: false
  41. remindseconds: 1800
  42. ratelimit: 10
  43. logfile: false
  44. dbMode: 'sqlite'
  45. dbFile: 'GAL.db'
  46. dbHost: 'localhost'
  47. dbPort: 3306
  48. dbUser: 'root'
  49. dbPass: ''
  50. dbName: 'GAL'
  51. dbPrefix: ''
  52.  
  53. # services section (default is used if service doesn't exist)
  54. # The example below would give 5 diamonds per vote.
  55.  
  56. services:
  57. default:
  58. broadcast: '{DARK_AQUA}{username} {GREEN}Has Voted And Received A {DARK_AQUA}Crate Key! '
  59. playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
  60. commands:
  61. - '/archoncrates key {username} default 1'
  62.  
  63. # luckyvotes section
  64. # The example below would give a 1 in 10 chance of a voter receiving an extra $1000, and a 1 in 50 chance of an extra $1000 and 100XP.
  65.  
  66. luckyvotes:
  67. '10':
  68. broadcast: '{DARK_AQUA}{username} {GREEN}was lucky and received an extra {DARK_AQUA}$1000{GREEN}!'
  69. playermessage: '{GREEN}You were lucky and received an extra {DARK_AQUA}$1000{GREEN}!'
  70. commands:
  71. - '/eco give {username} 1000'
  72. '50':
  73. broadcast: '{GREEN}{username} {GREEN}was {GOLD}super lucky {Green}and received an extra {DARK_AQUA}$10,000{GREEN}!'
  74. playermessage: '{GREEN}You were super lucky and received an extra {DARK_AQUA}$10,000 {GREEN}!'
  75. commands:
  76. - '/eco give {username} 10000'
  77.  
  78. # permission reward section
  79. # This example would give players with the permission node "gal.double" 10 Diamonds instead of their regular reward.
  80.  
  81. perms:
  82. double:
  83. broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}10 Diamonds!'
  84. playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
  85. commands:
  86. - '/give {username} 264 10'
  87.  
  88. # cumulative reward section
  89. # This example would give players 20 Diamonds once they have reached a total of 10 votes.
  90.  
  91. cumulative:
  92. '10':
  93. broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}10 times {GOLD}and received {GREEN}20 Diamonds!'
  94. playermessage: '{GREEN}Thanks for voting {AQUA}10 times!'
  95. rewardmessage: '20x Diamond'
  96. commands:
  97. - '/give {username} 264 20'
  98.  
  99. # blocked - a list of worlds where rewards should be disabled, they will remain queued until the player is in an allowed world.
  100.  
  101. blocked:
  102. - world_blocked
  103.  
  104. # Available formatting codes for messages:
  105.  
  106. # {service} {servicename} {SERVICE} = service name
  107. # {username} {player} {name} = player username
  108. # {votes} = current vote total
  109. # & = Colour Symbol to enter manual colours / control codes
  110. # {AQUA} {BLACK} {BLUE} {DARK_AQUA} {DARK_BLUE}
  111. # {DARK_GRAY} {DARK_GREEN} {DARK_PURPLE} {DARK_RED} {GOLD}
  112. # {GRAY} {GREEN} {LIGHT_PURPLE} {RED} {WHITE} {YELLOW} {BOLD}
  113. # {ITALIC} {UNDERLINE} {STRIKETHROUGH} {STRIKE}
  114. # {STRIKETHROUGH} {MAGIC} {RESET}
  115.  
  116. votemessage:
  117. - '{DARK_AQUA}-----------------------------------------------------'
  118. - '{DARK_AQUA}Link 1: {GREEN}http://goo.gl/sIQpT6'
  119. - '{DARK_AQUA}-----------------------------------------------------'
  120. - '{GREEN}You Have Voted {DARK_AQUA}{votes} {GREEN}Times'
  121.  
  122. remindmessage:
  123. - '{DARK_AQUA}-----------------------------------------------------'
  124. - '{GREEN}You Have Not Voted In A While!'
  125. - '{GREEN}Make Sure To Vote Everyday For'
  126. - '{GREEN}Crate Keys and Special Prizes!'
  127. - '{DARK_AQUA}-----------------------------------------------------'
  128. - '{GREEN}You Have Voted {DARK_AQUA}{votes} {GREEN}Times'
  129.  
  130. joinmessage:
  131. - '{DARK_AQUA}-----------------------------------------------------'
  132. - '{GREEN}Make Sure To Vote Everyday For'
  133. - '{GREEN}Crate Keys and Special Prizes!'
  134. - '{DARK_AQUA}-----------------------------------------------------'
  135. - '{GREEN}You Have Voted {DARK_AQUA}{votes} {GREEN}Times'
  136.  
  137. # Additional formatting codes for below:
  138.  
  139. # {TOTAL} = vote total - used for /rewards
  140. # {REWARD} = current rewardmessage as specified in the cumulative reward section - used for /rewards
  141. # {POSITION} = current rank - used for /votetop
  142. # {username} = player name - used for /votetop
  143.  
  144. rewardformat: '{GREEN}{TOTAL} Votes {GRAY}- {AQUA}{REWARD}'
  145. votetopformat: '{POSITION}. {GREEN}{username} - {WHITE}{TOTAL}'
  146. rewardheader:
  147. - '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Rewards{WHITE} ] {GOLD}----------------'
  148. votetopheader:
  149. - '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Top Voters{WHITE} ] {GOLD}----------------'
  150. rewardfooter:
  151. - '{AQUA}You currently have {GREEN}{votes} Votes'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement