Advertisement
chris_61

Untitled

Sep 16th, 2014
336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 11.94 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: true
  31.   luckyvote: true
  32.   permvote: false
  33.   cumulative: true
  34.   broadcastqueue: true
  35.   broadcastrecent: true
  36.   broadcastoffline: false
  37.   votecommand: true
  38.   rewardcommand: true
  39.   joinmessage: true
  40.   voteremind: true
  41.   remindseconds: 1440
  42.   ratelimit: 1
  43.   logfile: false
  44.   dbMode: 'mysql'
  45.   dbFile: 'GAL.db'
  46.   dbHost: 'localhost'
  47.   dbPort: 3306
  48.   dbUser: 'xxx'
  49.   dbPass: 'xxx'
  50.   dbName: 'xxx'
  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} and received $25'
  59.     playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
  60.     commands:
  61.     - '/eco give {username} 25'
  62.  
  63. #  luckyvotes section
  64. #  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.
  65.  
  66. luckyvotes:
  67.   '20':
  68.     broadcast: '{GREEN}{username} {GOLD}was lucky and received an {GREEN}extra $1000!'
  69.     playermessage: '{GREEN}You were lucky and received an extra $1000!'
  70.     commands:
  71.    - '/eco give {username} 1000'
  72.   '50':
  73.     broadcast: '{GREEN}{username} {GOLD}was super lucky and received {GREEN}64 XP Bottles'
  74.     playermessage: '{GREEN}You were super lucky and received an {GREEN}64 XP Bottles'
  75.     commands:
  76.    - '/give {username} 384 64'
  77.   '1000':
  78.     broadcast: '{GREEN}{username} {GOLD}was super lucky and received a {GREEN} Protection IV Enchanting Book'
  79.     playermessage: '{GREEN}You were super lucky and received a {GREEN}Protection IV Enchanting Book'
  80.     commands:
  81.    - '/give {username} 403 1'
  82.   '100':
  83.     broadcast: '{GREEN}{username} {GOLD}was super lucky and received a {GREEN}Sharpness V Enchanting Book'
  84.     playermessage: '{GREEN}You were super lucky and received a {GREEN}Sharpness V Enchanting Book'
  85.     commands:
  86.    - '/give {username} 384 64'
  87.   '2000':
  88.     broadcast: '{GREEN}{username} {GOLD}was super lucky and received a {GREEN}Protection IV Diamond Set'
  89.     playermessage: '{GREEN}You were super lucky and received a {GREEN}Protection IV Diamond Set'
  90.     commands:
  91.    - '/give {username} 310 1 protection:iv name:&6Rare_Loot'
  92.     - '/give {username} 311 1 protection:iv name:&6Rare_Loot'
  93.     - '/give {username} 312 1 protection:iv name:&6Rare_Loot'
  94.     - '/give {username} 313 1 protection:iv name:&6Rare_Loot'
  95.   '5000':
  96.     broadcast: '{GREEN}{username} {GOLD}was super lucky and received an {GREEN}extra $100,000!'
  97.     playermessage: '{GREEN}You were super lucky and received an {GREEN} extra 100,000'
  98.     commands:
  99.    - '/eco give {username} 100000'
  100.   '100000':
  101.     broadcast: '{GREEN}{username} {GOLD}was super lucky and received {GREEN}God Loot'
  102.     playermessage: '{GREEN}You were super lucky and received a {GREEN}God Loot'
  103.     commands:
  104.    - '/kit godtools {username}'
  105.     - '/kit godsword {username}'
  106.     - '/kit godbow {username}'
  107.     - '/kit godarmour {username}'
  108.  
  109. #  permission reward section
  110. #  This example would give players with the permission node "gal.double" 10 Diamonds instead of their regular reward.
  111.  
  112. perms:
  113.   double:
  114.     broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}10 Diamonds!'
  115.     playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
  116.     commands:
  117.     - '/give {username} 264 10'
  118.  
  119. #  cumulative reward section
  120. #  This example would give players 20 Diamonds once they have reached a total of 10 votes.
  121.  
  122. cumulative:
  123.   '10':
  124.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}10 times {GOLD}and received {GREEN}3 Diamonds!'
  125.     playermessage: '{GREEN}Thanks for voting {AQUA}10 times!'
  126.     rewardmessage: '3x Diamond'
  127.     commands:
  128.     - '/give {username} 264 3'
  129.   '25':
  130.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}20 times {GOLD}and received {GREEN}10 Diamonds!'
  131.     playermessage: '{GREEN}Thanks for voting {AQUA}25 times!'
  132.     rewardmessage: '10x Diamond'
  133.     commands:
  134.     - '/give {username} 264 10'
  135.   '50':
  136.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}50 times {GOLD}and received {GREEN}25 Diamonds!'
  137.     playermessage: '{GREEN}Thanks for voting {AQUA}50 times!'
  138.     rewardmessage: '25 Diamonds'
  139.     commands:
  140.     - '/give {username} 264 25'
  141.   '100':
  142.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}10 times {GOLD}and received {GREEN}full diamond gear, sword and a pickaxe !'
  143.     playermessage: '{GREEN}Thanks for voting {AQUA}100 times!'
  144.     rewardmessage: 'Full diamond gear, a diamond sword, and a diamond pickaxe'
  145.     commands:
  146.     - '/give {username} 310 1'
  147.     - '/give {username} 311 1'
  148.     - '/give {username} 312 1'
  149.     - '/give {username} 313 1'
  150.     - '/give {username} 276 1'
  151.     - '/give {username} 278 1'
  152.   '125':
  153.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}125 times {GOLD}and received {GREEN}50 Diamonds!'
  154.     playermessage: '{GREEN}Thanks for voting {AQUA}125 times!'
  155.     rewardmessage: '50 Diamonds'
  156.     commands:
  157.     - '/give {username} 264 50'
  158.   '150':
  159.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}150 times {GOLD}and received {GREEN}75 Diamonds!'
  160.     playermessage: '{GREEN}Thanks for voting {AQUA}150 times!'
  161.     rewardmessage: '75 Diamonds'
  162.     commands:
  163.     - '/give {username} 264 75'
  164.   '175':
  165.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}175 times {GOLD}and received {GREEN}100 Diamonds!'
  166.     playermessage: '{GREEN}Thanks for voting {AQUA}175 times!'
  167.     rewardmessage: '100 Diamonds'
  168.     commands:
  169.     - '/give {username} 264 100'
  170.   '200':
  171.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}200 times {GOLD}and received {GREEN}125 Diamonds!'
  172.     playermessage: '{GREEN}Thanks for voting {AQUA}200 times!'
  173.     rewardmessage: '125 Diamonds'
  174.     commands:
  175.     - '/give {username} 264 125'
  176.   '225':
  177.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}225 times {GOLD}and received {GREEN}5 emeralds and $500'
  178.     playermessage: '{GREEN}Thanks for voting {AQUA}225 times!'
  179.     rewardmessage: '5 emeralds, $500'
  180.     commands:
  181.     - '/give {username} 338 5'
  182.     - '/eco give {username} 500'
  183.   '250':
  184.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}250 times {GOLD}and received {GREEN}10 Emeralds!'
  185.     playermessage: '{GREEN}Thanks for voting {AQUA}250 times!'
  186.     rewardmessage: '10 emeralds'
  187.     commands:
  188.     - '/give {username} 338 10'
  189.   '300':
  190.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}300 times {GOLD}and received {GREEN}15 emeralds and $1000!'
  191.     playermessage: '{GREEN}Thanks for voting {AQUA}300 times!'
  192.     rewardmessage: '15 emeralds, $1000'
  193.     commands:
  194.     - '/give {username} 264 25'
  195.     - '/eco give {username} 1000'
  196.   '350':
  197.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}350 times {GOLD}and received {GREEN}15 emeralds and 64 diamonds!'
  198.     playermessage: '{GREEN}Thanks for voting {AQUA}350 times!'
  199.     rewardmessage: '15 emeralds, 64 diamonds'
  200.     commands:
  201.     - '/give {username} 264 64'
  202.     - '/give {username} 338 15'
  203.   '400':
  204.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}400 times {GOLD}and received {GREEN}32 emeralds, 96 diamonds and $500!'
  205.     playermessage: '{GREEN}Thanks for voting {AQUA}400 times!'
  206.     rewardmessage: '32 emeralds, 96 diamonds, $500'
  207.     commands:
  208.     - '/give {username} 338 32'
  209.     - '/give {username} 264 96'
  210.     - '/eco give {username} 500'
  211.   '500':
  212.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}500 times {GOLD}and received {GREEN}64 emeralds and $1000!'
  213.     playermessage: '{GREEN}Thanks for voting {AQUA}500 times!'
  214.     rewardmessage: '64 emeralds, $1000'
  215.     commands:
  216.     - '/give {username} 338 64'
  217.     - '/eco give {username} 1000'
  218.  
  219. #  blocked - a list of worlds where rewards should be disabled, they will remain queued until the player is in an allowed world.
  220.  
  221. blocked:
  222. - world_blocked
  223.  
  224. #  Available formatting codes for messages:
  225.  
  226. #  {service} {servicename} {SERVICE} = service name
  227. #  {username} {player} {name} = player username
  228. #  {votes} = current vote total
  229. #  & = Colour Symbol to enter manual colours / control codes
  230. #  {AQUA} {BLACK} {BLUE} {DARK_AQUA} {DARK_BLUE}
  231. #  {DARK_GRAY} {DARK_GREEN} {DARK_PURPLE} {DARK_RED} {GOLD}
  232. #  {GRAY} {GREEN} {LIGHT_PURPLE} {RED} {WHITE} {YELLOW} {BOLD}
  233. #  {ITALIC} {UNDERLINE} {STRIKETHROUGH} {STRIKE}
  234. #  {STRIKETHROUGH} {MAGIC} {RESET}
  235.  
  236. votemessage:
  237. - '{GOLD}-----------------------------------------------------'
  238. - '     Vote for us every day for in game rewards and extras'
  239. - '    Vote at mcbuffalo.com/pages/vote for awesome rewards'
  240. - '{GOLD}-----------------------------------------------------'
  241. - '{AQUA}You currently have {GREEN}{votes} Votes'
  242.  
  243. remindmessage:
  244. - '{GOLD}-----------------------------------------------------'
  245. - 'You have not voted recently, please vote to support the server'
  246. - '{GOLD}-----------------------------------------------------'
  247. - '{AQUA}You currently have {GREEN}{votes} Votes'
  248.  
  249. joinmessage:
  250. - '{GOLD}-----------------------------------------------------'
  251. - 'Vote for us every day for in game rewards and extras'
  252. - '{GOLD}-----------------------------------------------------'
  253. - '{AQUA}You currently have {GREEN}{votes} Votes'
  254.  
  255. #  Additional formatting codes for below:
  256.  
  257. #  {TOTAL} = vote total - used for /rewards
  258. #  {REWARD} = current rewardmessage as specified in the cumulative reward section - used for /rewards
  259. #  {POSITION} = current rank - used for /votetop
  260. #  {username} = player name - used for /votetop
  261.  
  262. rewardformat: '{GREEN}{TOTAL} Votes {GRAY}- {AQUA}{REWARD}'
  263. votetopformat: '{POSITION}. {GREEN}{username} - {WHITE}{TOTAL}'
  264. rewardheader:
  265. - '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Rewards{WHITE} ] {GOLD}----------------'
  266. votetopheader:
  267. - '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Top Voters{WHITE} ] {GOLD}----------------'
  268. rewardfooter:
  269. - '{AQUA}You currently have {GREEN}{votes} Votes'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement