Configuration
GAListener 1.2 Config Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 | # GAListener v1.2 # http://www.minecraft-index.com # settings section # onlineonly - Only delivers rewards when the player is online. If they are offline it will wait and deliver when they next join the server! # luckyvote - Enables the lucky voting section, this allows voters to have a random chance to receive additional rewards when they vote. # permvote - Enables the permission voting section, this allows voters to receive different rewards based upon their permissions. # cumulative - Enables the cumulative voting section, this allows voters to receive rewards once they have reached a certain number of votes. # broadcastqueue - Show broadcast message for queued votes. # broadcastoffline - Show broadcast message for offline queued votes. # broadcastrecent - Show broadcast message to recent voters (last 24 hours) # votecommand - Enables the /vote command which will show the message contained in the votemessage section at the bottom of the config. # rewardcommand - Enables the /rewards command which will show a list of all the cumulative voting rewards. # joinmessage - Show the message contained in the joinmessage section at the bottom of this config when a player joins the server. # 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. # remindseconds - How often (in seconds) between each reminder message. # logfile - Log received votes to vote.log file. # dbMode - Database mode. Use either mysql or sqlite. # dbFile - Database filename for SQLite. # dbHost - Database IP / Hostname for MySQL. # dbPort - Database port for MySQL. # dbUser - Database username for MySQL. # dbPass - Database password for MySQL. # dbName - Database name for MySQL. # dbPrefix - Database table prefix. settings: onlineonly: true luckyvote: false permvote: false cumulative: false broadcastqueue: true broadcastrecent: true broadcastoffline: false votecommand: true rewardcommand: false joinmessage: true voteremind: false remindseconds: 300 logfile: false dbMode: 'sqlite' dbFile: 'GAL.db' dbHost: 'localhost' dbPort: 3306 dbUser: 'root' dbPass: '' dbName: 'GAL' dbPrefix: '' # services section (default is used if service doesn't exist) # The example below would give 5 diamonds per vote. services: default: broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}5 Diamonds!' playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!' commands: - '/give {username} 264 5' MC-Index: broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}MC-Index.com {GOLD}and received {GREEN}10 Diamonds!' playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!' commands: - '/give {username} 264 5' # luckyvotes section # 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. luckyvotes: '10': broadcast: '{GREEN}{username} {GOLD}was lucky and received an {GREEN}extra $1000!' playermessage: '{GREEN}You were lucky and received an extra $1000!' commands: - '/eco give {username} 1000' '50': broadcast: '{GREEN}{username} {GOLD}was super lucky and received an {GREEN}extra 100 XP and $1000!' playermessage: '{GREEN}You were super lucky and received an {GREEN}extra 100 XP and $1000!' commands: - '/xp give {username} 100' - '/eco give {username} 1000' # permission reward section # This example would give players with the permission node "gal.double" 10 Diamonds instead of their regular reward. perms: double: broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}10 Diamonds!' playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!' commands: - '/give {username} 264 10' # cumulative reward section # This example would give players 20 Diamonds once they have reached a total of 10 votes. cumulative: '10': broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}10 times {GOLD}and received {GREEN}20 Diamonds!' playermessage: '{GREEN}Thanks for voting {AQUA}10 times!' rewardmessage: '20x Diamond' commands: - '/give {username} 264 20' # blocked - a list of worlds where rewards should be disabled, they will remain queued until the player is in an allowed world. blocked: - world_blocked # Available formatting codes for messages: # {service} {servicename} {SERVICE} = service name # {username} {player} {name} = player username # {votes} = current vote total # & = Colour Symbol to enter manual colours / control codes # {AQUA} {BLACK} {BLUE} {DARK_AQUA} {DARK_BLUE} # {DARK_GRAY} {DARK_GREEN} {DARK_PURPLE} {DARK_RED} {GOLD} # {GRAY} {GREEN} {LIGHT_PURPLE} {RED} {WHITE} {YELLOW} {BOLD} # {ITALIC} {UNDERLINE} {STRIKETHROUGH} {STRIKE} # {STRIKETHROUGH} {MAGIC} {RESET} votemessage: - '{GOLD}-----------------------------------------------------' - 'Vote for us every day for in game rewards and extras' - '{GOLD}-----------------------------------------------------' - '{AQUA}You currently have {GREEN}{votes} Votes' remindmessage: - '{GOLD}-----------------------------------------------------' - 'You have not voted recently, please vote to support the server' - '{GOLD}-----------------------------------------------------' - '{AQUA}You currently have {GREEN}{votes} Votes' joinmessage: - '{GOLD}-----------------------------------------------------' - 'Vote for us every day for in game rewards and extras' - '{GOLD}-----------------------------------------------------' - '{AQUA}You currently have {GREEN}{votes} Votes' # Additional formatting codes for below: # {TOTAL} = vote total - used for /rewards # {REWARD} = current rewardmessage as specified in the cumulative reward section - used for /rewards # {POSITION} = current rank - used for /votetop # {username} = player name - used for /votetop rewardformat: '{GREEN}{TOTAL} Votes {GRAY}- {AQUA}{REWARD}' votetopformat: '{POSITION}. {GREEN}{username} - {WHITE}{TOTAL}' rewardheader: - '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Rewards{WHITE} ] {GOLD}----------------' votetopheader: - '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Top Voters{WHITE} ] {GOLD}----------------' rewardfooter: - '{AQUA}You currently have {GREEN}{votes} Votes' |
How would you configure this so it will work for multiple voting websites?
@pyrollamasteak
Voting websites? Any voting site you point towards votifier will automatically set this off. ;)
Updated for the new 1.0 update!
Such great additions, every single one thanks!
Is it possible to use regular Minecraft formatting such as §1Hello
Hi :)
Just wondering if it's possible to give timed rewards? For example, give a person a specific permission for ten minutes or something.
@LizzyTheDJ
If you are using PermissionsEX for the permission then you have to add the following command:
/pex user {username} timed add <permission> <time> [world]
Just make sure to replace
If you want to add it only in a specific world you have to replace [world] with the world. If you don't, just drop the "[world] part so that the command looks like this:
/pex user {username} timed add <permission> <time>
Unfortunately I don't know how it works for other permissions plugins but if you don't have PermissionsEX, just google if timed permissions are possible with your plugin.
I hope I could help you - Mike_x1
This plugin is not working for me. the join message works and /vote but when a user votes there is no reward and no broadcast meesage, also the vote count wont go up.
here is my config PLEASE HELP ME!!!
settings: onlineonly: true luckyvote: false permvote: false cumulative: false broadcastqueue: true broadcastrecent: true broadcastoffline: false votecommand: true rewardcommand: false joinmessage: true voteremind: false remindseconds: 300 ratelimit: 10 logfile: false dbMode: 'sqlite' dbFile: 'GAL.db' dbHost: 'localhost' dbPort: 3306 dbUser: 'root' dbPass: '' dbName: 'GAL' dbPrefix: ''
services: default: broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}5 Diamonds!' playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!' commands: - '/give {username} 264 5' MC-Index: broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}MC-Index.com {GOLD}and received {GREEN}10 Diamonds!' playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!' commands: - '/give {username} 264 5'
luckyvotes: '10': broadcast: '{GREEN}{username} {GOLD}was lucky and received an {GREEN}extra $1000!' playermessage: '{GREEN}You were lucky and received an extra $1000!' commands: - '/eco give {username} 1000' '50': broadcast: '{GREEN}{username} {GOLD}was super lucky and received an {GREEN}extra 100 XP and $1000!' playermessage: '{GREEN}You were super lucky and received an {GREEN}extra 100 XP and $1000!' commands: - '/xp give {username} 100' - '/eco give {username} 1000'
perms: double: broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}10 Diamonds!' playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!' commands: - '/give {username} 264 10'
cumulative: '10': broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}10 times {GOLD}and received {GREEN}20 Diamonds!' playermessage: '{GREEN}Thanks for voting {AQUA}10 times!' rewardmessage: '20x Diamond' commands: - '/give {username} 264 20'
blocked: - world_blocked
votemessage: - '{GOLD}
-----------' - 'Vote for us every day for in game rewards and extrashttp://www.planetminecraft.com/server/survivalmc-2933950/' - '{GOLD}-----------' - '{AQUA}You currently have {GREEN}{votes} Votes'remindmessage: - '{GOLD}
-----------' - 'You have not voted recently, please vote to support the server' - '{GOLD}-----------' - '{AQUA}You currently have {GREEN}{votes} Votes'joinmessage: - '{GOLD}
-----------' - 'Vote for us every day for in game rewards and extras' - '{GOLD}-----------' - '{AQUA}You currently have {GREEN}{votes} Votes'rewardformat: '{GREEN}{TOTAL} Votes {GRAY}- {AQUA}{REWARD}' votetopformat: '{POSITION}. {GREEN}{username} - {WHITE}{TOTAL}' rewardheader: - '{GOLD}
---- {WHITE}[ {DARK_AQUA}Rewards{WHITE} ] {GOLD}----' votetopheader: - '{GOLD}---- {WHITE}[ {DARK_AQUA}Top Voters{WHITE} ] {GOLD}----' rewardfooter: - '{AQUA}You currently have {GREEN}{votes} Votes'also here are my server plugins
Buycraft.jar Update Delete Clearlag.jar Update Delete CreeperControl.jar Update Delete DeepVanish.jar Update Delete Essentials.jar Update Delete EssentialsAntiBuild.jar Update Delete EssentialsChat.jar Update Delete EssentialsGeoIP.jar Update Delete EssentialsGroupManager.jar Update Delete EssentialsProtect.jar Update Delete EssentialsSpawn.jar Update Delete EssentialsXMPP.jar Update Delete Factions.jar Update Delete GAListener.jar Update Delete HealthBar.jar Update Delete HolographicDisplays.jar Update Delete Skript.jar Update Delete Tim.jar Update Delete Votifier.jar Update Delete WorldEdit.jar Update Delete WorldGuard.jar Update Delete mcore.jar Update Delete
@jackprice12345
A note for the plugin author, The numbers are hashtags (#) if you use them it will look like this #bukkit if you use them at the begin of a message it will make a numbered list and comments in yml will look like this:
Jack, I am having the same problem. Everything is working and the votes are registering but the users are not getting rewards
Alright I cant get any rewards working, The plugin works fine and I have the latest version of Votifier. All my votes are counting but no rewards to users
@Epickevin7718
Copy and past your console message in a pastebin.com and post the link here after doing /fakevote [ign] in game. That will help us.
i wat to reset my cumulative votes once per month , is there any way thast easy to do this ? Is there a place where the number can be stored even so if reach 50 go back to 1 for instance ? I would prefer a way to reset once a month , I am assuming simply delete the .db file and it will reset ?
My config file won't seem to update. In the FTP client all the changes are saved and made. Restarted the server and the vote rewards are the same. Any help?
how do I make /vote list sites?
@GarrettD78
There are plugins for this, like this one: http://dev.bukkit.org/bukkit-plugins/votinggui/ That allows you to make a gui with configurable items, so when people click them they get the links.
Is it possible to set up to run a command after X amount of secs/mins/hours?
Are you able to set the cumulative votes to reset after 24 hours?
http://pastebin.com/7AHt8jPW
I've run this through the YML parcer, and everything looks good. Players are able to vote and get their rewards and luckyvotes, but thats it. I can't get any of the other features to work such as /vote, /rewards, joinmessage, broadcastqueue, etc... help?
can someone help plz the config works fine but when the give command execute there's an extra letter/symbol before the name and lore here's my config:
settings: onlineonly: true luckyvote: false permvote: false cumulative: false broadcastqueue: true broadcastrecent: true broadcastoffline: false votecommand: true rewardcommand: false joinmessage: true voteremind: false remindseconds: 300 ratelimit: 10 logfile: false dbMode: 'sqlite' dbFile: 'GAL.db' dbHost: 'localhost' dbPort: 3306 dbUser: 'root' dbPass: '' dbName: 'GAL' dbPrefix: ''
services: default: broadcast: '{GREEN}{username} {GOLD}has voted {GOLD}and received {GREEN}a Token!' playermessage: '{GREEN}Thanks for voting!' commands: - '/give {username} 388 1 0 {ench:[{id:51,lvl:10}], display:{Name:"§6Token" , Lore:[§fUse this to buy items in spawn]}}' MC-Index: broadcast: '{GREEN}{username} {GOLD}has voted {GOLD}and received {GREEN}a Token!' playermessage: '{GREEN}Thanks for voting!' commands: - '/give {username} 388 1 0 {ench:[{id:51,lvl:10}], display:{Name:"§6Token" , Lore:[§fUse this to buy items in spawn]}}'
luckyvotes: '10': broadcast: '{GREEN}{username} {GOLD}was lucky and received an {GREEN}extra $1000!' playermessage: '{GREEN}You were lucky and received an extra $1000!' commands: - '/eco give {username} 1000' '50': broadcast: '{GREEN}{username} {GOLD}was super lucky and received an {GREEN}extra 100 XP and $1000!' playermessage: '{GREEN}You were super lucky and received an {GREEN}extra 100 XP and $1000!' commands: - '/xp give {username} 100' - '/eco give {username} 1000'
perms: double: broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}10 Diamonds!' playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!' commands: - '/give {username} 264 10'
cumulative: '10': broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}10 times {GOLD}and received {GREEN}20 Diamonds!' playermessage: '{GREEN}Thanks for voting {AQUA}10 times!' rewardmessage: '20x Diamond' commands: - '/give {username} 264 20'
blocked: - world_blocked
votemessage: - '{GOLD}
-----------' - 'Vote for us every day for in game rewards and extras' - '{GOLD}-----------' - '{AQUA}You currently have {GREEN}{votes} Votes'remindmessage: - '{GOLD}
-----------' - 'You have not voted recently, please vote to support the server' - '{GOLD}-----------' - '{AQUA}You currently have {GREEN}{votes} Votes'joinmessage: - '{GOLD}
-----------' - 'Vote for us every day for in game rewards and extras' - '{GOLD}-----------' - '{AQUA}You currently have {GREEN}{votes} Votes'rewardformat: '{GREEN}{TOTAL} Votes {GRAY}- {AQUA}{REWARD}' votetopformat: '{POSITION}. {GREEN}{username} - {WHITE}{TOTAL}' rewardheader: - '{GOLD}
---- {WHITE}[ {DARK_AQUA}Rewards{WHITE} ] {GOLD}----' votetopheader: - '{GOLD}---- {WHITE}[ {DARK_AQUA}Top Voters{WHITE} ] {GOLD}----' rewardfooter: - '{AQUA}You currently have {GREEN}{votes} Votes'