Advertisement
Guest User

GA Listener config

a guest
Dec 25th, 2014
367
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 11.24 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: false
  34.   broadcastqueue: false
  35.   broadcastrecent: false
  36.   broadcastoffline: false
  37.   votecommand: true
  38.   rewardcommand: true
  39.   joinmessage: true
  40.   voteremind: false
  41.   remindseconds: 2400
  42.   ratelimit: 6
  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 @ {GREEN}{service} {GOLD}and received {GREEN}5 Diamonds!'
  59.     playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
  60.     commands:
  61.     - '/give {username} 4440 6'
  62.     - '/eco give {username} 100'
  63.     - '/give {username} 4135 3'
  64.  
  65.  
  66. #  luckyvotes section
  67. #  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.
  68.  
  69. luckyvotes:
  70.   '10':
  71.     broadcast: '{GREEN}{username} {GOLD}was lucky and received an {GREEN}extra $300 and 100XP and 5 diamonds and rare candy and a ultra ball!'
  72.     playermessage: '{GREEN}You were lucky and received an extra $300, and 100 xp, and diamonds and rare candy and a ultra ball!!'
  73.     commands:
  74.    - '/eco give {username} 300'
  75.     - '/xp give {username} 100'
  76.     - '/give {username} 264 5'
  77.     - '/give {username} 4135 1'
  78.     - '/give {username} 4440 1'
  79.   '50':
  80.     broadcast: '{GREEN}{username} {GOLD}was super lucky and received an {GREEN}extra 500$ and 200XP and 10 diamonds and 5 rare candies and 3 ultra balls!'
  81.     playermessage: '{GREEN}You were super lucky and received an {GREEN}extra 500$ and 200XP and 10 diamonds and 5 rare candies and 3 ultra balls!'
  82.     commands:
  83.    - '/eco give {username} 500'
  84.     - '/xp give {username} 200'
  85.     - '/give {username} 264 10'
  86.     - '/give {username} 4135 3'
  87.     - '/give {username} 4440 5'
  88.   '100':
  89.     broadcast: '{GREEN}{username} {GOLD}was super duper lucky and received an {GREEN}extra 800$ and 300XP and 15 diamonds and 10 rare candies and 6 ultra balls!'
  90.     playermessage: '{GREEN}You were super duper lucky and received an {GREEN}extra 800$ and 300XP and 15 diamonds and 10 rare candies and 6 ultra balls!'
  91.     - '/eco give {username} 800'
  92.     - '/xp give {username} 300'
  93.     - '/give {username} 264 15'
  94.     - '/give {username} 4440 10'
  95.     - '/give {username} 4135 5'
  96.   '150':
  97.     broadcast: '{GREEN}{username} {GOLD}was super duper duper lucky and received an {GREEN}extra 1100$ and 400XP and 20 diamonds and 15 rare candies and 9 ultra balls!'
  98.     playermessage: '{GREEN}You were super duper duper lucky and received an {GREEN}extra 1100$ and 400XP and 20 diamonds and 15 rare candies and 9 ultra balls!'
  99.     - '/eco give {username} 1100'
  100.     - '/xp give {username} 400'
  101.     - '/give {username} 264 20'
  102.     - '/give {username} 4440 15'
  103.     - '/give {username} 4135 9'
  104.   '200':
  105.     broadcast: '{GREEN}{username} {GOLD}was super duper duper extra lucky and received an {GREEN}extra 1400$ and 500XP and 25 diamonds and 20 rare candies and 12 ultra balls AND A SHINY VULPIX OMG!'
  106.     playermessage: '{GREEN}You were super duper duper extra lucky and received an {GREEN}extra 1400$ and 500XP and 25 diamonds and 20 rare candies and 12 ultra balls AND A SHINY VULPIX OMG!'
  107.     - '/eco give {username} 1400'
  108.     - '/xp give {username} 500'
  109.     - '/give {username} 264 25'
  110.     - '/give {username} 4440 20'
  111.     - '/pokegive {username} vulpix S lvl 10'
  112.   '250':
  113.     broadcast: '{GREEN}{username} {GOLD}was super duper duper extra uber lucky and received an {GREEN}extra 1700$ and 600XP and 25 diamonds and 20 rare candies and 15 ultra balls AND A SHINY Eevee OMG YES REWARD!!'
  114.     playermessage: '{GREEN}You were super duper duper extra uber lucky and received an {GREEN}extra 1700$ and 600XP and 25 diamonds and 20 rare candies and 15 ultra balls AND A SHINY Eevee OMG YES REWARD!!'
  115.     - '/eco give {username} 1700'
  116.     - '/xp give {username} 600'
  117.     - '/give {username} 264 25'
  118.     - '/give {username} 4440 25'
  119.     - '/pokegive {username} Eevee S lvl 10'
  120.   '300':
  121.     broadcast: '{GREEN}{username} {GOLD}was super duper duper extra uber UBER lucky and received an {GREEN}extra 1200$ and 700XP and 25 diamonds and 20 rare candies and 18 ultra balls AND A SHINY Ditto OMG YES REWARD<3!!'
  122.     playermessage: '{GREEN}You were super duper duper extra uber UBER lucky and received an {GREEN}extra 1700$ and 600XP and 25 diamonds and 20 rare candies and 18 ultra balls AND A SHINY Ditto OMG YES REWARD<3!!'
  123.     - '/eco give {username} 2000'
  124.     - '/xp give {username} 700'
  125.     - '/give {username} 264 30'
  126.     - '/give {username} 4440 30'
  127.     - '/pokegive {username} Ditto S lvl 10'
  128.  
  129. #  permission reward section
  130. #  This example would give players with the permission node "gal.double" 10 Diamonds instead of their regular reward.
  131.  
  132. perms:
  133.   double:
  134.     broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}10 Diamonds!'
  135.     playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
  136.     commands:
  137.     - '/give {username} 264 10'
  138.  
  139. #  cumulative reward section
  140. #  This example would give players 20 Diamonds once they have reached a total of 10 votes.
  141.  
  142. cumulative:
  143.   '10':
  144.     broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}10 times {GOLD}and received {GREEN}20 Diamonds!'
  145.     playermessage: '{GREEN}Thanks for voting {AQUA}10 times!'
  146.     rewardmessage: '20x Diamond'
  147.     commands:
  148.     - '/give {username} 264 20'
  149.  
  150. #  blocked - a list of worlds where rewards should be disabled, they will remain queued until the player is in an allowed world.
  151.  
  152. blocked:
  153. - world_adventure3
  154.  
  155. #  Available formatting codes for messages:
  156.  
  157. #  {service} {servicename} {SERVICE} = service name
  158. #  {username} {player} {name} = player username
  159. #  {votes} = current vote total
  160. #  & = Colour Symbol to enter manual colours / control codes
  161. #  {AQUA} {BLACK} {BLUE} {DARK_AQUA} {DARK_BLUE}
  162. #  {DARK_GRAY} {DARK_GREEN} {DARK_PURPLE} {DARK_RED} {GOLD}
  163. #  {GRAY} {GREEN} {LIGHT_PURPLE} {RED} {WHITE} {YELLOW} {BOLD}
  164. #  {ITALIC} {UNDERLINE} {STRIKETHROUGH} {STRIKE}
  165. #  {STRIKETHROUGH} {MAGIC} {RESET}
  166.  
  167. votemessage:
  168. - '{GOLD}-----------------------------------------------------'
  169. - 'Vote daily, each vote rewards you with: Rare candies,diamonds, xp, money!'
  170. - 'https://pixelmonlist.com/server/MewsPixelmonAdventures/'
  171. - 'http://www.planetminecraft.com/server/mewspixelmonadventure/'
  172. - 'http://minecraftservers.org/server/186756'
  173. - 'http://pixelmonservers.com/server/2676/view/209-148-93-28-25721'
  174. - 'http://mineservers.com/server/31305/view/209-148-93-28-25721'
  175. - 'http://tekkitserverlist.com/server/24810/view/209-148-93-28-25721'
  176. - 'http://minecraft-mp.com/server-s66594'
  177. - 'https://minestatus.net/125914-mewspixelmonadventure'
  178. - 'http://www.mineservers.net/servers/3428-mewspixelmonadventure'
  179. - '{GOLD}-----------------------------------------------------'
  180. - '{AQUA}You currently have {GREEN}{votes} Votes'
  181.  
  182. remindmessage:
  183. - '{GOLD}-----------------------------------------------------'
  184. - 'You have not voted recently, please vote to support the server'
  185. - 'https://pixelmonlist.com/server/MewsPixelmonAdventures/'
  186. - 'http://www.planetminecraft.com/server/mewspixelmonadventure/'
  187. - 'http://minecraftservers.org/server/186756'
  188. - 'http://pixelmonservers.com/server/2676/view/209-148-93-28-25721'
  189. - 'http://mineservers.com/server/31305/view/209-148-93-28-25721'
  190. - 'http://tekkitserverlist.com/server/24810/view/209-148-93-28-25721'
  191. - 'http://minecraft-mp.com/server-s66594'
  192. - 'https://minestatus.net/125914-mewspixelmonadventure'
  193. - 'http://www.mineservers.net/servers/3428-mewspixelmonadventure'
  194. - '{GOLD}-----------------------------------------------------'
  195. - '{AQUA}You currently have {GREEN}{votes} Votes'
  196.  
  197. joinmessage:
  198. - '{GOLD}-----------------------------------------------------'
  199. - 'Vote for us every day for in game rewards and extras'
  200. - 'https://pixelmonlist.com/server/MewsPixelmonAdventures/'
  201. - 'http://www.planetminecraft.com/server/mewspixelmonadventure/'
  202. - 'http://minecraftservers.org/server/186756'
  203. - 'http://pixelmonservers.com/server/2676/view/209-148-93-28-25721'
  204. - 'http://mineservers.com/server/31305/view/209-148-93-28-25721'
  205. - 'http://tekkitserverlist.com/server/24810/view/209-148-93-28-25721'
  206. - 'http://minecraft-mp.com/server-s66594'
  207. - 'https://minestatus.net/125914-mewspixelmonadventure'
  208. - 'http://www.mineservers.net/servers/3428-mewspixelmonadventure'
  209. - '{GOLD}-----------------------------------------------------'
  210. - '{AQUA}You currently have {GREEN}{votes} Votes'
  211.  
  212. #  Additional formatting codes for below:
  213.  
  214. #  {TOTAL} = vote total - used for /rewards
  215. #  {REWARD} = current rewardmessage as specified in the cumulative reward section - used for /rewards
  216. #  {POSITION} = current rank - used for /votetop
  217. #  {username} = player name - used for /votetop
  218.  
  219. rewardformat: '{GREEN}{TOTAL} Votes {GRAY}- {AQUA}{REWARD}'
  220. votetopformat: '{POSITION}. {GREEN}{username} - {WHITE}{TOTAL}'
  221. rewardheader:
  222. - '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Rewards{WHITE} ] {GOLD}----------------'
  223. votetopheader:
  224. - '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Top Voters{WHITE} ] {GOLD}----------------'
  225. rewardfooter:
  226. - '{AQUA}You currently have {GREEN}{votes} Votes'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement