SHARE
TWEET

Untitled

a guest Mar 20th, 2017 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #  GAListener v1.3.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. #  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: false
  32.   permvote: false
  33.   cumulative: false
  34.   broadcastqueue: true
  35.   broadcastrecent: true
  36.   broadcastoffline: true
  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: '{GOLD}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {AQUA}1 Vote Key, 64 Obsidian, 64 ExP Bottles and $5,000!'
  59.     playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
  60.     commands:
  61.     - '/crate givekey {username} Vote 1'
  62.     - '/give {username} 49 64'
  63.     - '/give {username} 384 64'
  64.     - '/eco give {username} 5000'
  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: '{GREEN}{username} {GOLD}was lucky and received an {GREEN}extra $1000!'
  72.     playermessage: '{GREEN}You were lucky and received an extra $1000!'
  73.     commands:
  74.     - '/eco give {username} 1000'
  75.   '50':
  76.     broadcast: '{GREEN}{username} {GOLD}was super lucky and received an {GREEN}extra 100 XP and $1000!'
  77.     playermessage: '{GREEN}You were super lucky and received an {GREEN}extra 100 XP and $1000!'
  78.     commands:
  79.     - '/xp give {username} 100'
  80.     - '/eco give {username} 1000'
  81.  
  82. #  permission reward section
  83. #  This example would give players with the permission node "gal.double" 10 Diamonds instead of their regular reward.
  84.  
  85. perms:
  86.   double:
  87.     broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}10 Diamonds!'
  88.     playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
  89.     commands:
  90.     - '/give {username} 264 10'
  91.  
  92. #  cumulative reward section
  93. #  This example would give players 20 Diamonds once they have reached a total of 10 votes.
  94.  
  95. cumulative:
  96.   '20':
  97.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}20 times {GOLD}and received {GREEN}20 Diamonds!'
  98.     playermessage: '{GREEN}Thanks for voting {AQUA}10 times!'
  99.     rewardmessage: '20x Diamond'
  100.     commands:
  101.     - '/crate givekey {username} rare 1'
  102.   '50':
  103.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}10 times {GOLD}and received {GREEN}20 Diamonds!'
  104.     playermessage: '{GREEN}Thanks for voting {AQUA}10 times!'
  105.     rewardmessage: '20x Diamond'
  106.     commands:
  107.     - '/give {username} 264 20'
  108.  
  109. #  blocked - a list of worlds where rewards should be disabled, they will remain queued until the player is in an allowed world.
  110.  
  111. blocked:
  112. - world_blocked
  113.  
  114. #  Available formatting codes for messages:
  115.  
  116. #  {service} {servicename} {SERVICE} = service name
  117. #  {username} {player} {name} = player username
  118. #  {votes} = current vote total
  119. #  & = Colour Symbol to enter manual colours / control codes
  120. #  {AQUA} {BLACK} {BLUE} {DARK_AQUA} {DARK_BLUE}
  121. #  {DARK_GRAY} {DARK_GREEN} {DARK_PURPLE} {DARK_RED} {GOLD}
  122. #  {GRAY} {GREEN} {LIGHT_PURPLE} {RED} {WHITE} {YELLOW} {BOLD}
  123. #  {ITALIC} {UNDERLINE} {STRIKETHROUGH} {STRIKE}
  124. #  {STRIKETHROUGH} {MAGIC} {RESET}
  125.  
  126. votemessage:
  127. - '{DARK_GRAY}+------------------------------------------+'
  128. - '{AQUA}{BOLD}Each Voting Link Gives You:'
  129. - '{RED}{BOLD}- 1 Vote Key'
  130. - '{RED}{BOLD}- 64 Obsidian'
  131. - '{RED}{BOLD}- 64 Exp Bottles'
  132. - '{RED}{BOLD}- $5000'
  133. - '{DARK_GRAY}+------------------------------------------+'
  134. - '{RED}{BOLD}- http://www.sigmafactions.com/vote'
  135. - '{DARK_GRAY}+------------------------------------------+'
  136. - '&8[&c&l25 Votes&8]: &c&l1 Rare Key'
  137. - '&8[&c&l60 Votes&8]: &c&lLegendary Key'
  138. - '&8[&c&l80 Votes&8]: &c&lMystery Key'
  139. - '&8[&c&l100 Votes&8]: &c&lSpawner Key'
  140. - '&8[&c&l120 Votes&8]: &c&lBlaze Spawner'
  141. - '&8[&c&l50 Votes&8]: &c&lIron Golem Spawner'
  142. - '{AQUA}You have {RED}{votes} {AQUA}votes!'
  143. - '{DARK_GRAY}+------------------------------------------+'
  144.  
  145. remindmessage:
  146. - '{DARK_GRAY}-----------------------------------------------------'
  147. - '{AQUA}You have''nt voted today! Use /vote'
  148. - '{AQUA}You currently have {GREEN}{votes} Votes'
  149. - '{DARK_GRAY}-----------------------------------------------------'
  150.  
  151. joinmessage:
  152. - '{DARK_GRAY}-----------------------------------------------------'
  153. - '{AQUA}Use /vote for Crate Keys, Money and ExP!'
  154. - '{AQUA}You currently have {GREEN}{votes} Votes'
  155. - '{DARK_GRAY}-----------------------------------------------------'
  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: '{GREEN}{TOTAL} Votes {GRAY}- {AQUA}{REWARD}'
  165. votetopformat: '{POSITION}. {GREEN}{username} - {WHITE}{TOTAL}'
  166. rewardheader:
  167. - '{DARK_GREY}---------------- {WHITE}[ {DARK_AQUA}Rewards{WHITE} ] {DARK_GREY}----------------'
  168. votetopheader:
  169. - '{DARK_GREY}---------------- {WHITE}[ {DARK_AQUA}Top Voters{WHITE} ] {DARK_GREY}----------------'
  170. rewardfooter:
  171. - '{AQUA}You currently have {GREEN}{votes} Votes'
RAW Paste Data
Top