Advertisement
Valtrion

GaListener Updated <3

Dec 23rd, 2017
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 8.29 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: true
  33.   cumulative: false
  34.   broadcastqueue: true
  35.   broadcastrecent: true
  36.   broadcastoffline: false
  37.   votecommand: true
  38.   rewardcommand: false
  39.   joinmessage: true
  40.   voteremind: false
  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} {WHITE}Heeft gevoted via {GREEN}{service}{WHITE}! - #GG'
  59.     playermessage: '{WHITE}Dankje voor het {GREEN}voten{WHITE}!'
  60.     commands:
  61.     - '/crate key {username} vote 1'
  62.     - '/xp give {username} 20'
  63.   MC-Index:
  64.     broadcast: '{GREEN}{username} {WHITE}Heeft gevoted via {GREEN}{service}{WHITE}! - #GG'
  65.     playermessage: '{WHITE}Dankje voor het {GREEN}voten{WHITE}!'
  66.     commands:
  67.     - '/crate key {username} vote 1'
  68.     - '/xp give {username} 20'
  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} {WHITE}Heeft gevoted en had {GREEN}geluk{WHITE}! - #GG'
  76.     playermessage: '{WHITE}Dankje voor het {GREEN}voten{WHITE}!'
  77.     commands:
  78.     - '/crate key {username} vote 1'
  79.     - '/xp give {username} 100'
  80.   '50':
  81.     broadcast: '{GREEN}{username} {WHITE}Heeft gevoted en had {GREEN}geluk{WHITE}! - #GG'
  82.     playermessage: '{WHITE}Dankje voor het {GREEN}voten{WHITE}!'
  83.     commands:
  84.     - '/crate key {username} donator 1'
  85.     - '/xp give {username} 50'
  86.  
  87. #  permission reward section
  88. #  This example would give players with the permission node "gal.double" 10 Diamonds instead of their regular reward.
  89.  
  90. perms:
  91.   donator:
  92.     broadcast: '{GREEN}{username} {WHITE}Heeft gevoted via {GREEN}{service}{WHITE}! - #GG'
  93.     playermessage: '{WHITE}Dankje voor het {GREEN}voten{WHITE}!'
  94.     commands:
  95.     - '/crate key {username} donator 1'
  96.     - '/xp give {username} 100'
  97.   pixer:
  98.     broadcast: '{GREEN}{username} {WHITE}Heeft gevoted via {GREEN}{service}{WHITE}! - #GG'
  99.     playermessage: '{WHITE}Dankje voor het {GREEN}voten{WHITE}!'
  100.     commands:
  101.     - '/crate key {username} pixer 1'
  102.     - '/xp give {username} 125'
  103.   snow:
  104.     broadcast: '{GREEN}{username} {WHITE}Heeft gevoted via {GREEN}{service}{WHITE}! - #GG'
  105.     playermessage: '{WHITE}Dankje voor het {GREEN}voten{WHITE}!'
  106.     commands:
  107.     - '/crate key {username} snow 1'
  108.     - '/xp give {username} 150'
  109.   legend:
  110.     broadcast: '{GREEN}{username} {WHITE}Heeft gevoted via {GREEN}{service}{WHITE}! - #GG'
  111.     playermessage: '{WHITE}Dankje voor het {GREEN}voten{WHITE}!'
  112.     commands:
  113.     - '/crate key {username} legend 1'
  114.     - '/xp give {username} 175'
  115.   titan:
  116.     broadcast: '{GREEN}{username} {WHITE}Heeft gevoted via {GREEN}{service}{WHITE}! - #GG'
  117.     playermessage: '{WHITE}Dankje voor het {GREEN}voten{WHITE}!'
  118.     commands:
  119.     - '/crate key {username} titan 1'
  120.     - '/xp give {username} 200'
  121.   immortal:
  122.     broadcast: '{GREEN}{username} {WHITE}Heeft gevoted via {GREEN}{service}{WHITE}! - #GG'
  123.     playermessage: '{WHITE}Dankje voor het {GREEN}voten{WHITE}!'
  124.     commands:
  125.     - '/crate key {username} immortal 1'
  126.     - '/xp give {username} 210'
  127.   sponsor:
  128.     broadcast: '{GREEN}{username} {WHITE}Heeft gevoted via {GREEN}{service}{WHITE}! - #GG'
  129.     playermessage: '{WHITE}Dankje voor het {GREEN}voten{WHITE}!'
  130.     commands:
  131.     - '/crate key {username} sponsor 1'
  132.     - '/xp give {username} 220'
  133.   creator:
  134.     broadcast: '{GREEN}{username} {WHITE}Heeft gevoted via {GREEN}{service}{WHITE}! - #GG'
  135.     playermessage: '{WHITE}Dankje voor het {GREEN}voten{WHITE}!'
  136.     commands:
  137.     - '/crate key {username} creator 1'
  138.     - '/xp give {username} 230'
  139.   hero:
  140.     broadcast: '{GREEN}{username} {WHITE}Heeft gevoted via {GREEN}{service}{WHITE}! - #GG'
  141.     playermessage: '{WHITE}Dankje voor het {GREEN}voten{WHITE}!'
  142.     commands:
  143.     - '/crate key {username} hero 1'
  144.     - '/xp give {username} 240'
  145.  
  146. #  cumulative reward section
  147. #  This example would give players 20 Diamonds once they have reached a total of 10 votes.
  148.  
  149. cumulative:
  150.   '10':
  151.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}10 times {GOLD}and received {GREEN}20 Diamonds!'
  152.     playermessage: '{GREEN}Thanks for voting {AQUA}10 times!'
  153.     rewardmessage: '20x Diamond'
  154.     commands:
  155.     - '/give {username} 264 20'
  156.  
  157. #  blocked - a list of worlds where rewards should be disabled, they will remain queued until the player is in an allowed world.
  158.  
  159. blocked:
  160. - world_blocked
  161.  
  162. #  Available formatting codes for messages:
  163.  
  164. #  {service} {servicename} {SERVICE} = service name
  165. #  {username} {player} {name} = player username
  166. #  {votes} = current vote total
  167. #  & = Colour Symbol to enter manual colours / control codes
  168. #  {AQUA} {BLACK} {BLUE} {DARK_AQUA} {DARK_BLUE}
  169. #  {DARK_GRAY} {DARK_GREEN} {DARK_PURPLE} {DARK_RED} {GOLD}
  170. #  {GRAY} {GREEN} {LIGHT_PURPLE} {RED} {WHITE} {YELLOW} {BOLD}
  171. #  {ITALIC} {UNDERLINE} {STRIKETHROUGH} {STRIKE}
  172. #  {STRIKETHROUGH} {MAGIC} {RESET}
  173.  
  174. votemessage:
  175. - '{GRAY}&7>>> Vote link: '
  176. - '{GREEN}http://bit.ly/SPvotemc &7<<<'
  177. - '{GRAY}Je hebt nu {GREEN}{votes} {GRAY}votes'
  178. - '{GRAY}{STRIKE}---------------------'
  179.  
  180. remindmessage:
  181. - '{GRAY}Je hebt nu {GREEN}{votes} {GRAY}votes'
  182. - '{GRAY}{STRIKE}---------------------'
  183.  
  184. joinmessage:
  185. - '{GRAY}Je hebt nu {GREEN}{votes} {GRAY}votes'
  186. - '{GRAY}{STRIKE}---------------------'
  187.  
  188. #  Additional formatting codes for below:
  189.  
  190. #  {TOTAL} = vote total - used for /rewards
  191. #  {REWARD} = current rewardmessage as specified in the cumulative reward section - used for /rewards
  192. #  {POSITION} = current rank - used for /votetop
  193. #  {username} = player name - used for /votetop
  194.  
  195. rewardformat: '{GREEN}{TOTAL} Votes {GRAY}- {AQUA}{REWARD}'
  196. votetopformat: '{POSITION}. {GREEN}{username} - {WHITE}{TOTAL}'
  197. rewardheader:
  198. - '{GRAY}Je hebt nu {GREEN}{votes} {GRAY}votes'
  199. - '{GRAY}{STRIKE}---------------------'
  200. votetopheader:
  201. - '{GRAY}Je hebt nu {GREEN}{votes} {GRAY}votes'
  202. - '{GRAY}{STRIKE}---------------------'
  203. rewardfooter:
  204. - '{GRAY}Je hebt nu {GREEN}{votes} {GRAY}votes'
  205. - '{GRAY}{STRIKE}---------------------'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement