Advertisement
Guest User

Config

a guest
Nov 21st, 2018
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.35 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: false
  34. broadcastqueue: true
  35. broadcastrecent: true
  36. broadcastoffline: false
  37. votecommand: true
  38. rewardcommand: false
  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. default:
  58. broadcast: '{RED}{username} {GRAY}voted {GRAY}and received a {RED}Vote Crate Key{GRAY}!'
  59. playermessage: '{GRAY}Thanks for voting for {RED}AtomicFactions!'
  60. commands:
  61. - '/crate key {username} Vote'
  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. '50':
  68. broadcast: '{RED}{username} {GRAY}was {RED}SUPER LUCKY {GRAY}and received a {RED}Bomb Crate Key {GRAY}and a {RED}Vote Crate Key{GRAY}!'
  69. playermessage: '{GRAY}You were {RED}SUPER LUCKY{GRAY} and received a {RED}Bomb Crate Key {GRAY}and a {RED}Vote Crate Key{GRAY}!'
  70. commands:
  71. - '/crate key {username} Vote'
  72. - '/crate key {username} Bomb'
  73.  
  74. # permission reward section
  75. # This example would give players with the permission node "gal.double" 10 Diamonds instead of their regular reward.
  76.  
  77. perms:
  78. double:
  79. broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}10 Diamonds!'
  80. playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
  81. commands:
  82. - '/give {username} 264 10'
  83.  
  84. # cumulative reward section
  85. # This example would give players 20 Diamonds once they have reached a total of 10 votes.
  86.  
  87. cumulative:
  88. '50':
  89. broadcast: '{RED}{username} {GRAY}has voted a total of {RED}50 TIMES {GRAY}and received {RED}2 Vote Bomb Crate Keys {GRAY}and{RED} 1 Atomic Crate Key{GRAY}!'
  90. playermessage: '{GRAY}Thanks for voting {RED}50 TIMES{GRAY}!'
  91. commands:
  92. - '/crate key {username} Vote 2'
  93. - '/crate key {username} Atomic'
  94.  
  95.  
  96. # blocked - a list of worlds where rewards should be disabled, they will remain queued until the player is in an allowed world.
  97.  
  98. blocked:
  99. - world_blocked
  100.  
  101. # Available formatting codes for messages:
  102.  
  103. # {service} {servicename} {SERVICE} = service name
  104. # {username} {player} {name} = player username
  105. # {votes} = current vote total
  106. # & = Colour Symbol to enter manual colours / control codes
  107. # {AQUA} {BLACK} {BLUE} {DARK_AQUA} {DARK_BLUE}
  108. # {DARK_GRAY} {DARK_GREEN} {DARK_PURPLE} {DARK_RED} {GOLD}
  109. # {GRAY} {GREEN} {LIGHT_PURPLE} {RED} {WHITE} {YELLOW} {BOLD}
  110. # {ITALIC} {UNDERLINE} {STRIKETHROUGH} {STRIKE}
  111. # {STRIKETHROUGH} {MAGIC} {RESET}
  112.  
  113. votemessage:
  114. - '{GRAY}{STRIKETHROUGH}-----------------------------------------------------'
  115. - '{RED}https://minecraftservers.org/server/521144'
  116. - '{GRAY}{STRIKETHROUGH}-----------------------------------------------------'
  117.  
  118. remindmessage:
  119. - '{GRAY}{STRIKETHROUGH}-----------------------------------------------------'
  120. - '{RED}You have not voted recently, please vote to support the server'
  121. - '{GRAY}{STRIKETHROUGH}-----------------------------------------------------'
  122. - '{GRAY}You currently have {RED}{votes} {GRAY}Votes'
  123.  
  124. joinmessage:
  125. - '{GRAY}{STRIKETHROUGH}-----------------------------------------------------'
  126. - '{RED}Vote for us every day for in game rewards and extras'
  127. - '{GRAY}{STRIKETHROUGH}-----------------------------------------------------'
  128. - '{GRAY}You currently have {RED}{votes} {GRAY}Votes'
  129.  
  130. # Additional formatting codes for below:
  131.  
  132. # {TOTAL} = vote total - used for /rewards
  133. # {REWARD} = current rewardmessage as specified in the cumulative reward section - used for /rewards
  134. # {POSITION} = current rank - used for /votetop
  135. # {username} = player name - used for /votetop
  136.  
  137. rewardformat: '{RED}{TOTAL} Votes {BLACK}> {RED}{REWARD}'
  138. votetopformat: '{RED}{POSITION} {BLACK}> {RED}{username} {BLACK}> {RED}{TOTAL}'
  139. rewardheader:
  140. - '{GRAY}{STRIKETHROUGH}----------------{GRAY}[ {RED}Rewards{GRAY} ]{GRAY}{STRIKETHROUGH}----------------'
  141. votetopheader:
  142. - '{GRAY}{STRIKETHROUGH}----------------{GRAY}[ {RED}Top Voters{GRAY} ]{GRAY}{STRIKETHROUGH}----------------'
  143. rewardfooter:
  144. - '{GRAY}You currently have {RED}{votes} Votes'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement