Advertisement
Guest User

Untitled

a guest
Jan 9th, 2017
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 4.81 KB | None | 0 0
  1. #  GAListener v1.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. #  permvote - Enables the permission voting section, this allows voters to receive different rewards based upon their permissions.
  8. #  broadcastqueue - Show broadcast message for queued votes.
  9. #  broadcastoffline - Show broadcast message for offline queued votes.
  10. #  broadcastrecent - Show broadcast message to recent voters (last 24 hours)
  11. #  votecommand - Enables the /vote command which will show the message contained in the votemessage section at the bottom of the config.
  12. #  rewardcommand - Enables the /rewards command which will show a list of all the cumulative voting rewards.
  13. #  joinmessage - Show the message contained in the joinmessage section at the bottom of this config when a player joins the server.
  14. #  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.
  15. #  remindseconds - How often (in seconds) between each reminder message.
  16. #  logfile - Log received votes to vote.log file.
  17. #  dbMode - Database mode. Use either mysql or sqlite.
  18. #  dbFile - Database filename for SQLite.
  19. #  dbHost - Database IP / Hostname for MySQL.
  20. #  dbPort - Database port for MySQL.
  21. #  dbUser - Database username for MySQL.
  22. #  dbPass - Database password for MySQL.
  23. #  dbName - Database name for MySQL.
  24. #  dbPrefix - Database table prefix.
  25.  
  26. settings{
  27. onlineonly: true
  28. permvote: false
  29. broadcastqueue: true
  30. broadcastrecent: true
  31. broadcastoffline: false
  32. votecommand: true
  33. rewardcommand: false
  34. joinmessage: true
  35. voteremind: false
  36. remindseconds: 300
  37. logfile: false
  38. dbMode: 'sqlite'
  39. dbFile: 'GAL.db'
  40. dbHost: 'localhost'
  41. dbPort: 3306
  42. dbUser: 'root'
  43. dbPass: ''
  44. dbName: 'GAL'
  45. dbPrefix: ''
  46. }
  47.  
  48. #  services section (default is used if service doesn't exist)
  49. #  The example below would give 5 diamonds per vote.
  50.  
  51.   default{
  52.         broadcast: '<GREEN><username> <GOLD>has voted "@" <GREEN><service> <GOLD>and received <GREEN>5 Diamonds"!"'
  53.         playermessage: '<GREEN>Thanks for voting at <AQUA><service>"!"'
  54.         commands:
  55.        [
  56.         "/give <username> 264 5"
  57.         ]
  58.     }
  59.  
  60. #  permission reward section
  61. #  This example would give players with the permission node "gal.double" 10 Diamonds instead of their regular reward.
  62.  
  63. perms{
  64.   double{
  65.     broadcast: '<GREEN><username> <GOLD>has voted "@" <GREEN><service> <GOLD>and received <GREEN>10 Diamonds"!"'
  66.     playermessage: '<GREEN>Thanks for voting at <AQUA><service>"!"'
  67.     commands:
  68.     [
  69.         "/give <username> 264 10"
  70.     ]
  71.     }
  72. }
  73.  
  74. #  Available formatting codes for messages:
  75.  
  76. #  <service> {servicename} <service> = service name
  77. #  <username> {player} {name} = player username
  78. #  <votes> = current vote total
  79. #  & = Colour Symbol to enter manual colours / control codes
  80. #  <AQUA> <BLACK> <BLUE> <DARK_AQUA> <DARK_BLUE>
  81. #  <DARK_GRAY> <DARK_GREEN> <DARK_PURPLE> <DARK_RED> <GOLD>
  82. #  <GRAY> <GREEN> <LIGHT_PURPLE> <RED> <WHITE> <YELLOW> <BOLD>
  83. #  <ITALIC> <UNDERLINE> <STRIKETHROUGH> <STRIKE>
  84. #  <STRIKETHROUGH> <MAGIC> <RESET>
  85.  
  86. votemessage{
  87.     [
  88.     "<GOLD>-----------------------------------------------------",
  89.     "Vote for us every day for in game rewards and extras",
  90.     "<GOLD>-----------------------------------------------------",
  91.     "<AQUA>You currently have <GREEN><votes> Votes"
  92.     ]
  93. }
  94. remindmessage{
  95.     [
  96.     "<GOLD>-----------------------------------------------------",
  97.     "You have not voted recently, please vote to support the server",
  98.     "<GOLD>-----------------------------------------------------",
  99.     "<AQUA>You currently have <GREEN><votes> Votes"
  100.     ]
  101. }
  102. joinmessage{
  103.     [
  104.     "<GOLD>-----------------------------------------------------",
  105.     "Vote for us every day for in game rewards and extras",
  106.     "<GOLD>-----------------------------------------------------",
  107.     "<AQUA>You currently have <GREEN><votes> Votes"
  108.     ]
  109. }
  110. #  Additional formatting codes for below:
  111.  
  112. #  <TOTAL> = vote total - used for /rewards
  113. #  <REWARD> = current rewardmessage as specified in the cumulative reward section - used for /rewards
  114. #  <POSITION> = current rank - used for /votetop
  115. #  <username> = player name - used for /votetop
  116.  
  117. rewardformat{ '<GREEN><TOTAL> Votes <GRAY>- <AQUA><REWARD>'}
  118. votetopformat{ '<POSITION>. <GREEN><username> - <WHITE><TOTAL>'}
  119. rewardheader{
  120.     [
  121.     "<GOLD>---------------- <WHITE>( <DARK_AQUA>Rewards<WHITE> ) <GOLD>----------------"
  122.     ]
  123. }
  124. votetopheader{
  125.     [
  126.     "<GOLD>---------------- <WHITE>( <DARK_AQUA>Top Voters<WHITE> ) <GOLD>----------------"
  127.     ]
  128. }
  129. rewardfooter{
  130.     [
  131.     "<AQUA>You currently have <GREEN><votes> Votes"
  132.     ]
  133. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement