Jabber666

GAListener example config customisation

Dec 27th, 2017
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 15.58 KB | None | 0 0
  1. #PIPER SURVIVAL GALISTENER CONFIG
  2. #  GAListener v1.3.1
  3. #  settings section
  4. #  onlineonly - Only delivers rewards when the player is online.  If they are offline it will wait and deliver when they next join the server!
  5. #  luckyvote - Enables the lucky voting section, this allows voters to have a random chance to receive additional rewards when they vote.
  6. #  permvote - Enables the permission voting section, this allows voters to receive different rewards based upon their permissions.
  7. #  cumulative - Enables the cumulative voting section, this allows voters to receive rewards once they have reached a certain number of votes.
  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. #  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.
  17. #  logfile - Log received votes to vote.log file.
  18. #  dbMode - Database mode. Use either mysql or sqlite.
  19. #  dbFile - Database filename for SQLite.
  20. #  dbHost - Database IP / Hostname for MySQL.
  21. #  dbPort - Database port for MySQL.
  22. #  dbUser - Database username for MySQL.
  23. #  dbPass - Database password for MySQL.
  24. #  dbName - Database name for MySQL.
  25. #  dbPrefix - Database table prefix.
  26.  
  27. settings:
  28.   onlineonly: true
  29.   luckyvote: true
  30.   permvote: false
  31.   cumulative: false
  32.   broadcastqueue: true
  33.   broadcastrecent: true
  34.   broadcastoffline: false
  35.   votecommand: true
  36.   rewardcommand: false
  37.   joinmessage: false
  38.   voteremind: false
  39.   remindseconds: 300
  40.   ratelimit: 10
  41.   logfile: true
  42.   dbMode: 'sqlite'
  43.   dbFile: 'GAL.db'
  44.   dbHost: 'localhost'
  45.   dbPort: 3306
  46.   dbUser: 'root'
  47.   dbPass: ''
  48.   dbName: 'GAL'
  49.   dbPrefix: ''
  50.  
  51. #  services section (default is used if service doesn't exist)
  52. #  The example below would give 5 diamonds per vote.
  53. #
  54. #minecraft-mp
  55. #topminecraftservers
  56. #minecraftservers100
  57. #minecraft-index
  58. #planetminecraft
  59. services:
  60.   default:
  61.     broadcast: |
  62.        {WHITE}{username} just voted!
  63.     playermessage: |
  64.        {RED}Thank you! + 2h {WHITE}/rankup time
  65.         {RED}+1{WHITE} chance of items.
  66.         {RED}+12500{WHITE} pet exp. {RED}+125000{WHITE}G.
  67.     commands:
  68.    - '/c forcecast {username} TX9'
  69.     - '/petadmin exp {username} 12500 add'
  70.     - '/ar add {username} 2h'
  71.     - '/eco give {username} 125000'
  72.   minecraftservers100:
  73.     broadcast: '{WHITE}{username} has voted @ {LIGHT_PURPLE}Minecraft Servers 100'
  74.     playermessage: |
  75.        {LIGHT_PURPLE}Thank you!
  76.         {LIGHT_PURPLE}+1{WHITE} chance of items.
  77.         {LIGHT_PURPLE}+12500{WHITE} pet exp.
  78.     commands:
  79.     - '/petadmin exp {username} 12500 add'
  80.     - '/c forcecast {username} TX9'
  81.     - '/eco give {username} 25000'
  82.   minecraft-index:
  83.     broadcast: '{WHITE}{username} has voted @ {GOLD}Minecraft Index'
  84.     playermessage: |
  85.        {GOLD}Thank you!
  86.         {GOLD}+1 {WHITE}Chance of items.
  87.         {GOLD}+15000{WHITE} pet exp.
  88.     commands:
  89.     - '/petadmin exp {username} 15000 add'
  90.     - '/c forcecast {username} TX9'
  91.     - '/eco give {username} 25000'
  92.   topg:
  93.     broadcast: '{WHITE}{username} has voted @ {GRAY}Top G'
  94.     playermessage: |
  95.        {GRAY}+ 17500 {WHITE}pet exp.
  96.         {GRAY}+ 1 {WHITE}Chance of Magic Items and or Lucky Votes.
  97.     commands:
  98.     - '/petadmin exp {username} 17500 add'
  99.     - '/c forcecast {username} TX9'
  100.     - '/eco give {username} 25000'
  101.   MC-Index:
  102.     broadcast: '{WHITE}{username} has voted @ {DARK_RED}MC Index'
  103.     playermessage: |
  104.        {DARK_RED}+ 15000 {WHITE}pet exp.
  105.         {DARK_RED}+ 1 {WHITE}Chance of Magic Items and or Lucky Votes.
  106.     commands:
  107.     - '/petadmin exp {username} 15000 add'
  108.     - '/c forcecast {username} TX9'
  109.     - '/eco give {username} 25000'
  110.   MineStatus:
  111.     broadcast: '{WHITE}{username} has voted @ {DARK_AQUA}Minestatus'
  112.     playermessage: |
  113.        {DARK_AQUA}+ 20000 {WHITE}pet exp.
  114.         {DARK_AQUA}+ 1 {WHITE}Chance of Magic Items and or Lucky Votes.
  115.     commands:
  116.     - '/petadmin exp {username} 20000 add'
  117.     - '/c forcecast {username} TX9'
  118.     - '/eco give {username} 25000'
  119.   planetminecraft:
  120.     broadcast: '{WHITE}{username} has voted @ {DARK_GREEN}Planet Minecraft'
  121.     playermessage: |
  122.        {DARK_GREEN}+ 10000 {WHITE}pet exp. Spell cooldows {DARK_GREEN}reset{WHITE}!
  123.         {DARK_GREEN}+ 1 {WHITE}Chance of Magic Items and or Lucky Votes.
  124.     commands:
  125.     - '/petadmin exp {username} 10000 add'
  126.     - '/c resetcd {username}'
  127.     - '/c forcecast {username} TX9'
  128.     - '/eco give {username} 25000'
  129.   Minecraft-Server-List:
  130.     broadcast: '{WHITE}{username} {RED}has voted @ {BLUE}Minecraft Server List.'
  131.     playermessage: |
  132.        {BLUE}+ 15000 {WHITE}pet exp.
  133.         {BLUE}+ 1 {WHITE}Chance of Magic Items and or Lucky Votes.
  134.     commands:
  135.     - '/petadmin exp {username} 15000 add'
  136.     - '/c forcecast {username} TX9'
  137.     - '/eco give {username} 25000'
  138.   minecraft-mp:
  139.     broadcast: '{WHITE}{username} has voted @ {GREEN}Minecraft MP'
  140.     playermessage: |
  141.        {GREEN}+ 15000 {WHITE}pet exp.
  142.         {GREEN}+ 1 {WHITE}Chance of Magic Items and or Lucky Votes.
  143.     commands:
  144.     - '/petadmin exp {username} 15000 add'
  145.     - '/c forcecast {username} TX9'
  146.     - '/eco give {username} 25000'
  147.   topminecraftservers:
  148.     broadcast: '{WHITE}{username} {RED}has voted @ {AQUA}Top Minecraft Servers'
  149.     playermessage: |
  150.        {AQUA}+ 15000 {WHITE}pet exp.
  151.         {AQUA}+ 1 {WHITE}Beacon + Chance of Magic Items and or Lucky Votes.
  152.     commands:
  153.     - '/mcrefresh {username}'
  154.     - '/petadmin exp {username} 15000 add'
  155.     - '/give {username} 138 1'
  156.     - '/c forcecast {username} TX9'
  157.     - '/eco give {username} 25000'
  158.   MinecraftServers:
  159.     broadcast: '{WHITE}{username} has voted @ {BLUE}minecraftservers.org'
  160.     playermessage: |
  161.        {BLUE}+ 15000 {WHITE}pet exp. {BLUE}+ 2 hours {WHITE}/rankup time
  162.         {BLUE}+ Chances of Magic Items and or Lucky Votes.
  163.         {BLUE}+ 1 {WHITE}Chance of Magic Items and or Lucky Votes.
  164.     commands:
  165.     - '/petadmin exp {username} 15000 add'
  166.     - '/c forcecast {username} TX9'
  167.     - '/eco give {username} 25000'
  168. #  luckyvotes section
  169. #  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.
  170.  
  171. luckyvotes:
  172.   '58':
  173.     broadcast: '{username} {WHITE}Did a lucky vote{RED} (1/58) {WHITE}and received a {RED}Zombie Spawner.'
  174.     commands:
  175.    - '/ss give {username} zombie 1'
  176.   '59':
  177.     broadcast: '{username} {WHITE}Did a lucky vote{RED} (1/59) {WHITE}and received a {RED}Skeleton Spawner.'
  178.     commands:
  179.    - '/ss give {username} skeleton 1'
  180.   '60':
  181.     broadcast: '{username} {WHITE}Did a lucky vote{RED} (1/60) {WHITE}and received a {RED}Spider Spawner.'
  182.     commands:
  183.    - '/ss give {username} spider 1'
  184.   '61':
  185.     broadcast: '{username} {WHITE}Did a lucky vote{RED} (1/61) {WHITE}and received 2 {RED}Cave Spider Spawners.'
  186.     commands:
  187.    - '/ss give {username} cave_spider 2'
  188.   '62':
  189.     broadcast: '{username} {WHITE}Did a lucky vote{RED} (1/62) {WHITE}and received a {RED}Creeper Spawner.'
  190.     commands:
  191.    - '/ss give {username} creeper 1'
  192.   '63':
  193.     broadcast: '{username} {WHITE}Did a lucky vote{RED} (1/63) {WHITE}and received a {RED}Blaze Spawner.'
  194.     commands:
  195.    - '/ss give {username} blaze 1'
  196.   '64':
  197.     broadcast: '{username} {WHITE}Did a lucky vote{RED} (1/64) {WHITE}and received a {RED}Witch Spawner.'
  198.     commands:
  199.    - '/ss give {username} witch 1'
  200.   '65':
  201.     broadcast: '{username} {WHITE}Did a lucky vote{RED} (1/65) {WHITE}and received a {RED}Squid Spawner.'
  202.     commands:
  203.    - '/ss give {username} squid 1'
  204.   '66':
  205.     broadcast: '{username} {WHITE}Did a lucky vote{RED} (1/66) {WHITE}and received a {RED}Sheep Spawner.'
  206.     commands:
  207.    - '/ss give {username} sheep 1'
  208.   '67':
  209.     broadcast: '{username} {WHITE}Did a lucky vote{RED} (1/67) {WHITE}and received a {RED}Cow Spawner.'
  210.     commands:
  211.    - '/ss give {username} cow 1'
  212.   '68':
  213.     broadcast: '{username} {WHITE}Did a lucky vote{RED} (1/68) {WHITE}and received a {RED}Rabbit Spawner.'
  214.     commands:
  215.    - '/ss give {username} rabbit 1'
  216.   '69':
  217.     broadcast: '{username} {WHITE}Did a lucky vote{RED} (1/69) {WHITE}and received a {RED}Mushroom Cow Spawner.'
  218.     commands:
  219.    - '/ss give {username} mooshroom 1'
  220.   '70':
  221.     broadcast: '{username} {WHITE}Did a lucky vote{RED} (1/70) {WHITE}and received a {RED}Skeleton Spawner.'
  222.     commands:
  223.    - '/ss give {username} skeleton 1'
  224.   '71':
  225.     broadcast: '{username} {WHITE}Did a lucky vote{RED} (1/71) {WHITE}and received a {RED}Chicken Spawner.'
  226.     commands:
  227.    - '/ss give {username} chicken 1'
  228.   '79':
  229.     broadcast: '{username} {WHITE}Did a lucky vote{RED} (1/71) {WHITE}and received an {RED}Enderman Spawner.'
  230.     commands:
  231.    - '/ss give {username} enderman 1'
  232.   '80':
  233.     broadcast: '{username} {WHITE}Did a lucky vote{RED} (1/80) {WHITE}and received an {RED}Endermite Spawner.'
  234.     commands:
  235.    - '/ss give {username} endermite 1'
  236.   '90':
  237.     broadcast: '{username} {WHITE}Did a lucky vote{RED} (1/90) {WHITE}and received a {RED}Spells Cooldown Reset.'
  238.     commands:
  239.    - '/c resetcd {username}'
  240.   '91':
  241.     broadcast: '{username} {WHITE}Did a lucky vote{RED} (1/91) {WHITE}and received {RED}10000 Pet Exp'
  242.     commands:
  243.    - '/petadmin exp {username} 10000 add'
  244.   '92':
  245.     broadcast: '{username} {WHITE}Did a lucky vote{RED} (1/92) {WHITE}and received a {RED}Llama Spawner.'
  246.     commands:
  247.    - '/ss give {username} llama 1'
  248.   '93':
  249.     broadcast: '{username} {WHITE}Did a lucky vote{RED} (1/93) {WHITE}and received {RED}15000 Pet Exp.'
  250.     commands:
  251.    - '/petadmin exp {username} 15000 add'
  252.   '94':
  253.     broadcast: '{username} {WHITE}Did a lucky vote{RED} (1/94) {WHITE}and received {RED}20000 Pet Exp'
  254.     commands:
  255.    - '/petadmin exp {username} 20000 add'
  256.   '95':
  257.     broadcast: '{username} {WHITE}Did a very lucky vote{RED} (1/95) {WHITE}and received a {RED}Polar Bear Spawner.'
  258.     commands:
  259.    - '/ss give {username} polarbear 1'
  260.   '96':
  261.     broadcast: '{username} {WHITE}Did a very lucky vote{RED} (1/96) {WHITE}and received an {RED}Iron Golem Spawner.'
  262.     commands:
  263.    - '/ss give {username} irongolem 1'
  264.   '97':
  265.     broadcast: '{username} {WHITE}Did a very lucky vote{RED} (1/97) {WHITE}and received a {RED}Shulker Spawner.'
  266.     commands:
  267.    - '/ss give {username} shulker 1'
  268.   '98':
  269.     broadcast: '{username} {WHITE}Did a very lucky vote{RED} (1/98) {WHITE}and received a {RED}Guardian Spawner.'
  270.     commands:
  271.    - '/ss give {username} guardian 1'
  272.   '99':
  273.     broadcast: '{username} {WHITE}Did a really lucky vote{RED} (1/99) {WHITE}and received a {RED}Villager Spawner!!!'
  274.     commands:
  275.    - '/ss give {username} villager 1'
  276. #  cumulative reward section
  277. #  This example would give players 20 Diamonds once they have reached a total of 10 votes.
  278. cumulative:
  279.   '10':
  280.     playermessage: '{WHITE}You voted {RED}10{WHITE} times! {RED}+ 2 {WHITE}hours rank up time. {RED}+ 25000 G'
  281.     commands:
  282.    - 'ar add {username} 2h'
  283.     - 'eco give {username} 25000'
  284.   '20':
  285.     playermessage: '{WHITE}You voted {RED}20{WHITE} times! {RED}+ 4 {WHITE}hours rank up time. {RED}+ 50000 G'
  286.     commands:
  287.    - 'ar add {username} 4h'
  288.     - 'eco give {username} 50000'
  289.   '30':
  290.     playermessage: '{WHITE}You voted {RED}30{WHITE} times! {RED}+ 6 {WHITE}hours rank up time. {RED}+ 75000 G'
  291.     commands:
  292.    - 'ar add {username} 6h'
  293.     - 'eco give {username} 75000'
  294.   '40':
  295.     playermessage: '{WHITE}You voted {RED}40{WHITE} times! {RED}+ 8 {WHITE}hours rank up time. {RED}+ 100000 G'
  296.     commands:
  297.    - 'ar add {username} 8h'
  298.     - 'eco give {username} 100000'
  299.   '50':
  300.     playermessage: '{WHITE}You voted {RED}50{WHITE} times! {RED}+ 10 {WHITE}hours rank up time. {RED}+ 125000 G'
  301.     commands:
  302.    - 'ar add {username} 10h'
  303.     - 'eco give {username} 125000'
  304.   '100':
  305.     playermessage: '{WHITE}You voted {RED}10{WHITE} times! {RED}+ 12 {WHITE}hours rank up time. {RED}+ 1.5 Million G'
  306.     commands:
  307.    - 'ar add {username} 12h'
  308.     - 'eco give {username} 1500000'
  309.     - '/jobs promote {username} Staff 10'
  310. blocked: []
  311.  
  312. #  Available formatting codes for messages:
  313.  
  314. #  {service} {servicename} {SERVICE} = service name
  315. #  {username} {player} {name} = player username
  316. #  {votes} = current vote total
  317. #  & = Colour Symbol to enter manual colours / control codes
  318. #  {AQUA} {BLACK} {BLUE} {DARK_AQUA} {DARK_BLUE}
  319. #  {DARK_GRAY} {DARK_GREEN} {DARK_PURPLE} {DARK_RED} {GOLD}
  320. #  {GRAY} {GREEN} {LIGHT_PURPLE} {RED} {WHITE} {YELLOW} {BOLD}
  321. #  {ITALIC} {UNDERLINE} {STRIKETHROUGH} {STRIKE}
  322. #  {STRIKETHROUGH} {MAGIC} {RESET}
  323.  
  324.  
  325. votemessage:
  326. - ' {YELLOW}{RED}You currently have {YELLOW}{BOLD}{votes}{RESET}{RED} Votes. {YELLOW}/Votetop'
  327. - ' {YELLOW}{DARK_RED}https://minecraftlist.org/server/7918'
  328. - ' {GOLD}{GOLD}http://topg.org/server-piper-id469836'
  329. - ' {RED}{YELLOW}http://minecraft-mp.com/server-s182354'
  330. - ' {DARK_RED}{YELLOW}https://topminecraftservers.org/server/2675'
  331. - ' {RED}{GOLD}RiP minestatus.net'
  332. - ' {GOLD}{RED}https://www.minecraft-index.com/32223-piper-survival'
  333. - ' {YELLOW}{DARK_RED}https://tinyurl.com/ycek24xj (PMC)'
  334. - ' {YELLOW}{DARK_RED}http://minecraft-server-list.com/server/377849'
  335. remindmessage:
  336. - 'Hi, {username} doing /vote helps us get more players. ;) '
  337. - '{RED}You currently have {WHITE}{votes} Votes'
  338.  
  339. joinmessage:
  340. - '{LIGHT_PURPLE} Hi, {username}You currently have {WHITE}{votes} {LIGHT_PURPLE}Votes'
  341.  
  342. #  Additional formatting codes for below:
  343.  
  344. #  {TOTAL} = vote total - used for /rewards
  345. #  {REWARD} = current rewardmessage as specified in the cumulative reward section - used for /rewards
  346. #  {POSITION} = current rank - used for /votetop
  347. #  {username} = player name - used for /votetop
  348. # {DARK_GREEN}a{DARK_PURPLE}l{DARK_RED}l {GOLD}J{GREEN}o{RED}b{LIGHT_PURPLE}s{YELLOW}!
  349. # {YELLOW}S{YELLOW}t{GOLD}a{GOLD}f{RED}f{RED} J{DARK_RED}o{DARK_RED}b
  350.  
  351. rewardformat: '{DARK_RED}{TOTAL} {RED}Votes {GRAY}- {RED}{REWARD}'
  352. votetopformat: '{GOLD}{BOLD}{POSITION}{DARK_RED}{RED}{BOLD}{username}{DARK_RED}{GOLD}{BOLD}{BOLD}{TOTAL}'
  353. rewardheader: '{RED}---------------- {WHITE}[ {WHITE}Rewards{WHITE} ] {RED}----------------'
  354. rewardsmessage:
  355. - '{REWARD}{YELLOW}Votes give mostly jobs, mcmmo skills and items.'
  356. - '{REWARD}{GOLD}Some votes are lucky and give a spawner or other.'
  357. - '{REWARD}{RED}At votes total you also get bonus {WHITE}/rankup{RED} time.'
  358. - '{REWARD}{DARK_RED}{username} you have {votes}'
  359. votetopheader:
  360. - '{DARK_RED}{RED}{GOLD}{YELLOW}{GOLD}{RED}{DARK_RED}{RED}{GOLD}{YELLOW}{GOLD}{RED}{DARK_RED}{RED}{GOLD}{YELLOW}{GOLD}{RED}{DARK_RED}{BOLD}{YELLOW}{BOLD}{ITALIC}Top Voters{RESET} {DARK_RED}{BOLD}{RESET}{RED}{GOLD}{YELLOW}{GOLD}{RED}{DARK_RED}{RED}{GOLD}{YELLOW}{GOLD}{RED}{DARK_RED}{RED}{GOLD}{YELLOW}{GOLD}{RED}{DARK_RED}▪'
  361. rewardfooter:
  362. - '{RED}You currently have {WHITE}{votes} Votes'
Add Comment
Please, Sign In to add comment