Advertisement
Guest User

GAListener Help

a guest
Apr 5th, 2015
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.30 KB | None | 0 0
  1. # GAListener v1.3.1
  2. # http://www.minecraft-index.com
  3.  
  4.  
  5. # settings section
  6.  
  7.  
  8. # onlineonly - Only delivers rewards when the player is online. If they are offline it will wait and deliver when they next join the server!
  9. # luckyvote - Enables the lucky voting section, this allows voters to have a random chance to receive additional rewards when they vote.
  10. # permvote - Enables the permission voting section, this allows voters to receive different rewards based upon their permissions.
  11. # cumulative - Enables the cumulative voting section, this allows voters to receive rewards once they have reached a certain number of votes.
  12. # broadcastqueue - Show broadcast message for queued votes.
  13. # broadcastoffline - Show broadcast message for offline queued votes.
  14. # broadcastrecent - Show broadcast message to recent voters (last 24 hours)
  15. # votecommand - Enables the /vote command which will show the message contained in the votemessage section at the bottom of the config.
  16. # rewardcommand - Enables the /rewards command which will show a list of all the cumulative voting rewards.
  17. # joinmessage - Show the message contained in the joinmessage section at the bottom of this config when a player joins the server.
  18. # 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.
  19. # remindseconds - How often (in seconds) between each reminder message.
  20. # 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.
  21. # logfile - Log received votes to vote.log file.
  22. # dbMode - Database mode. Use either mysql or sqlite.
  23. # dbFile - Database filename for SQLite.
  24. # dbHost - Database IP / Hostname for MySQL.
  25. # dbPort - Database port for MySQL.
  26. # dbUser - Database username for MySQL.
  27. # dbPass - Database password for MySQL.
  28. # dbName - Database name for MySQL.
  29. # dbPrefix - Database table prefix.
  30.  
  31.  
  32. settings:
  33. onlineonly: true
  34. luckyvote: true
  35. permvote: false
  36. cumulative: false
  37. broadcastqueue: true
  38. broadcastrecent: true
  39. broadcastoffline: false
  40. votecommand: true
  41. rewardcommand: false
  42. joinmessage: true
  43. voteremind: false
  44. remindseconds: 300
  45. ratelimit: 10
  46. logfile: false
  47. dbMode: 'sqlite'
  48. dbFile: 'GAL.db'
  49. dbHost: 'localhost'
  50. dbPort: 3306
  51. dbUser: 'root'
  52. dbPass: ''
  53. dbName: 'GAL'
  54. dbPrefix: ''
  55.  
  56.  
  57. # services section (default is used if service doesn't exist)
  58. # The example below would give 5 diamonds per vote.
  59.  
  60.  
  61. services:
  62. default:
  63. broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}5 Diamonds & $1000 & 150 XP & 2 {YELLOW}mcMMO credits!'
  64. playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
  65. commands:
  66. - '/give {username} 264 5'
  67. - '/eco give {username} 1000'
  68. - '/xp give {username} 150'
  69. - '/addcredits {username} 2'
  70. MC-Index:
  71. broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}MC-Index.com {GOLD}and received {GREEN}10 Diamonds!'
  72. playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
  73. commands:
  74. - '/give {username} 264 5'
  75.  
  76. # luckyvotes section
  77. # 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.
  78.  
  79. luckyvotes:
  80. '10':
  81. broadcast: '{GREEN}{username} {GOLD}was lucky and received an {GREEN}extra 500 XP and $5000!'
  82. playermessage: '{GREEN}You were lucky and received an {GREEN}extra 500 XP and $5000!'
  83. commands:
  84. - '/xp give {username} 500'
  85. - '/eco give {username} 5000'
  86. '25':
  87. broadcast: '{GREEN}{username} {GOLD}was lucky and received an {GREEN}extra 1000 XP and $10000!'
  88. playermessage: '{GREEN}You were lucky and received an {GREEN}extra 1000 XP and $10000!'
  89. commands:
  90. - '/xp give {username} 1000'
  91. - '/eco give {username} 10000'
  92. '50':
  93. broadcast: '{GREEN}{username} {GOLD}was very lucky and received{GREEN} 20 golden apple!'
  94. playermessage: '{GREEN}You were very lucky and received {GREEN} 20 golden apple!'
  95. commands:
  96. - '/give {username} 322 20'
  97. '100':
  98. broadcast: '{GREEN}{username} {GOLD}was super lucky and received{GREEN} 2 god apple!'
  99. playermessage: '{GREEN}You were super lucky and received {GREEN} 2 god apple!'
  100. commands:
  101. - '/give {username} 322:1 2'
  102. '150':
  103. broadcast: '{GREEN}{username} {GOLD}was super duper lucky and received{GREEN} 5 creeper eggs!'
  104. playermessage: '{GREEN}You were super duper lucky and received {GREEN} 5 creeper eggs!'
  105. commands:
  106. - '/give {username} 383:50 5'
  107. '250':
  108. broadcast: '{GREEN}{username} {GOLD}was extremly lucky and received{GREEN} protection 4 armor!'
  109. playermessage: '{GREEN}You were extremly lucky and received {GREEN} protection 4 armor!'
  110. commands:
  111. - '/give {username} 310 1 protection:4'
  112. - '/give {username} 311 1 protection:4'
  113. - '/give {username} 312 1 protection:4'
  114. - '/give {username} 313 1 protection:4'
  115. '1000':
  116. broadcast: '{GREEN}{username} {GOLD}has legendary luckyness and received a {GREEN} Duke rank!'
  117. playermessage: '{GREEN}You have legendary luckyness and received a {GREEN} Duke rank!'
  118. commands:
  119. - '/manuadd {username} duke'
  120.  
  121. # permission reward section
  122. # This example would give players with the permission node "gal.double" 10 Diamonds instead of their regular reward.
  123.  
  124. perms:
  125. double:
  126. broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}10 Diamonds!'
  127. playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
  128. commands:
  129. - '/give {username} 264 10'
  130.  
  131. # cumulative reward section
  132. # This example would give players 20 Diamonds once they have reached a total of 10 votes.
  133.  
  134. cumulative:
  135. '10':
  136. broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}10 times {GOLD}and received {GREEN}20 Diamonds!'
  137. playermessage: '{GREEN}Thanks for voting {AQUA}10 times!'
  138. rewardmessage: '20x Diamond'
  139. commands:
  140. - '/give {username} 264 20'
  141.  
  142.  
  143. # blocked - a list of worlds where rewards should be disabled, they will remain queued until the player is in an allowed world.
  144.  
  145.  
  146. blocked:
  147. - world_blocked
  148.  
  149.  
  150. # Available formatting codes for messages:
  151.  
  152. # {service} {servicename} {SERVICE} = service name
  153. # {username} {player} {name} = player username
  154. # {votes} = current vote total
  155. # & = Colour Symbol to enter manual colours / control codes
  156. # {AQUA} {BLACK} {BLUE} {DARK_AQUA} {DARK_BLUE}
  157. # {DARK_GRAY} {DARK_GREEN} {DARK_PURPLE} {DARK_RED} {GOLD}
  158. # {GRAY} {GREEN} {LIGHT_PURPLE} {RED} {WHITE} {YELLOW} {BOLD}
  159. # {ITALIC} {UNDERLINE} {STRIKETHROUGH} {STRIKE}
  160. # {STRIKETHROUGH} {MAGIC} {RESET}
  161.  
  162.  
  163. votemessage:
  164. - '{GOLD}--------------------------{GREEN}{BOLD}VOTE{GOLD}--------------------------'
  165. - '{GREEN}Recieve {YELLOW}$1000 & 150 XP & 5 Diamonds & 2 mcMMO credits'
  166. - '{GOLD}-----------------------------------------------------'
  167. - '{AQUA}You currently have {GREEN}{votes} Votes'
  168. - '{GOLD}--------------------------{GREEN}{BOLD}CHANCES{GOLD}--------------------------'
  169. - '{DARK_GRAY}[{GOLD}1{DARK_GRAY}/{GOLD}10{DARK_GRAY}] {GOLD}Chance to win {GREEN} extra 500 XP and $5000'
  170. - '{DARK_GRAY}[{GOLD}1{DARK_GRAY}/{GOLD}25{DARK_GRAY}] {GOLD}Chance to win {GREEN} extra 1000 XP and $10000'
  171. - '{DARK_GRAY}[{GOLD}1{DARK_GRAY}/{GOLD}50{DARK_GRAY}] {GOLD}Chance to win {DARK_AQUA} 20 Golden Apples'
  172. - '{DARK_GRAY}[{GOLD}1{DARK_GRAY}/{GOLD}100{DARK_GRAY}] {GOLD}Chance to win {RED} 2 God Apples'
  173. - '{DARK_GRAY}[{GOLD}1{DARK_GRAY}/{GOLD}150{DARK_GRAY}] {GOLD}Chance to win {DARK_GREEN} 5 Creeper Eggs'
  174. - '{DARK_GRAY}[{GOLD}1{DARK_GRAY}/{GOLD}250{DARK_GRAY}] {GOLD}Chance to win {AQUA} Protection 4 Armor'
  175. - '{DARK_GRAY}[{GOLD}1{DARK_GRAY}/{GOLD}1000{DARK_GRAY}] {GOLD}Chance to win {LIGHT_PURPLE} Duke Rank'
  176. - '{GOLD}--------------------------{GREEN}{BOLD}LINKS{GOLD}--------------------------'
  177. - '{GOLD}Vote 1: {YELLOW}http://www.planetminecraft.com/server/qualitypvp/vote/'
  178. - '{GOLD}-----------------------------------------------------'
  179.  
  180.  
  181. remindmessage:
  182. - '{GOLD}-----------------------------------------------------'
  183. - 'You have not voted recently, please vote to support the server'
  184. - '{GOLD}-----------------------------------------------------'
  185. - '{AQUA}You currently have {GREEN}{votes} Votes'
  186.  
  187.  
  188. joinmessage:
  189. - '{GOLD}-----------------------------------------------------'
  190. - 'Vote to recieve awesome rewards' {GREEN}{BOLD}/vote'
  191. - 'You have {votes} votes'
  192. - '{GOLD}-----------------------------------------------------'
  193. - '{AQUA}You currently have {GREEN}{votes} Votes'
  194.  
  195.  
  196. # Additional formatting codes for below:
  197.  
  198.  
  199. # {TOTAL} = vote total - used for /rewards
  200. # {REWARD} = current rewardmessage as specified in the cumulative reward section - used for /rewards
  201. # {POSITION} = current rank - used for /votetop
  202. # {username} = player name - used for /votetop
  203.  
  204.  
  205. rewardformat: '{GREEN}{TOTAL} Votes {GRAY}- {AQUA}{REWARD}'
  206. votetopformat: '{POSITION}. {GREEN}{username} - {WHITE}{TOTAL}'
  207. rewardheader:
  208. - '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Rewards{WHITE} ] {GOLD}----------------'
  209. votetopheader:
  210. - '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Top Voters{WHITE} ] {GOLD}----------------'
  211. rewardfooter:
  212. - '{AQUA}You currently have {GREEN}{votes} Votes'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement