Advertisement
Guest User

Config, GAListener

a guest
Aug 12th, 2016
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.63 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: false
  33. cumulative: true
  34. broadcastqueue: true
  35. broadcastrecent: true
  36. broadcastoffline: false
  37. votecommand: true
  38. rewardcommand: false
  39. joinmessage: true
  40. voteremind: ture
  41. remindseconds: 500
  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: '{DARK_GRAY}Thank You {AQUA}{username} {DARK_GRAY}for voting on CustomKraft!'
  59. playermessage: '{DARK_GRAY}Thanks for voting on CustomKraft'
  60. commands:
  61. - '/cr givekey {username} Vote 1'
  62. - '/eco give {username} 5000'
  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. '10':
  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 an {GREEN}extra 100 XP and $1000!'
  74. playermessage: '{GREEN}You were super lucky and received an {GREEN}extra 100 XP and $1000!'
  75. commands:
  76. - '/xp give {username} 100'
  77. - '/eco give {username} 1000'
  78.  
  79. # permission reward section
  80. # This example would give players with the permission node "gal.double" 10 Diamonds instead of their regular reward.
  81.  
  82. perms:
  83. Double:
  84. Broadcast: '{DARK_GRAY}Thank You {AQUA}{username} {DARK_GRAY}for voting on CustomKraft!'
  85. playermessage: '{GRAY}Thanks for voting on CustomKraft'
  86. commands:
  87. - '/cr givekey {username} Vote 2'
  88. - '/eco give {username} 10000'
  89.  
  90. # cumulative reward section
  91. # This example would give players 20 Diamonds once they have reached a total of 10 votes.
  92.  
  93. cumulative:
  94. '8':
  95. broadcast: '{AQUA}{username} {DARK_GRAY}Voted {AQUA}8 Times Enjoy {GREEN}$100,000!'
  96. playermessage: '{DARK_GRAY}Thanks for voting {AQUA}8 times!'
  97. rewardmessage: '$100,000'
  98. commands:
  99. - '/eco give {username} 100000'
  100. '16':
  101. broadcast: '{AQUA}{username} {DARK_GRAY}Voted {AQUA}16 Times Enjoy {GREEN}4 CreeperEggs!'
  102. playermessage: '{DARK_GRAY}Thanks for voting {AQUA}16 times!'
  103. rewardmessage: '4 CreeperEggs'
  104. commands:
  105. - '/give {username} Creeperegg 4'
  106. '32':
  107. broadcast: '{AQUA}{username} {DARK_GRAY}Voted {AQUA}32 Times Enjoy {GREEN}2 Epic Keys!'
  108. playermessage: '{DARK_GRAY}Thanks for voting {AQUA}32 times!'
  109. rewardmessage: '2 Epic Keys'
  110. commands:
  111. - '/cr givekey {Username} Epic 2'
  112. '48':
  113. broadcast: '{AQUA}{username} {DARK_GRAY}Voted {AQUA}48 Times Enjoy {GREEN}3 Cow Spawners!'
  114. playermessage: '{DARK_GRAY}Thanks for voting {AQUA}48 times!'
  115. rewardmessage: '3 Cow Spawners'
  116. commands:
  117. - '/ss give {username} cow 3'
  118. '64':
  119. broadcast: '{AQUA}{username} {DARK_GRAY}Voted {AQUA}64 Times Enjoy {GREEN}Kit Titan!'
  120. playermessage: '{DARK_GRAY}Thanks for voting {AQUA}64 times!'
  121. rewardmessage: 'Kit Titan'
  122. commands:
  123. - '/kit titan {username}'
  124. '80':
  125. broadcast: '{AQUA}{username} {DARK_GRAY}Voted {AQUA}80 Times Enjoy {GREEN}$500,000!'
  126. playermessage: '{DARK_GRAY}Thanks for voting {AQUA}80 times!'
  127. rewardmessage: '$500,000'
  128. commands:
  129. - '/eco give {username} 500000'
  130. '96':
  131. broadcast: '{AQUA}{username} {DARK_GRAY}Voted {AQUA}96 Times Enjoy {GREEN}2 Zombie Spanwers!'
  132. playermessage: '{DARK_GRAY}Thanks for voting {AQUA}96 times!'
  133. rewardmessage: '2 Zombie Spawners'
  134. commands:
  135. - '/ss give {username} zombie 2'
  136. '112':
  137. broadcast: '{AQUA}{username} {DARK_GRAY}Voted {AQUA}112 Times Enjoy {GREEN}64 Super Golden Apples!'
  138. playermessage: '{DARK_GRAY}Thanks for voting {AQUA}112 times!'
  139. rewardmessage: '64 Super Golden Apples'
  140. commands:
  141. - '/give {username} goldenapple:1 64'
  142. '128':
  143. broadcast: '{AQUA}{username} {DARK_GRAY}Voted {AQUA}128 Times Enjoy {GREEN}1 Legendary key!'
  144. playermessage: '{DARK_GRAY}Thanks for voting {AQUA}128 times!'
  145. rewardmessage: '1 Legendary key'
  146. commands:
  147. - '/cr givekey {username} legendary 1'
  148. '144':
  149. broadcast: '{AQUA}{username} {DARK_GRAY}Voted {AQUA}144 Times Enjoy {GREEN}$1,000,000!'
  150. playermessage: '{DARK_GRAY}Thanks for voting {AQUA}144 times!'
  151. rewardmessage: '$5,000,000'
  152. commands:
  153. - '/eco give {username} 5000000'
  154. '176':
  155. broadcast: '{AQUA}{username} {DARK_GRAY}Voted {AQUA}176 Times Enjoy {GREEN}2 ZombiePigmen Spanwers!'
  156. playermessage: '{DARK_GRAY}Thanks for voting {AQUA}176 times!'
  157. rewardmessage: '2 Zombiepigmen Spanwers'
  158. commands:
  159. - '/ss give {username} zombiepigman 2'
  160. '192':
  161. broadcast: '{AQUA}{username} {DARK_GRAY}Voted {AQUA}192 Times Enjoy {GREEN}$2,000,000!'
  162. playermessage: '{DARK_GRAY}Thanks for voting {AQUA}192 times!'
  163. rewardmessage: '$2,000,000'
  164. commands:
  165. - '/eco give {username} 10000000'
  166. '208':
  167. broadcast: '{AQUA}{username} {DARK_GRAY}Voted {AQUA}208 Times Enjoy {GREEN}3 Iron Golem Spanwers!'
  168. playermessage: '{DARK_GRAY}Thanks for voting {AQUA}208 times!'
  169. rewardmessage: '3 Iron Golem Spawners'
  170. commands:
  171. - '/ss give {username} ig 3'
  172.  
  173. # blocked - a list of worlds where rewards should be disabled, they will remain queued until the player is in an allowed world.
  174.  
  175. blocked:
  176. - world_blocked
  177.  
  178. # Available formatting codes for messages:
  179.  
  180. # {service} {servicename} {SERVICE} = service name
  181. # {username} {player} {name} = player username
  182. # {votes} = current vote total
  183. # & = Colour Symbol to enter manual colours / control codes
  184. # {AQUA} {BLACK} {BLUE} {DARK_AQUA} {DARK_BLUE}
  185. # {DARK_GRAY} {DARK_GREEN} {DARK_PURPLE} {DARK_RED} {GOLD}
  186. # {GRAY} {GREEN} {LIGHT_PURPLE} {RED} {WHITE} {YELLOW} {BOLD}
  187. # {ITALIC} {UNDERLINE} {STRIKETHROUGH} {STRIKE}
  188. # {STRIKETHROUGH} {MAGIC} {RESET}
  189.  
  190. votemessage:
  191. - '{DARK_GRAY}--------------{AQUA}Voting Reward{DARK_GRAY}---------------'
  192. - '{GRAY}- {AQUA}$5000'
  193. - '{GRAY}- {AQUA}1 Voting Crate Key'
  194. - '{DARK_GRAY}------------{AQUA}Cumulative Rewards{DARK_GRAY}------------'
  195. - '{GRAY}- {AQUA}8 Votes {GRAY}-> {RED}$100,000'
  196. - '{GRAY}- {AQUA}16 Votes {GRAY}-> {RED}4 Creeper Eggs'
  197. - '{GRAY}- {AQUA}32 Votes {GRAY}-> {RED}2 Epic Keys'
  198. - '{GRAY}- {AQUA}48 Votes {GRAY}-> {RED}3 Cow Spawners'
  199. - '{GRAY}- {AQUA}64 Votes {GRAY}-> {RED}Kit Titan'
  200. - '{GRAY}- {AQUA}80 Votes {GRAY}-> {RED}$500,000'
  201. - '{GRAY}- {AQUA}96 Votes {GRAY}-> {RED}2 Zombie Spawners'
  202. - '{GRAY}- {AQUA}112 Votes {GRAY}-> {RED}64 OP Golden Apples'
  203. - '{GRAY}- {AQUA}128 Votes {GRAY}-> {RED}1 Legendary Key'
  204. - '{GRAY}- {AQUA}144 Votes {GRAY}-> {RED}$5,000,000'
  205. - '{GRAY}- {AQUA}176 Votes {GRAY}-> {RED}2 ZombiePigMan Spawners'
  206. - '{GRAY}- {AQUA}196 Votes {GRAY}-> {RED}$10,000,000'
  207. - '{GRAY}- {AQUA}208 Votes {GRAY}-> {RED}3 IronGolem Spawners'
  208. - '{GRAY}- {AQUA}Top 3 Voters {GRAY}-> {RED}Get Credits For Our Shop!'
  209. - '{DARK_GRAY}---------------{AQUA}Voting Link{DARK_GRAY}----------------'
  210. - '{GRAY}-> {AQUA}website-customkraft.enjin.com/vote{GRAY} <- {GREEN}{BOLD}Left Click'
  211. - '{DARK_GRAY}---------------{AQUA}Your Votes{DARK_GRAY}-----------------'
  212. - '{GRAY}- {RED}You currently have {AQUA}{votes} {RED}Votes'
  213.  
  214. remindmessage:
  215. - '{DARK_GRAY}------------------------------------------'
  216. - '{GRAY}- {RED}Vote For Our Server To Get Crazy Rewards!'
  217. - '{GRAY}- {RED}Voting Promotes Our Server To Get New Players!'
  218. - '{DARK_GRAY}---------------{AQUA}Your Votes{DARK_GRAY}-----------------'
  219. - '{GRAY}- {RED}You currently have {AQUA}{votes} {RED}Votes'
  220. joinmessage:
  221. - '{DARK_GRAY}--------------{AQUA}Voting Reward{DARK_GRAY}---------------'
  222. - '{GRAY}- {AQUA}$5000'
  223. - '{GRAY}- {AQUA}1 Voting Crate Key'
  224. - '{DARK_GRAY}------------{AQUA}Cumulative Rewards{DARK_GRAY}------------'
  225. - '{GRAY}- {AQUA}8 Votes {GRAY}-> {RED}$100,000'
  226. - '{GRAY}- {AQUA}16 Votes {GRAY}-> {RED}4 Creeper Eggs'
  227. - '{GRAY}- {AQUA}32 Votes {GRAY}-> {RED}2 Epic Keys'
  228. - '{GRAY}- {AQUA}48 Votes {GRAY}-> {RED}3 Cow Spawners'
  229. - '{GRAY}- {AQUA}64 Votes {GRAY}-> {RED}Kit Titan'
  230. - '{GRAY}- {AQUA}80 Votes {GRAY}-> {RED}$500,000'
  231. - '{GRAY}- {AQUA}96 Votes {GRAY}-> {RED}2 Zombie Spawners'
  232. - '{GRAY}- {AQUA}112 Votes {GRAY}-> {RED}64 OP Golden Apples'
  233. - '{GRAY}- {AQUA}128 Votes {GRAY}-> {RED}1 Legendary Key'
  234. - '{GRAY}- {AQUA}144 Votes {GRAY}-> {RED}$5,000,000'
  235. - '{GRAY}- {AQUA}176 Votes {GRAY}-> {RED}2 ZombiePigMan Spawners'
  236. - '{GRAY}- {AQUA}196 Votes {GRAY}-> {RED}$10,000,000'
  237. - '{GRAY}- {AQUA}208 Votes {GRAY}-> {RED}3 IronGolem Spawners'
  238. - '{GRAY}- {AQUA}Top 3 Voters {GRAY}-> {RED}Get Credits For Our Shop!'
  239. - '{DARK_GRAY}---------------{AQUA}Voting Link{DARK_GRAY}----------------'
  240. - '{GRAY}-> {AQUA}website-customkraft.enjin.com/vote {GRAY}<- {GREEN}{BOLD}Left Click'
  241. - '{DARK_GRAY}---------------{AQUA}Your Votes{DARK_GRAY}-----------------'
  242. - '{GRAY}- {RED}You currently have {AQUA}{votes} {RED}Votes'
  243.  
  244. # Additional formatting codes for below:
  245.  
  246. # {TOTAL} = vote total - used for /rewards
  247. # {REWARD} = current rewardmessage as specified in the cumulative reward section - used for /rewards
  248. # {POSITION} = current rank - used for /votetop
  249. # {username} = player name - used for /votetop
  250.  
  251. rewardformat: '{GREEN}{TOTAL} Votes {GRAY}- {AQUA}{REWARD}'
  252. votetopformat: '{POSITION}. {GREEN}{username} - {WHITE}{TOTAL}'
  253. rewardheader:
  254. - '{GOLD}-------- {WHITE}[ {DARK_AQUA}Rewards{WHITE} ] {GOLD}--------'
  255. votetopheader:
  256. - '{GOLD}-------- {WHITE}[ {DARK_AQUA}Top Voters{WHITE} ] {GOLD}--------'
  257. rewardfooter:
  258. - '{AQUA}You currently have {GREEN}{votes} Votes'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement