Advertisement
Guest User

server file

a guest
Jan 12th, 2015
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 7.48 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: false
  31.   luckyvote: true
  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: true
  41.   remindseconds: 1800
  42.   ratelimit: 10
  43.   logfile: true
  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: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}5 Diamonds!'
  59.     playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
  60.     commands:
  61.     - '/give {username} 264 2'
  62.     - '/eco give {username} 100'
  63.   MC-Index:
  64.     broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}MC-Index.com {GOLD}and received {GREEN}2 Diamonds and $100!'
  65.     playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
  66.     commands:
  67.     - '/give {username} 264 2'
  68.     - '/eco give {username} 100'
  69. #  luckyvotes section
  70. #  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.
  71.  
  72. luckyvotes:
  73.   '50':
  74.     broadcast: '{GREEN}{username} {GOLD}was lucky and received an {GREEN}extra 5 Diamonds and $500!'
  75.     playermessage: '{GREEN}You were lucky and received an extra 5 Diamonds and $500!'
  76.     commands:
  77.    - '/give {username} 264 5'
  78.     - '/eco give {username} 500'
  79.   '500':
  80.    broadcast:'{GREEN}{username} {GOLD}was really lucky and received an {GREEN}Enchantment Table!'
  81.     playermessage:'{GREEN}You were really lucky and received an {GREEN}Enchantment Table!'
  82.     commands:
  83.    - '/give {username} 116 1'
  84.   '1000':
  85.     broadcast: '{GREEN}{username} {GOLD}was super lucky and received an {GREEN}extra $10000!'
  86.     playermessage: '{GREEN}You were super lucky and received an {GREEN}extra $10000!'
  87.     commands:
  88.    - '/eco give {username} 10000'
  89.  
  90. #  permission reward section
  91. #  This example would give players with the permission node "gal.double" 10 Diamonds instead of their regular reward.
  92.  
  93. perms:
  94.   double:
  95.     broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}10 Diamonds!'
  96.     playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
  97.     commands:
  98.     - '/give {username} 264 10'
  99.  
  100. #  cumulative reward section
  101. #  This example would give players 20 Diamonds once they have reached a total of 10 votes.
  102.  
  103. cumulative:
  104.   '10':
  105.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}10 times {GOLD}and received {GREEN}20 Diamonds!'
  106.     playermessage: '{GREEN}Thanks for voting {AQUA}10 times!'
  107.     rewardmessage: '20x Diamond'
  108.     commands:
  109.     - '/give {username} 264 20'
  110.  
  111. #  blocked - a list of worlds where rewards should be disabled, they will remain queued until the player is in an allowed world.
  112.  
  113. blocked:
  114. - world_blocked
  115.  
  116. #  Available formatting codes for messages:
  117.  
  118. #  {service} {servicename} {SERVICE} = service name
  119. #  {username} {player} {name} = player username
  120. #  {votes} = current vote total
  121. #  & = Colour Symbol to enter manual colours / control codes
  122. #  {AQUA} {BLACK} {BLUE} {DARK_AQUA} {DARK_BLUE}
  123. #  {DARK_GRAY} {DARK_GREEN} {DARK_PURPLE} {DARK_RED} {GOLD}
  124. #  {GRAY} {GREEN} {LIGHT_PURPLE} {RED} {WHITE} {YELLOW} {BOLD}
  125. #  {ITALIC} {UNDERLINE} {STRIKETHROUGH} {STRIKE}
  126. #  {STRIKETHROUGH} {MAGIC} {RESET}
  127.  
  128. votemessage:
  129. - '{GOLD}-----------------------------------------------------'
  130. - 'Vote for PartyhatCraft every day for in game rewards and extras!'
  131. - 'http://minecraft-server-list.com/server/274945/'
  132. - 'http://www.planetminecraft.com/server/partyhatcraft-townysurvival247/'
  133. - 'http://www.minecraft-index.com/31814-partyhatcraft'
  134. - '{GOLD}-----------------------------------------------------'
  135. - '{AQUA}You currently have {GREEN}{votes} Votes'
  136.  
  137. remindmessage:
  138. - '{GOLD}-----------------------------------------------------'
  139. - 'You have not voted recently, please vote to support PartyhatCraft, it really helps!'
  140. - 'http://minecraft-server-list.com/server/274945/'
  141. - 'http://www.planetminecraft.com/server/partyhatcraft-townysurvival247/'
  142. - 'http://www.minecraft-index.com/31814-partyhatcraft'
  143. - '{GOLD}-----------------------------------------------------'
  144. - '{AQUA}You currently have {GREEN}{votes} Votes'
  145.  
  146. joinmessage:
  147. - '{GOLD}-----------------------------------------------------'
  148. - 'Vote for PartyhatCraft every day for diamonds and in-game cash!'
  149. - 'http://minecraft-server-list.com/server/274945/'
  150. - 'http://www.planetminecraft.com/server/partyhatcraft-townysurvival247/'
  151. - 'http://www.minecraft-index.com/31814-partyhatcraft'
  152. - '{GOLD}-----------------------------------------------------'
  153. - '{AQUA}You currently have {GREEN}{votes} Votes'
  154.  
  155. #  Additional formatting codes for below:
  156.  
  157. #  {TOTAL} = vote total - used for /rewards
  158. #  {REWARD} = current rewardmessage as specified in the cumulative reward section - used for /rewards
  159. #  {POSITION} = current rank - used for /votetop
  160. #  {username} = player name - used for /votetop
  161.  
  162. rewardformat: '{GREEN}{TOTAL} Votes {GRAY}- {AQUA}{REWARD}'
  163. votetopformat: '{POSITION}. {GREEN}{username} - {WHITE}{TOTAL}'
  164. rewardheader:
  165. - '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Rewards{WHITE} ] {GOLD}----------------'
  166. votetopheader:
  167. - '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Top Voters{WHITE} ] {GOLD}----------------'
  168. rewardfooter:
  169. - '{AQUA}You currently have {GREEN}{votes} Votes'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement