Advertisement
Guest User

GA LISTENER CONFIG

a guest
Jul 25th, 2016
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.04 KB | None | 0 0
  1. # GAListener v1.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. # logfile - Log received votes to vote.log file.
  19. # dbMode - Database mode. Use either mysql or sqlite.
  20. # dbFile - Database filename for SQLite.
  21. # dbHost - Database IP / Hostname for MySQL.
  22. # dbPort - Database port for MySQL.
  23. # dbUser - Database username for MySQL.
  24. # dbPass - Database password for MySQL.
  25. # dbName - Database name for MySQL.
  26. # dbPrefix - Database table prefix.
  27.  
  28. settings:
  29. onlineonly: true
  30. luckyvote: true
  31. permvote: false
  32. cumulative: false
  33. broadcastqueue: true
  34. broadcastrecent: true
  35. broadcastoffline: false
  36. votecommand: true
  37. rewardcommand: true
  38. joinmessage: true
  39. voteremind: false
  40. remindseconds: 300
  41. logfile: false
  42. dbMode: 'sqlite'
  43. dbFile: 'GAL.db'
  44. dbHost: 'localhost'
  45. dbPort: 3306
  46. dbUser: 'root'
  47. dbPass: ''
  48. dbName: 'GAL'
  49. dbPrefix: ''
  50.  
  51. # services section (default is used if service doesn't exist)
  52. # The example below would give 5 diamonds per vote.
  53.  
  54. services:
  55. default:
  56. broadcast: '{BLACK}{BOLD}[{RED}{BOLD}Vote{BLACK}{BOLD}]{RED}{BOLD}{username} has voted at {service} and received 1 vote key!'
  57. playermessage: '{BLACK}{BOLD}[{RED}{BOLD}Vote{BLACK}{BOLD}]{RED}{BOLD}Thanks for voting at {service}!'
  58. commands:
  59. - '/crates key {username} Vote'
  60. MC-Index:
  61. broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}MC-Index.com {GOLD}and received {GREEN}10 Diamonds!'
  62. playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
  63. commands:
  64. - '/give {username} 264 5'
  65.  
  66. # luckyvotes section
  67. # 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.
  68.  
  69. luckyvotes:
  70. '10':
  71. broadcast: '{BLACK}{BOLD}[{RED}{BOLD}Vote{BLACK}{BOLD}]{RED}{BOLD} {username} was lucky and recieved a common crate!'
  72. playermessage: '{BLACK}{BOLD}{RED}{BOLD}Vote{BLACK}{BOLD}]{RED}{BOLD} You were lucky and received a common crate!'
  73. commands:
  74. - '/crates key {username} Common'
  75. '25':
  76. broadcast: '{BLACK}{BOLD}[{RED}{BOLD}Vote{BLACK}{BOLD}]{RED}{BOLD} {username} was lucky and recieved an uncommon crate!'
  77. playermessage: ''{BLACK}{BOLD}[{RED}{BOLD}Vote{BLACK}{BOLD}]{RED}{BOLD} You were lucky and received an uncommon crate!'
  78. commands:
  79. - '/crates key {username} Uncommon'
  80. '40':
  81. broadcast: '{BLACK}{BOLD}{RED}[{BOLD}Vote{BLACK}{BOLD}]{RED}{BOLD} {username} was lucky and recieved a rare crate!'
  82. playermessage: '{BLACK}{BOLD}[{RED}{BOLD}Vote{BLACK}{BOLD}]{RED}{BOLD} You were lucky and received a rare crate!'
  83. commands:
  84. - '/crates key {username} Rare'
  85. '60':
  86. broadcast: '{BLACK}{BOLD}[{RED}{BOLD}Vote{BLACK}{BOLD}]{RED}{BOLD} {username} was super lucky and recieved a mythical crate!'
  87. playermessage: '{BLACK}{BOLD}[{RED}{BOLD}Vote{BLACK}{BOLD}]{RED}{BOLD} You were super lucky and received a mythical crate!'
  88. commands:
  89. - '/crates key {username} Mythical'
  90. '80':
  91. broadcast: '{BLACK}{BOLD}[{RED}{BOLD}Vote{BLACK}{BOLD}]{RED}{BOLD} {username} was super lucky and recieved a legendary crate!'
  92. playermessage: '{BLACK}{BOLD}[{RED}{BOLD}Vote{BLACK}{BOLD}]{RED}{BOLD} You were super lucky and received a legendary crate!'
  93. commands:
  94. - '/crates key {username} Legendary'
  95. '80':
  96. broadcast: '{BLACK}{BOLD}[{RED}{BOLD}Vote{BLACK}{BOLD}]{RED}{BOLD} {username} was extremely lucky and recieved a pickaxe crate!'
  97. playermessage: '{BLACK}{BOLD}[{RED}{BOLD}Vote{BLACK}{BOLD}]{RED}{BOLD} You were extremely lucky and received a pickaxe crate!'
  98. commands:
  99. - '/crates key {username} Pickaxe'
  100. '90':
  101. broadcast: '{BLACK}{BOLD}[{RED}{BOLD}Vote{BLACK}{BOLD}]{RED}{BOLD} {username} was extremely lucky and recieved a void crate!'
  102. playermessage: '{BLACK}{BOLD}{RED}{BOLD}Vote{BLACK}{BOLD}]{RED}{BOLD} You were extremely lucky and received a void crate!'
  103. commands:
  104. - '/crates key {username} Void'
  105.  
  106. # permission reward section
  107. # This example would give players with the permission node "gal.double" 10 Diamonds instead of their regular reward.
  108.  
  109. perms:
  110. double:
  111. broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}10 Diamonds!'
  112. playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
  113. commands:
  114. - '/give {username} 264 10'
  115.  
  116. # cumulative reward section
  117. # This example would give players 20 Diamonds once they have reached a total of 10 votes.
  118.  
  119. cumulative:
  120. '10':
  121. broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}10 times {GOLD}and received {GREEN}20 Diamonds!'
  122. playermessage: '{GREEN}Thanks for voting {AQUA}10 times!'
  123. rewardmessage: '20x Diamond'
  124. commands:
  125. - '/give {username} 264 20'
  126.  
  127. # blocked - a list of worlds where rewards should be disabled, they will remain queued until the player is in an allowed world.
  128.  
  129. blocked:
  130. - world_blocked
  131.  
  132. # Available formatting codes for messages:
  133.  
  134. # {service} {servicename} {SERVICE} = service name
  135. # {username} {player} {name} = player username
  136. # {votes} = current vote total
  137. # & = Colour Symbol to enter manual colours / control codes
  138. # {AQUA} {BLACK} {BLUE} {DARK_AQUA} {DARK_BLUE}
  139. # {DARK_GRAY} {DARK_GREEN} {DARK_PURPLE} {DARK_RED} {GOLD}
  140. # {GRAY} {GREEN} {LIGHT_PURPLE} {RED} {WHITE} {YELLOW} {BOLD}
  141. # {ITALIC} {UNDERLINE} {STRIKETHROUGH} {STRIKE}
  142. # {STRIKETHROUGH} {MAGIC} {RESET}
  143.  
  144. votemessage:
  145. - '{BLACK}{BOLD}{RED}{BOLD}Vote{BLACK}{BOLD}]{RED}{BOLD} {username}, thank you for voting!'
  146.  
  147. remindmessage:
  148. - '{BLACK}{BOLD}[{RED}{BOLD}Vote{BLACK}{BOLD}]{RED}{BOLD} {username}, don't forget to vote!'
  149.  
  150. joinmessage:
  151. - '{BLACK}{BOLD}----------------------------------------------------------'
  152. - '{RED}{BOLD} Welcome to Titan Craft Prison, {username}!
  153. - '{RED}{BOLD} Start at A block and work your way until you reach free!
  154. - '{RED}{BOLD} Vote for us every day for in game rewards and extras'
  155. - '{BLACK}{BOLD}----------------------------------------------------------'
  156.  
  157. # Additional formatting codes for below:
  158.  
  159. # {TOTAL} = vote total - used for /rewards
  160. # {REWARD} = current rewardmessage as specified in the cumulative reward section - used for /rewards
  161. # {POSITION} = current rank - used for /votetop
  162. # {username} = player name - used for /votetop
  163.  
  164. rewardformat: '{BLACK}{BOLD}[{RED}{BOLD}Vote{BLACK}{BOLD}]{RED}{BOLD} {TOTAL} votes.'
  165. votetopformat: '{POSITION}. {GREEN}{username} - {WHITE}{TOTAL}'
  166. rewardheader:
  167. - '{BLACK}---------------- {BLACK}{BOLD}[{RED}{BOLD}Rewards{BLACK}{BOLD}] {BLACK}----------------'
  168. votetopheader:
  169. - '{BLACK}---------------- {BLACK}{BOLD}[{RED}{BOLD}}Top Voters{BLACK}{BOLD}}] {BLACK}----------------'
  170. rewardfooter:
  171. - '{RED}{BOLD}You currently have {BLACK}{BOLD}{votes} {RED}{BOLD}Votes'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement