Advertisement
Guest User

GAListener config file

a guest
Oct 18th, 2014
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.50 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: true
  32. permvote: false
  33. cumulative: true
  34. broadcastqueue: true
  35. broadcastrecent: true
  36. broadcastoffline: false
  37. votecommand: true
  38. rewardcommand: true
  39. joinmessage: true
  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. PlanetMinecraft:
  58. broadcast: '{GREEN}{username} {AQUA}has voted @ {YELLOW}{service} {AQUA}and received {GREEN}1 Emerald and $150!'
  59. playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
  60. commands:
  61. - '/give {username} emerald 1'
  62. - '/eco give {username} 150'
  63. MC-Index:
  64. broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}MC-Index.com {GOLD}and received {GREEN}10 Diamonds!'
  65. playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
  66. commands:
  67. - '/give {username} 264 5'
  68.  
  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} {YELLOW}was lucky and received an {GREEN}extra $500!'
  75. playermessage: '{GREEN}You were lucky and received an extra $500!'
  76. commands:
  77. - '/eco give {username} 500'
  78. '10':
  79. broadcast: '{GREEN}{username} {YELLOW}was lucky and received an {GREEN}extra emerald!'
  80. playermessage: '{GREEN}You were lucky and received an extra emerald!'
  81. commands:
  82. - '/give {username} emerald 1'
  83. '50':
  84. broadcast: '{GREEN}{username} {YELLOW}was super lucky and received an {GREEN}extra 1000 XP and 4 emeralds!'
  85. playermessage: '{GREEN}You were super lucky and received an {GREEN}extra 1000 XP and 4 emeralds!'
  86. commands:
  87. - '/xp give {username} 1000'
  88. - '/give {username} emerald 4'
  89. '200':
  90. broadcast: '{GREEN}{username} {YELLOW}was promoted to Magician and received {GREEN}The Money for the Wand of Elements!'
  91. playermessage: '{GREEN}You have received The money for the Wand of Elements!'
  92. commands:
  93. - '/give {username} bedrock 4'
  94. - '/manuadd {username} Magician'
  95.  
  96. # permission reward section
  97. # This example would give players with the permission node "gal.double" 10 Diamonds instead of their regular reward.
  98.  
  99. perms:
  100. double:
  101. broadcast: '{GREEN}{username} {YELLOW}has voted @ {GREEN}{service} {YELLOW}and received {GREEN}2 emeralds!'
  102. playermessage: '{YELLOW}Thanks for voting at {GREEN}{service}!'
  103. commands:
  104. - '/give {username} emerald 2'
  105. - '/eco give {username} 300'
  106.  
  107. # cumulative reward section
  108. # This example would give players 20 Diamonds once they have reached a total of 10 votes.
  109.  
  110. cumulative:
  111. '7':
  112. broadcast: '{GREEN}{username} {YELLOW}has voted a total of {AQUA}7 times {YELLOW}and received {GREEN}1 emerald extra!'
  113. playermessage: '{GREEN}Thanks for voting {AQUA}7 times!'
  114. rewardmessage: '1 Emerald'
  115. commands:
  116. - '/give {username} emerald 1'
  117. - '/eco give {username} 150'
  118.  
  119. # blocked - a list of worlds where rewards should be disabled, they will remain queued until the player is in an allowed world.
  120.  
  121. blocked:
  122. - world_blocked
  123.  
  124. # Available formatting codes for messages:
  125.  
  126. # {service} {servicename} {SERVICE} = service name
  127. # {username} {player} {name} = player username
  128. # {votes} = current vote total
  129. # & = Colour Symbol to enter manual colours / control codes
  130. # {AQUA} {BLACK} {BLUE} {DARK_AQUA} {DARK_BLUE}
  131. # {DARK_GRAY} {DARK_GREEN} {DARK_PURPLE} {DARK_RED} {GOLD}
  132. # {GRAY} {GREEN} {LIGHT_PURPLE} {RED} {WHITE} {YELLOW} {BOLD}
  133. # {ITALIC} {UNDERLINE} {STRIKETHROUGH} {STRIKE}
  134. # {STRIKETHROUGH} {MAGIC} {RESET}
  135.  
  136. votemessage:
  137. - '{YELLOW}-----------------------------------------------------'
  138. - '{GREEN}Vote for us every day for in game rewards and extras'
  139. - '{GREEN}http://www.planetminecraft.com/server/skylandpvp-2920887/vote/'
  140. - '{GREEN}you receive 1 emerald and $150'
  141. - '{GREEN}Higher ranks receive 2 emeralds and $300'
  142. - '{GREEN}If you have voted 7 days in a row you get double vote rewards'
  143. - '{YELLOW}-----------------------------------------------------'
  144. - '{AQUA}You currently have {GREEN}{votes} Votes'
  145.  
  146. remindmessage:
  147. - '{YELLOW}-----------------------------------------------------'
  148. - 'You have not voted recently, please vote to support the server'
  149. - '{YELLOW}-----------------------------------------------------'
  150. - '{AQUA}You currently have {GREEN}{votes} Votes'
  151.  
  152. joinmessage:
  153. - '{GOLD}-----------------------------------------------------'
  154. - 'Vote for us every day for in game rewards and extras'
  155. - '{GOLD}-----------------------------------------------------'
  156. - '{AQUA}You currently have {GREEN}{votes} Votes'
  157.  
  158. # Additional formatting codes for below:
  159.  
  160. # {TOTAL} = vote total - used for /rewards
  161. # {REWARD} = current rewardmessage as specified in the cumulative reward section - used for /rewards
  162. # {POSITION} = current rank - used for /votetop
  163. # {username} = player name - used for /votetop
  164.  
  165. rewardformat: '{GREEN}{TOTAL} Votes {GRAY}- {AQUA}{REWARD}'
  166. votetopformat: '{POSITION}. {GREEN}{username} - {WHITE}{TOTAL}'
  167. rewardheader:
  168. - '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Rewards{WHITE} ] {GOLD}----------------'
  169. votetopheader:
  170. - '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Top Voters{WHITE} ] {GOLD}----------------'
  171. rewardfooter:
  172. - '{AQUA}You currently have {GREEN}{votes} Votes'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement