Advertisement
Guest User

GAListener Config Fix

a guest
May 6th, 2017
391
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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: false
  39. joinmessage: false
  40. voteremind: true
  41. remindseconds: 1800
  42. ratelimit: 0
  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: '&7[&6+&7] &e{username} &6used &e&n/vote&r &6and received a &eCommon Key &6& &e1 Token.'
  59. playermessage: ''
  60. commands:
  61. - 'eco give {username} 5000'
  62. - 'tokenmanager add {username} 1'
  63. - 'cr givekey {username} common 1'
  64. minecraft-mp.com:
  65. broadcast: '&7[&6+&7] &e{username} &6used &e&n/vote&r &6and received a &eCommon Key &6& &e1 Token.'
  66. playermessage: ''
  67. commands:
  68. - 'eco give {username} 5000'
  69. - 'tokenmanager add {username} 1'
  70. - 'cr givekey {username} common 1'
  71. # luckyvotes section
  72. # 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.
  73.  
  74. luckyvotes:
  75. '10':
  76. broadcast: '&7[&6+&7] &e{username} &6was lucky and received &e$25k.'
  77. playermessage: ''
  78. commands:
  79. - '/eco give {username} 25000'
  80. '25':
  81. broadcast: '&7[&6&l+&7] &e{username} &6was lucky and received an extra &eCommon Key'
  82. playermessage: ''
  83. commands:
  84. - '/cr givekey {username} common 1'
  85. '45':
  86. broadcast: '&7[&6&l+&7] &e{username} &6was lucky and received a&e Uncommon Key'
  87. playermessage: ''
  88. commands:
  89. - '/cr givekey {username} uncommon 1'
  90. '60':
  91. broadcast: '&7[&6&l+&7] &e{username} &6was lucky and received a&e Rare Key'
  92. playermessage: ''
  93. commands:
  94. - '/cr givekey {username} rare 1'
  95. '75':
  96. broadcast: '&7[&6&l+&7] &e{username} &6was lucky and received a&e Mythical Key'
  97. playermessage: ''
  98. commands:
  99. - '/cr givekey {username} mythical 1'
  100.  
  101. # permission reward section
  102. # This example would give players with the permission node "gal.double" 10 Diamonds instead of their regular reward.
  103.  
  104. perms:
  105. double:
  106. broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}10 Diamonds!'
  107. playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
  108. commands:
  109. - '/give {username} 264 10'
  110.  
  111. # cumulative reward section
  112. # This example would give players 20 Diamonds once they have reached a total of 10 votes.
  113. cummulative:
  114. '10':
  115. broadcast: '{GREEN} {username} {GOLD} has voted @ {GREEN} {service} {GOLD} and recieved {GREEN} 1 extra Common key!'
  116. playermessage: '{GREEN} Thanks for Voting {AQUA} 10 Times!'
  117. rewardmessage: '1 Common Key!'
  118. commands:
  119. - '/cr givekey {username} common 1'
  120.  
  121. # blocked - a list of worlds where rewards should be disabled, they will remain queued until the player is in an allowed world.
  122.  
  123. blocked:
  124. - world_blocked
  125.  
  126. # Available formatting codes for messages:
  127.  
  128. # {service} {servicename} {SERVICE} = service name
  129. # {username} {player} {name} = player username
  130. # {votes} = current vote total
  131. # & = Colour Symbol to enter manual colours / control codes
  132. # {AQUA} {BLACK} {BLUE} {DARK_AQUA} {DARK_BLUE}
  133. # {DARK_GRAY} {DARK_GREEN} {DARK_PURPLE} {DARK_RED} {GOLD}
  134. # {GRAY} {GREEN} {LIGHT_PURPLE} {RED} {WHITE} {YELLOW} {BOLD}
  135. # {ITALIC} {UNDERLINE} {STRIKETHROUGH} {STRIKE}
  136. # {STRIKETHROUGH} {MAGIC} {RESET}
  137.  
  138. votemessage:
  139. - ''
  140. - '{GOLD}Vote daily at {YELLOW}http://minecraft-mp.com/server/156964/vote/ {GOLD}to receive'
  141. - '{GOLD}5x Common Keys{GRAY}, {GOLD}5x Tokens {GRAY}'
  142. - ''
  143. remindmessage:
  144. - ''
  145. - '{GOLD}Hey you haven''t voted for us yet. {GOLD}type /vote to support us.'
  146. - ''
  147. joinmessage:
  148. - ''
  149.  
  150. # Additional formatting codes for below:
  151.  
  152. # {TOTAL} = vote total - used for /rewards
  153. # {REWARD} = current rewardmessage as specified in the cumulative reward section - used for /rewards
  154. # {POSITION} = current rank - used for /votetop
  155. # {username} = player name - used for /votetop
  156.  
  157. rewardformat: '{GRAY}[{YELLOW}{BOLD}{TOTAL}{GRAY}] {GRAY}- {GOLD}{BOLD}{REWARD}'
  158. votetopformat: '{GRAY}{POSITION}. {GOLD}{username}{GRAY} - {YELLOW}{TOTAL}'
  159. rewardheader:
  160. - '{GOLD}Top 3 voters receive store vouchers'
  161. votetopheader:
  162. - '{GOLD}Top 10 Monthly Voters'
  163. rewardfooter:
  164. - ''
Advertisement
RAW Paste Data Copied
Advertisement