Closed MarioMax05 closed 4 years ago
Pastebin that.
here you go, sorry about that
Rewards:
Items:
Diamond:
Material: 'DIAMOND'
Amount: 5
Something like that should work.
I'll give it a shot, thanks :)
Hey, it's not working. This is what I did: https://pastebin.com/MMej4RSJ
Sorry for the late response, this is what I have and I'm still having trouble. Sorry that I keep asking for help..
Does the server get the vote? Check console on a vote. Does it work with /av vote?
It shows that someone made the command to vote, but doesn't know they voted.
Then your issue is with votifier right now.
Do you have an idea of what I could do to fix it?
https://mctools.org/votifier-tester
Try new host/port?
Apparently I didn't have votifier at all. I will get back to you when I get it up and working.
I have it installed and put on the right port, but do I put the public key in VotingPlugin? I also did the test and it went through
No, just the vote sites.
Oh, what about the host in the config menu, anything go there?
That's for a bungee setup, don't use that unless you plan to for the first setup here: https://github.com/Ben12345rocks/VotingPlugin/wiki/Bungeecoord-Setups
Just got it working. Thank you!!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This is my code, I am looking to make it give the player 5 diamonds every time they vote for each site. I'm kinda new to this, thanks for anyone willing to help :)
VoteSites:
VoteSite key
Used for saving data for votesites
Use a short name if you can
ExampleVoteSite:
Enable voteSite
Site 2 example
Site2: Enabled: true Name: 'MC-Server-List' ServiceSite: 'minecraft-server-list.com' VoteURL: 'https://minecraft-server-list.com/server/462178/vote/' VoteDelay: 24 Item: Material: 'DIAMOND' Amount: 1 Rewards: Commands:
'say hello'
Advanced example
50% chance for reward1, if reward1 not given then 20% chance to get reward2, if reward2 not given then fallback
AdvancedPriority:
Similar to priority, but no need to have to use reward files
Messages: Player: 'Thank you for voting!'
Site 3 example
Site3: Enabled: true Name: 'MinecraftMP' ServiceSite: 'minecraft-mp.com' VoteURL: 'https://minecraft-mp.com/server/259853/vote/' VoteDelay: 24 Item: Material: 'DIAMOND' Amount: 1 Rewards: Commands:
'say hello'
Advanced example
50% chance for reward1, if reward1 not given then 20% chance to get reward2, if reward2 not given then fallback
AdvancedPriority:
Similar to priority, but no need to have to use reward files
Messages: Player: 'Thank you for voting!'
Site 4 example
Site4: Enabled: true Name: 'MC Servers' ServiceSite: 'minecraftservers.org' VoteURL: 'https://minecraftservers.org/vote/587492' VoteDelay: 24 Item: Material: 'DIAMOND' Amount: 1 Rewards: Commands:
'say hello'
Advanced example
50% chance for reward1, if reward1 not given then 20% chance to get reward2, if reward2 not given then fallback
AdvancedPriority:
Similar to priority, but no need to have to use reward files
Messages: Player: 'Thank you for voting!'
Reward for any site
Similar to AnySiteReward
This requires the site to be configured in order to get the reward.
EverySiteReward: []