bearbear12345

MCF | Generic | ’ to '

Mar 19th, 2015
380
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 6.92 KB | None | 0 0
  1. # 19/03/2015
  2. # RE: http://www.minecraftforum.net/forums/support/server-support/server-administration/2384470-need-some-help-with-my-galistener-config
  3. # ’ -> '
  4.  
  5. #  GAListener v1.3.1
  6. #  http://www.minecraft-index.com
  7.  
  8. #  settings section
  9.  
  10. #  onlineonly - Only delivers rewards when the player is online.  If they are offline it will wait and deliver when they next join the server!
  11. #  luckyvote - Enables the lucky voting section, this allows voters to have a random chance to receive additional rewards when they vote.
  12. #  permvote - Enables the permission voting section, this allows voters to receive different rewards based upon their permissions.
  13. #  cumulative - Enables the cumulative voting section, this allows voters to receive rewards once they have reached a certain number of votes.
  14. #  broadcastqueue - Show broadcast message for queued votes.
  15. #  broadcastoffline - Show broadcast message for offline queued votes.
  16. #  broadcastrecent - Show broadcast message to recent voters (last 24 hours)
  17. #  votecommand - Enables the /vote command which will show the message contained in the votemessage section at the bottom of the config.
  18. #  rewardcommand - Enables the /rewards command which will show a list of all the cumulative voting rewards.
  19. #  joinmessage - Show the message contained in the joinmessage section at the bottom of this config when a player joins the server.
  20. #  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.
  21. #  remindseconds - How often (in seconds) between each reminder message.
  22. #  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.
  23. #  logfile - Log received votes to vote.log file.
  24. #  dbMode - Database mode. Use either mysql or sqlite.
  25. #  dbFile - Database filename for SQLite.
  26. #  dbHost - Database IP / Hostname for MySQL.
  27. #  dbPort - Database port for MySQL.
  28. #  dbUser - Database username for MySQL.
  29. #  dbPass - Database password for MySQL.
  30. #  dbName - Database name for MySQL.
  31. #  dbPrefix - Database table prefix.
  32.  
  33. settings:
  34.   onlineonly: true
  35.   luckyvote: true
  36.   permvote: false
  37.   cumulative: true
  38.   broadcastqueue: true
  39.   broadcastrecent: true
  40.   broadcastoffline: true
  41.   votecommand: true
  42.   rewardcommand: false
  43.   joinmessage: true
  44.   voteremind: true
  45.   remindseconds: 600
  46.   ratelimit: 10
  47.   logfile: false
  48.   dbMode: 'sqlite'
  49.   dbFile: 'GAL.db'
  50.   dbHost: 'localhost'
  51.   dbPort: 3306
  52.   dbUser: 'root'
  53.   dbPass: ''
  54.   dbName: 'GAL'
  55.   dbPrefix: ''
  56.  
  57. #  services section (default is used if service doesn't exist)
  58. #  The example below would give 5 diamonds per vote.
  59.  
  60. services:
  61.   default:
  62.     broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}1 Diamond sword and 1 Enchanted apple!'
  63.     playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
  64.     commands:
  65.     - '/give {username} 322:1 1'
  66.     - '/give {username} 276 1'
  67.   MC-Index:
  68.     broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}MC-Index.com {GOLD}and received {GREEN}1 Diamond sword and 1 Enchanted apple!'
  69.     playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
  70.     commands:
  71.     - '/give {username} 276 1'
  72.     - '/give {username} 322:1 1'
  73. #  luckyvotes section
  74. #  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.
  75.  
  76. luckyvotes:
  77.   '10':
  78.     broadcast: '{GREEN}{username} {GOLD}was lucky and received an {GREEN}extra $5000!'
  79.     playermessage: '{GREEN}You were lucky and received an extra $5000!'
  80.     commands:
  81.    - '/eco give {username} 5000'
  82.   '50':
  83.     broadcast: '{GREEN}{username} {GOLD}was super lucky and received an {GREEN}extra 2 Enchanted apples and $5000!'
  84.     playermessage: '{GREEN}You were super lucky and received an {GREEN}extra 2 Enchanted apples and $5000!'
  85.     commands:
  86.    - '/give {username} 322:1 2'
  87.     - '/eco give {username} 5000'
  88.  
  89. #  permission reward section
  90. #  This example would give players with the permission node "gal.double" 10 Diamonds instead of their regular reward.
  91.  
  92. perms:
  93.   double:
  94.     broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}10 Diamonds!'
  95.     playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
  96.     commands:
  97.     - '/give {username} 264 10'
  98.  
  99. #  cumulative reward section
  100. #  This example would give players 20 Diamonds once they have reached a total of 10 votes.
  101.  
  102. cumulative:
  103.   '10':
  104.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}10 times \GOLD}and received {GREEN}20 Diamonds!'
  105.     playermessage: '{GREEN}Thanks for voting {AQUA}10 times!'
  106.     rewardmessage: '20x Diamond'
  107.     commands:
  108.     - '/give {username} 264 20'
  109.  
  110. #  blocked - a list of worlds where rewards should be disabled, they will remain queued until the player is in an allowed world.
  111.  
  112. blocked:
  113. - world_blocked
  114.  
  115. #  Available formatting codes for messages:
  116.  
  117. #  {service} {servicename} {SERVICE} = service name
  118. #  {username} {player} {name} = player username
  119. #  {votes} = current vote total
  120. #  & = Colour Symbol to enter manual colours / control codes
  121. #  {AQUA} {BLACK} {BLUE} {DARK_AQUA} {DARK_BLUE}
  122. #  {DARK_GRAY} {DARK_GREEN} {DARK_PURPLE} {DARK_RED} {GOLD}
  123. #  {GRAY} {GREEN} {LIGHT_PURPLE} {RED} {WHITE} {YELLOW} {BOLD}
  124. #  {ITALIC} {UNDERLINE} {STRIKETHROUGH} {STRIKE}
  125. #  {STRIKETHROUGH} {MAGIC} {RESET}
  126.  
  127. votemessage:
  128. - '{GOLD}-----------------------------------------------------'
  129. - 'Vote for us every day for in game rewards and extras'
  130. - '{GOLD}-----------------------------------------------------'
  131. - '{AQUA}You currently have {GREEN}{votes} Votes'
  132.  
  133. remindmessage:
  134. - '{GOLD}-----------------------------------------------------'
  135. - 'You have not voted recently, vote at http://www.planetminecraft.com/server/chaos-factions-and-pvp/vote/'
  136. - '{GOLD}-----------------------------------------------------'
  137. - '{AQUA}You currently have {GREEN}{votes} Votes'
  138.  
  139. joinmessage:
  140. - '{GOLD}-----------------------------------------------------'
  141. - 'Vote for us every day for in game rewards and extras'
  142. - '{GOLD}-----------------------------------------------------'
  143. - '{AQUA}You currently have {GREEN}{votes} Votes'
  144.  
  145. #  Additional formatting codes for below:
  146.  
  147. #  {TOTAL} = vote total - used for /rewards
  148. #  {REWARD} = current rewardmessage as specified in the cumulative reward section - used for /rewards
  149. #  {POSITION} = current rank - used for /votetop
  150. #  {username} = player name - used for /votetop
  151.  
  152. rewardformat: '{GREEN}{TOTAL} Votes {GRAY}- {AQUA}{REWARD}'
  153. votetopformat: '{POSITION}. {GREEN}{username} - {WHITE}{TOTAL}'
  154. rewardheader:
  155. - '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Rewards{WHITE} ] {GOLD}----------------'
  156. votetopheader:
  157. - '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Top Voters{WHITE} ] {GOLD}----------------'
  158. rewardfooter:
  159. - '{AQUA}You currently have {GREEN}{votes} Votes'
Advertisement
Add Comment
Please, Sign In to add comment