Advertisement
Guest User

Untitled

a guest
Jul 31st, 2017
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 9.24 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: false
  32.   permvote: true
  33.   cumulative: true
  34.   broadcastqueue: true
  35.   broadcastrecent: true
  36.   broadcastoffline: true
  37.   votecommand: true
  38.   rewardcommand: false
  39.   joinmessage: true
  40.   voteremind: true
  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: '{GREEN}{username} {GOLD}has voted for &a&lAvantia&2&lMC {GREEN}{service} {GOLD}and received {GREEN}1 Voting Key and $50'
  59.     playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
  60.     commands:
  61.     - '/give {username} 264 5'
  62.   MC-Index:
  63.     broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}MC-Index.com {GOLD}and received {GREEN}1 Voting Key and $50'
  64.     playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
  65.     commands:
  66.     - '/give {username} 264 5'
  67.  
  68. #  luckyvotes section
  69. #  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.
  70.  
  71. luckyvotes:
  72.   '10':
  73.     broadcast: '{GREEN}{username} {GOLD}was lucky and received an {GREEN}extra $1000!'
  74.     playermessage: '{GREEN}You were lucky and received an extra $1000!'
  75.     commands:
  76.    - '/eco give {username} 1000'
  77.   '50':
  78.     broadcast: '{GREEN}{username} {GOLD}was super lucky and received an {GREEN}extra Spellbinding Key!'
  79.     playermessage: ''
  80.     commands:
  81.    - '/cr give {username} spellbinding 1'
  82.  
  83. #  permission reward section
  84. #  This example would give players with the permission node "gal.double" 10 Diamonds instead of their regular reward.
  85.  
  86. perms:
  87.   double:
  88.     broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}10 Diamonds!'
  89.     playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
  90.     commands:
  91.     - '/give {username} 264 10'
  92.  
  93. #  cumulative reward section
  94. #  This example would give players 20 Diamonds once they have reached a total of 10 votes.
  95.  
  96. cumulative:
  97.   '10':
  98.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}10 times {GOLD}and received {GREEN}$1000'
  99.     playermessage: ''
  100.     rewardmessage: '1000'
  101.     commands:
  102.     - '/eco give {username} 1000'
  103.   '20':
  104.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}20 times {GOLD}and received {GREEN}1 Spellbinding Key'
  105.     playermessage: '{GREEN}Thanks for voting {AQUA}10 times!'
  106.     rewardmessage: '1x Spellbinding Key'
  107.     commands:
  108.     - '/cr givekey {username} spellbinding 1'
  109.   '30':
  110.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}30 times {GOLD}and received {GREEN}10 mcMMO Credits'
  111.     playermessage: ''
  112.     rewardmessage: '10 mcMMO Credits'
  113.     commands:
  114.     - '/addcredits {username} 10'
  115.   '40':
  116.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}40 times {GOLD}and received {GREEN}An Elytra!'
  117.     playermessage: ''
  118.     rewardmessage: '1x Elytra'
  119.     commands:
  120.     - '/give {username} elytra 1'
  121.   '50':
  122.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}50 times {GOLD}and received {GREEN}$5000'
  123.     playermessage: ''
  124.     rewardmessage: '$5000'
  125.     commands:
  126.     - '/eco give {username} 5000'
  127.   '60':
  128.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}60 times {GOLD}and received {GREEN}2x Spellbinding Keys'
  129.     playermessage: ''
  130.     rewardmessage: '2x Spellbinding Keys'
  131.     commands:
  132.     - '/cr givekey {username} spellbinding 2'
  133.   '70':
  134.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}70 times {GOLD}and received {GREEN}$7000 and 1 Elytra'
  135.     playermessage: ''
  136.     rewardmessage: '1x Elytra and $7000'
  137.     commands:
  138.     - '/give {username} elytra 1'
  139.     - '/eco give {username} 7000'
  140.   '80':
  141.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}80 times {GOLD}and received {GREEN}1x Mythic Key'
  142.     playermessage: ''
  143.     rewardmessage: '1 Mythic Key'
  144.     commands:
  145.     - '/cr givekey {username} mythic 1'
  146.   '90':
  147.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}10 times {GOLD}and received {GREEN}$10000'
  148.     playermessage: ''
  149.     rewardmessage: '$10000'
  150.     commands:
  151.     - '/eco give {username} 10000'
  152.   '100':
  153.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}010 times {GOLD}and received {GREEN}3x Mythic Key'
  154.     playermessage: ''
  155.     rewardmessage: '3x Mythic Key'
  156.     commands:
  157.     - '/cr givekey {username} mythic 3'
  158.   '110':
  159.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}110 times {GOLD}and received {GREEN}150 mcMMO Credits!'
  160.     playermessage: ''
  161.     rewardmessage: '150 mcMMO Credits'
  162.     commands:
  163.     - '/addcredits {username} 150'
  164.   '120':
  165.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}120 times {GOLD}and received {GREEN}a $10 Store Coupon'
  166.     playermessage: ''
  167.     rewardmessage: '20x Diamond'
  168.     commands:
  169.     - '/mail send {username} Speak to Red to claim your $10 Store Coupon.'
  170.  
  171. #  blocked - a list of worlds where rewards should be disabled, they will remain queued until the player is in an allowed world.
  172.  
  173. blocked:
  174. - world_blocked
  175.  
  176. #  Available formatting codes for messages:
  177.  
  178. #  {service} {servicename} {SERVICE} = service name
  179. #  {username} {player} {name} = player username
  180. #  {votes} = current vote total
  181. #  & = Colour Symbol to enter manual colours / control codes
  182. #  {AQUA} {BLACK} {BLUE} {DARK_AQUA} {DARK_BLUE}
  183. #  {DARK_GRAY} {DARK_GREEN} {DARK_PURPLE} {DARK_RED} {GOLD}
  184. #  {GRAY} {GREEN} {LIGHT_PURPLE} {RED} {WHITE} {YELLOW} {BOLD}
  185. #  {ITALIC} {UNDERLINE} {STRIKETHROUGH} {STRIKE}
  186. #  {STRIKETHROUGH} {MAGIC} {RESET}
  187.  
  188. votemessage:
  189. - '{GOLD}-----------------------------------------------------'
  190. - '&b&oEvery vote gains you 1 Voting Key and $50.'
  191. - '&a&lhttp://www.avantiamc.com/vote'
  192. - '{GOLD}-----------------------------------------------------'
  193. - '{AQUA}You currently have {GREEN}{votes} Votes'
  194.  
  195. remindmessage:
  196. - '{GOLD}-----------------------------------------------------'
  197. - 'You have not voted recently, please vote to support the server'
  198. - '{GOLD}-----------------------------------------------------'
  199. - '{AQUA}You currently have {GREEN}{votes} Votes'
  200.  
  201. joinmessage:
  202. - '{GOLD}-----------------------------------------------------'
  203. - 'Vote for us every day for in game rewards and extras'
  204. - '{GOLD}-----------------------------------------------------'
  205. - '{AQUA}You currently have {GREEN}{votes} Votes'
  206.  
  207. #  Additional formatting codes for below:
  208.  
  209. #  {TOTAL} = vote total - used for /rewards
  210. #  {REWARD} = current rewardmessage as specified in the cumulative reward section - used for /rewards
  211. #  {POSITION} = current rank - used for /votetop
  212. #  {username} = player name - used for /votetop
  213.  
  214. rewardformat: '{GREEN}{TOTAL} Votes {GRAY}- {AQUA}{REWARD}'
  215. votetopformat: '{POSITION}. {GREEN}{username} - {WHITE}{TOTAL}'
  216. rewardheader:
  217. - '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Rewards{WHITE} ] {GOLD}----------------'
  218. votetopheader:
  219. - '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Top Voters{WHITE} ] {GOLD}----------------'
  220. rewardfooter:
  221. - '{AQUA}You currently have {GREEN}{votes} Votes'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement