Advertisement
Guest User

GAListener Config

a guest
Jun 7th, 2016
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.26 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: '&6{username} &chas voted @ &6{service} &cand received &citems!'
  59. playermessage: '&6Thanks for voting at &c{service}!'
  60. commands:
  61. - '/crate gk {username} Vote 1'
  62. - '/eco give {username} 10000'
  63.  
  64. # luckyvotes section
  65. # 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.
  66.  
  67. luckyvotes:
  68. '2':
  69. broadcast: '&6{username} &cwas lucky and received &81 Bedrock!'
  70. playermessage: '&cYou were lucky and received 1 Bedrock!'
  71. commands:
  72. - '/give {username} 7 1'
  73. '5':
  74. broadcast: '&6{username} &cwas lucky and received &a250k!'
  75. playermessage: '&6You were lucky and received 250k!'
  76. commands:
  77. - '/eco give {username} 250000'
  78.  
  79.  
  80. # permission reward section
  81. # This example would give players with the permission node "gal.double" 10 Diamonds instead of their regular reward.
  82.  
  83. perms:
  84. double:
  85. broadcast: '&9{username} &3has voted @ &9{service} &3and received &9items!'
  86. playermessage: '&9Thanks for voting at &3{service}!'
  87. commands:
  88. - '/give {username} 276 1 name:&0&l&kII&9&l[&3&lVoteSword&9&l]&0&l&kII lore: &0&k!!&3&lUseLikeABoss!&0&k!!sharp:18 fire:10'
  89. - '/give {username} 368 16 name:&0&l&k!!&9&l[&3&lEnderPearls&9&l]&0&l&k!! lore:&0&k!!&3&l[TeleportTool]&0&k!!'
  90.  
  91. # cumulative reward section
  92. # This example would give players 20 Diamonds once they have reached a total of 10 votes.
  93.  
  94. cumulative:
  95. '20':
  96. broadcast: '&9{username} &3has voted a total of 20 times &9and received &3OP gear!'
  97. playermessage: '&9Thanks for voting &920 times!'
  98. rewardmessage: '&9Kit Vote!'
  99. commands:
  100. - '/kit Vote {username}'
  101.  
  102. # blocked - a list of worlds where rewards should be disabled, they will remain queued until the player is in an allowed world.
  103.  
  104. blocked:
  105. - world_blocked
  106.  
  107. # Available formatting codes for messages:
  108.  
  109. # {service} {servicename} {SERVICE} = service name
  110. # {username} {player} {name} = player username
  111. # {votes} = current vote total
  112. # & = Colour Symbol to enter manual colours / control codes
  113. # {AQUA} {BLACK} {BLUE} {DARK_AQUA} {DARK_BLUE}
  114. # {DARK_GRAY} {DARK_GREEN} {DARK_PURPLE} {DARK_RED} {GOLD}
  115. # {GRAY} {GREEN} {LIGHT_PURPLE} {RED} {WHITE} {YELLOW} {BOLD}
  116. # {ITALIC} {UNDERLINE} {STRIKETHROUGH} {STRIKE}
  117. # {STRIKETHROUGH} {MAGIC} {RESET}
  118.  
  119. votemessage:
  120. - '&6-----------------------------------------------------'
  121. - '&cVoting gives you tons of perks. Do /vote.'
  122. - '&6-----------------------------------------------------'
  123. - '&cYou currently have &6{votes} Votes'
  124.  
  125. remindmessage:
  126. - '&6-----------------------------------------------------'
  127. - '&cYou have not voted recently, please vote to support the server'
  128. - '&6-----------------------------------------------------'
  129. - '&cYou currently have &6{votes} Votes'
  130.  
  131. joinmessage:
  132. - '&6-----------------------------------------------------'
  133. - '&cVoting gives you tons of perks. Do /vote.'
  134. - '&6-----------------------------------------------------'
  135. - '&cYou currently have &6{votes} Votes'
  136.  
  137. # Additional formatting codes for below:
  138.  
  139. # {TOTAL} = vote total - used for /rewards
  140. # {REWARD} = current rewardmessage as specified in the cumulative reward section - used for /rewards
  141. # {POSITION} = current rank - used for /votetop
  142. # {username} = player name - used for /votetop
  143.  
  144. rewardformat: '{GREEN}{TOTAL} Votes {GRAY}- {AQUA}{REWARD}'
  145. votetopformat: '{POSITION}. {GREEN}{username} - {WHITE}{TOTAL}'
  146. rewardheader:
  147. - '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Rewards{WHITE} ] {GOLD}----------------'
  148. votetopheader:
  149. - '&9---------------- {WHITE}[ &3Top Voters{WHITE} ] &9----------------'
  150. rewardfooter:
  151. - '&9You currently have &3{votes} Votes'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement