Advertisement
Guest User

GAListener

a guest
Jun 16th, 2015
1,884
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.76 KB | None | 0 0
  1. # GAListener v1.3.1
  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: false
  32. permvote: false
  33. cumulative: true
  34. broadcastqueue: true
  35. broadcastrecent: true
  36. broadcastoffline: false
  37. votecommand: true
  38. rewardcommand: false
  39. joinmessage: false
  40. voteremind: false
  41. remindseconds: 300
  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: '{RED}{username} {GRAY}has voted @ {RED}{service}'
  59. playermessage: '{RED}Thanks for voting at {GRAY}{service}!'
  60. commands:
  61. - '/voted {username} {service}'
  62. - '/Someother reward'
  63. MC-Index:
  64. broadcast: '{RED}{username} {GRAY}has voted @ {RED}{service}'
  65. playermessage: '{RED}Thanks for voting at {GRAY}{service}!'
  66. commands:
  67. - '/voted {username} {service}'
  68. - '/Someother reward'
  69. # luckyvotes section
  70. # 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.
  71.  
  72. luckyvotes:
  73. '10':
  74. broadcast: '{GREEN}{username} {GOLD}was lucky and received an {GREEN}extra $1000!'
  75. playermessage: '{GREEN}You were lucky and received an extra $1000!'
  76. commands:
  77. - '/eco give {username} 1000'
  78. '50':
  79. broadcast: '{GREEN}{username} {GOLD}was super lucky and received an {GREEN}extra 100 XP and $1000!'
  80. playermessage: '{GREEN}You were super lucky and received an {GREEN}extra 100 XP and $1000!'
  81. commands:
  82. - '/xp give {username} 100'
  83. - '/eco give {username} 1000'
  84.  
  85. # permission reward section
  86. # This example would give players with the permission node "gal.double" 10 Diamonds instead of their regular reward.
  87.  
  88. perms:
  89. double:
  90. broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}10 Diamonds!'
  91. playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
  92. commands:
  93. - '/give {username} 264 10'
  94.  
  95. # cumulative reward section
  96. # This example would give players 20 Diamonds once they have reached a total of 10 votes.
  97.  
  98. cumulative:
  99. '10':
  100. broadcast: '{RED}{username} {GRAY}has voted a total of {RED}10 times'
  101. playermessage: '{GRAY}Thanks for voting {RED}10 times!'
  102. rewardmessage: ''
  103. commands:
  104. - '/addcredits {username} 75'
  105. '15':
  106. broadcast: '{RED}{username} {GRAY}has voted a total of {RED}15 times'
  107. playermessage: '{GRAY}Thanks for voting {RED}15 times!'
  108. rewardmessage: ''
  109. commands:
  110. - '/mccrates spawn key {username} mythical_crate 2'
  111. '30':
  112. broadcast: '{RED}{username} {GRAY}has voted a total of {RED}30 times'
  113. playermessage: '{GRAY}Thanks for voting {RED}30 times!'
  114. rewardmessage: ''
  115. commands:
  116. - '/eco give {username} 50000'
  117. '45':
  118. broadcast: '{RED}{username} {GRAY}has voted a total of {RED}10 times'
  119. playermessage: '{GRAY}Thanks for voting {RED}45 times!'
  120. rewardmessage: ''
  121. commands:
  122. - '/give {username} 322:1 15'
  123. '60':
  124. broadcast: '{RED}{username} {GRAY}has voted a total of {RED}60 times'
  125. playermessage: '{GRAY}Thanks for voting {RED}60 times!'
  126. rewardmessage: ''
  127. commands:
  128. - '/give {username} 383:50 15'
  129. '75':
  130. broadcast: '{RED}{username} {GRAY}has voted a total of {RED}75 times'
  131. playermessage: '{GRAY}Thanks for voting {RED}75 times!'
  132. rewardmessage: ''
  133. commands:
  134. - '/eco give {username} 100000'
  135. '80':
  136. broadcast: '{RED}{username} {GRAY}has voted a total of {RED}80 times'
  137. playermessage: '{GRAY}Thanks for voting {RED}80 times!'
  138. rewardmessage: ''
  139. commands:
  140. - '/give {username} 322:1 20'
  141. - '/kit oppickaxe {username}'
  142. - '/kit oppickaxe {username}'
  143. blocked:
  144. - world_blocked
  145.  
  146. # Available formatting codes for messages:
  147.  
  148. # {service} {servicename} {SERVICE} = service name
  149. # {username} {player} {name} = player username
  150. # {votes} = current vote total
  151. # & = Colour Symbol to enter manual colours / control codes
  152. # {AQUA} {BLACK} {BLUE} {DARK_AQUA} {DARK_BLUE}
  153. # {DARK_GRAY} {DARK_GREEN} {DARK_PURPLE} {DARK_RED} {GOLD}
  154. # {GRAY} {GREEN} {LIGHT_PURPLE} {RED} {WHITE} {YELLOW} {BOLD}
  155. # {ITALIC} {UNDERLINE} {STRIKETHROUGH} {STRIKE}
  156. # {STRIKETHROUGH} {MAGIC} {RESET}
  157.  
  158. votemessage:
  159. - '{GOLD}-----------------------------------------------------'
  160. - 'Vote for us every day for in game rewards and extras'
  161. - '{GOLD}-----------------------------------------------------'
  162. - '{AQUA}You currently have {GREEN}{votes} Votes'
  163.  
  164. remindmessage:
  165. - '{GOLD}-----------------------------------------------------'
  166. - 'You have not voted recently, please vote to support the server'
  167. - '{GOLD}-----------------------------------------------------'
  168. - '{AQUA}You currently have {GREEN}{votes} Votes'
  169.  
  170. joinmessage:
  171. - '{GOLD}-----------------------------------------------------'
  172. - 'Vote for us every day for in game rewards and extras'
  173. - '{GOLD}-----------------------------------------------------'
  174. - '{AQUA}You currently have {GREEN}{votes} Votes'
  175.  
  176. # Additional formatting codes for below:
  177.  
  178. # {TOTAL} = vote total - used for /rewards
  179. # {REWARD} = current rewardmessage as specified in the cumulative reward section - used for /rewards
  180. # {POSITION} = current rank - used for /votetop
  181. # {username} = player name - used for /votetop
  182.  
  183. rewardformat: '{GREEN}{TOTAL} Votes {GRAY}- {AQUA}{REWARD}'
  184. votetopformat: '{POSITION}. {GREEN}{username} - {WHITE}{TOTAL}'
  185. rewardheader:
  186. - '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Rewards{WHITE} ] {GOLD}----------------'
  187. votetopheader:
  188. - '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Top Voters{WHITE} ] {GOLD}----------------'
  189. rewardfooter:
  190. - '{AQUA}You currently have {GREEN}{votes} Votes'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement