Most servers already have a vote setup for other lists: NuVotifier to receive votes and a reward plugin such as SuperbVote or VotingPlugin. You can add CraftRank to that setup in two ways. This guide explains both, and fixes the three things that can clash: the /vote command, reminders and double rewards.
Option A: use the NuVotifier you already have. On CraftRank, edit your server, turn on Votifier and enter your server address, Votifier port and public key (or token). Votes from CraftRank then arrive like votes from any other list, and your reward plugin gives the reward. You don't need our plugin at all. The steps are in how to set up Votifier.
Option B: run the CraftRank Votes plugin next to your other plugins. Votes from other lists keep going to your reward plugin; votes from CraftRank are rewarded by our plugin. This works without an open port, and adds vote reminders and placeholders for CraftRank. Use one option for CraftRank, not both.
Two plugins want the same /vote command, and only one of them can answer. Some reward plugins, SuperbVote for example, catch /vote before any other plugin sees it, so their message always wins. Votes and rewards still work: only the command is taken.
First check that our plugin works. Type /craftrankvotes:vote in game: it always runs our command and shows your CraftRank vote link. Then pick one of these:
plugins/SuperbVote/config.yml, find the vote-command section and add two lines to its text, in the same style as the lines already there, for example "&aCraftRank:" and "&fhttps://craftrank.org/vote/your-server". Your vote link is on your dashboard. Run /superbvote reload.plugins/VotingPlugin/VoteSites.yml with your vote link as VoteURL, then run /av reload. With option B, leave its rewards empty: our plugin gives the reward.vote-command → enabled: false). Players lose the other lists' links in /vote, so only do this if CraftRank is your main list./vote as a normal command, an alias in the server's commands.yml can run both: under aliases:, add vote: with the lines - "otherplugin:vote" and - "craftrankvotes:vote". Type /help vote to see the other plugin's name. This doesn't work with plugins that catch /vote themselves, like SuperbVote.This happens when CraftRank sends each vote twice: once through Votifier and once through our plugin. Use only one: either turn off Votifier on your server's edit page on CraftRank, or remove the plugin. With option A, also check that your reward plugin doesn't give an extra reward for CraftRank on top of the normal one.
If your reward plugin already reminds players to vote, turn off ours in plugins/CraftRankVotes/config.yml: set reminders.on-join to false, or set every-minutes to a longer time, then run /craftrank reload. Or turn the other plugin's reminder off and keep ours: it only reminds players who haven't voted on CraftRank today.
/craftrank status. It should show your server's name and Connection: OK.site is "https://craftrank.org", the address of the site and not your server's page, and that api-key is the key from your dashboard./craftrank test YourName to give yourself the reward once.check-every-seconds (30 seconds by default).With option A, test Votifier with our Votifier tester instead. Still stuck? Write to us from the documentation or your dashboard.