Advertisement
Guest User

Untitled

a guest
Feb 21st, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 7.90 KB | None | 0 0
  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: true
  32.   permvote: true
  33.   cumulative: true
  34.   broadcastqueue: false
  35.   broadcastrecent: false
  36.   broadcastoffline: false
  37.   votecommand: true
  38.   rewardcommand: true
  39.   joinmessage: true
  40.   voteremind: true
  41.   remindseconds: 600
  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: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}1 Diamond!'
  59.     playermessage: '{GREEN}Thanks for voting at {AQUA}{service}! ({PINK}We luv you :3)'
  60.     commands:
  61.     - '/give {username} 264 1'
  62.     - '/crates give {PLAYER} 1'
  63.   MC-Index:
  64.     broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}MC-Index.com {GOLD}and received {GREEN}1 Diamond!'
  65.     playermessage: '{GREEN}Thanks for voting at {AQUA}{service}! ({PINK}We luv you :3)'
  66.     commands:
  67.     - '/give {username} 264 1'
  68.     - '/crates give {PLAYER} 1'
  69.  
  70. #  luckyvotes section
  71. #  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.
  72.  
  73. luckyvotes:
  74.   '10':
  75.     broadcast: '{GREEN}{username} {GOLD}was lucky and received an {GREEN}extra $1!'
  76.     playermessage: '{GREEN}You were lucky and received an extra $1!'
  77.     commands:
  78.    - '/eco give {username} 1'
  79.     - '/crates give {PLAYER} 1'
  80.   '50':
  81.     broadcast: '{GREEN}{username} {GOLD}was super lucky and received an {GREEN}extra 100 XP and $10!'
  82.     playermessage: '{GREEN}You were super lucky and received an {GREEN}extra 100 XP and $10!'
  83.     commands:
  84.    - '/xp give {username} 100'
  85.     - '/eco give {username} 10'
  86.     - '/crates give {PLAYER} 3'
  87.  
  88. #  permission reward section
  89. #  This example would give players with the permission node "gal.double" 10 Diamonds instead of their regular reward.
  90.  
  91. perms:
  92.   double:
  93.     broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}2 Diamonds!'
  94.     playermessage: '{GREEN}Thanks for voting at {AQUA}{service}! ({PINK}We luv you :3)'
  95.     commands:
  96.     - '/give {username} 264 2'
  97.     - '/crates give {PLAYER} 2'
  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.   '8':
  104.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}8 times {GOLD}and received {GREEN}20 Diamonds!'
  105.     playermessage: '{GREEN}Thanks for voting {AQUA}8 times!'
  106.     rewardmessage: '20x Diamond'
  107.     commands:
  108.     - '/give {username} 264 20'
  109.   '20':
  110.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}20 times {GOLD}and unlocked {GREEN} the double voting node'
  111.     playermessage: '{GREEN}Thanks for voting {AQUA}20 times!'
  112.     rewardmessage: 'double voting node'
  113.     commands:
  114.     - '/pex user {username} add gal.double'
  115.   '40':
  116.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}40 times! {GOLD}and received {GREEN}a spawner crate key and $200!'
  117.     playermessage: '{GREEN}Thanks for voting {AQUA}40 times!'
  118.     rewardmessage: '1x spawner crate key and $200'
  119.     commands:
  120.     - '/eco give {username} 200'
  121.   '80':
  122.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}40 times! {GOLD}and received {GREEN}two spawner crate keys and $400!'
  123.     playermessage: '{GREEN}Thanks for voting {AQUA}80 times!'
  124.     rewardmessage: '2x spawner crate key and $400'
  125.     commands:
  126.     - '/eco give {username} 400'
  127.  
  128. #  blocked - a list of worlds where rewards should be disabled, they will remain queued until the player is in an allowed world.
  129.  
  130. blocked:
  131. - world_blocked
  132.  
  133. #  Available formatting codes for messages:
  134.  
  135. #  {service} {servicename} {SERVICE} = service name
  136. #  {username} {player} {name} = player username
  137. #  {votes} = current vote total
  138. #  & = Colour Symbol to enter manual colours / control codes
  139. #  {AQUA} {BLACK} {BLUE} {DARK_AQUA} {DARK_BLUE}
  140. #  {DARK_GRAY} {DARK_GREEN} {DARK_PURPLE} {DARK_RED} {GOLD}
  141. #  {GRAY} {GREEN} {LIGHT_PURPLE} {RED} {WHITE} {YELLOW} {BOLD}
  142. #  {ITALIC} {UNDERLINE} {STRIKETHROUGH} {STRIKE}
  143. #  {STRIKETHROUGH} {MAGIC} {RESET}
  144.  
  145. votemessage:
  146. - '{GOLD}-----------------------------------------------------'
  147. - 'Vote for us every day for in game rewards and extras'
  148. - '(Vote1): {GOLD} https://goo.gl/DXxIsi '
  149. - '(Vote2): {GOLD} https://goo.gl/TRE2wQ '
  150. - '(Vote3): {GOLD} https://goo.gl/W7PfHx '
  151. - '(Vote4): {GOLD} https://goo.gl/9nHCTu '
  152. - '{GOLD}-----------------------------------------------------'
  153. - '{AQUA}You currently have {GREEN}{votes} Votes'
  154.  
  155. remindmessage:
  156. - '{GOLD}-----------------------------------------------------'
  157. - 'You have not voted recently , voting greatly helps the sever'
  158. - '{GOLD}-----------------------------------------------------'
  159. - '{AQUA}You currently have {GREEN}{votes} Votes'
  160.  
  161. joinmessage:
  162. - '{GOLD}-----------------------------------------------------'
  163. - 'Vote for {GOLD} The lost village {RESET} every day for in game rewards and to support the server'
  164. - '{GOLD}-----------------------------------------------------'
  165. - '{AQUA}You currently have {GREEN}{votes} Votes'
  166.  
  167. #  Additional formatting codes for below:
  168.  
  169. #  {TOTAL} = vote total - used for /rewards
  170. #  {REWARD} = current rewardmessage as specified in the cumulative reward section - used for /rewards
  171. #  {POSITION} = current rank - used for /votetop
  172. #  {username} = player name - used for /votetop
  173.  
  174. rewardformat: '{GREEN}{TOTAL} Votes {GRAY}- {AQUA}{REWARD}'
  175. votetopformat: '{POSITION}. {GREEN}{username} - {WHITE}{TOTAL}'
  176. rewardheader:
  177. - '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Rewards{WHITE} ] {GOLD}----------------'
  178. votetopheader:
  179. - '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Top Voters{WHITE} ] {GOLD}----------------'
  180. rewardfooter:
  181. - '{AQUA}You currently have {GREEN}{votes} Votes'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement