How voting works, in plain words
#- You add your server to vote sites (server lists such as Minecraft-MP, MinecraftServers, Planet Minecraft, TopG).
- A player votes on such a site.
- The vote site sends a small message to your server on a vote port. This is the "Votifier" protocol.
- Your server checks the message and gives the player the vote rewards.
In EconomySMP two modules do this:
| Module | Job |
|---|---|
votifier (Extra) | Receives the votes from the sites. This is a built-in Votifier: no NuVotifier or other Votifier plugin is needed. |
voting (BetterSMP) | What happens after a vote: rewards, streaks, top voters, reminders, the vote party and the /vote screen. |
Step 1: Open a vote port
#The vote port is not your Minecraft port. It is an extra TCP port that only vote sites talk to. The default is 8192.
On a hosting panel (Pterodactyl, Pelican, Wisp and similar):
- Open your server in the panel and go to the Network tab (sometimes called Allocations or Ports).
- Add a new allocation (port), or ask your host to add one. Note the port number, for example
25601. - Open
plugins/SimpleSMPCore/modules/extra/votifier/config.ymland set that number:
settings:
host: 0.0.0.0
port: 25601
public-host: 'play.example.com'
- Run
/votifier reload(or restart).
public-host is optional; it is the address shown by /votifier setup. Put the address players use to join.
On your own machine or VPS: keep 8192 (or pick another port) and allow it in the firewall (TCP, incoming).
Step 2: Enter your details on each vote site
#Run this in the console or in game:
/votifier setup
It prints everything a vote site asks for:
| Vote site field | What to enter |
|---|---|
| Server address / Votifier host | Your server's public IP or domain (public-host). |
| Votifier port | The vote port from step 1. |
| Public key (protocol v1) | The long text from /votifier key. Click to copy it. |
| Token (protocol v2, "NuVotifier token") | The text from /votifier token. Click to copy it. |
- v2 (token) is recommended. It is signed, so nobody can fake votes. Use v1 (public key) only for sites that do not support v2.
- The token is secret like a password. Never post it publicly. Make a new one with
/votifier token regenerate; then enter the new token on every site again. - One token (
tokens.default) works for every site. You can give one site its own token:/votifier token <site>.
Step 3: Test it
#| Command | What it shows |
|---|---|
/votifier test <player> [site] | Sends a test vote through the whole chain: the player gets the rewards, the streak and the vote party counter move. |
/votifier status | Whether the receiver is running, the port, counters and the last votes. |
/votifier sites | The vote sites that already sent votes, with their service names and tokens. |
/vote status, /vote log | The voting module's view: connection, counters and recent votes. |
Then vote yourself on one real site. The console shows one line per accepted vote (logging.log-votes: true). Many sites also have a "send test vote" button.
Step 4: Show your vote links to players
#Players see the vote sites in /vote. Put your own vote page links into plugins/SimpleSMPCore/modules/better/voting/config.yml → settings.sites:
settings:
sites:
minecraftmp:
name: "<#C58CFF>Minecraft-MP"
url: "https://minecraft-mp.com/server/12345/vote/"
material: AMETHYST_SHARD
cooldown: 1d
service-names: [Minecraft-MP.com, MinecraftMP, minecraft-mp]
description: ["<#9A9A9A>International server list."]
- The package has five example sites. Their links contain
SERVER-IDorYOUR-SERVER; such a link counts as not set up and shows as a grey "coming soon" button. Replace it with your real vote page. cooldownis how often that site accepts a vote (1d,12h). It drives the "you can vote again" indicator.service-namesis the name the site sends with each vote. If it does not match, the vote still counts; only the indicator of that site does not work./votifier sitesshows the real name after the first vote.- Remove a site you do not use, or set
enabled: false. - Apply with
/smpcore reload voting.
Step 5: Rewards, streaks and the vote party
#Rewards are in plugins/SimpleSMPCore/modules/better/voting/rewards.yml.
Every vote (package defaults): $15, 3 shards and 1 Common Crate key.
Streaks: voting on consecutive days builds a streak (settings.streak).
- The streak raises the money reward of every vote by 5% per day, up to +50% (
money-bonus). - Milestone rewards on day 3, 7, 14, 21 and 30, for example day 30 =
$1000and an Armor Crate key. The cycle repeats every 30 days.
Vote party: every vote adds 1 to a shared counter. At 50 votes (with at least 3 players online) the party starts: everyone online gets 5 shards and a Vote Llama appears at spawn. Players hit it for item rewards, with a milestone reward every 10 hits. The llama runs away after 5 minutes.
Setting (settings.party) | Default |
|---|---|
required-votes | 50 |
min-online | 3 |
pinata.duration | 5m |
Set the llama's spawn point in game with /voteparty location add (otherwise the main spawn is used). Staff commands: /voteparty start, stop and set <number>.
Top voters: /vote top (also monthly) and the votes and monthly_votes leaderboards. Placeholders: %smpcore_voting_monthly%, %smpcore_voting_monthly_top_<n>_name%.
Reminders: players who have not voted for a day get a reminder once an hour (settings.reminders). They can turn it off with /vote reminder.
Offline voters: a vote for a player who is offline is saved and its rewards are given when they join (kept for 30 days). A vote for a name that never joined still counts for the vote party (unknown-player: QUEUE).
Renamed players (1.16.6+): a vote typed with a player's old name reaches their account (matched by the UUID in the vote log), and votes queued for an old name are given when the player joins with the new one. A vote queued for a name that never joined is noted in the console.
Reward types are MONEY, SHARDS, KEY (crate key id), ITEM and commands.
What players see
#| Command | What it does |
|---|---|
/vote | A chat card with a button for each vote site, the player's votes, streak and the vote party progress, plus a button that opens the vote menu. |
/vote menu | The vote menu: vote sites, rewards, your streak and top voters. |
/vote links | The vote site links in chat. |
/vote top | Top voters. |
/vote party, /voteparty | Votes left until the next vote party and its rewards. |
/vote reminder | Turn vote reminders on or off. |
Which labels open the chat card and which open the menu is set in settings.card-labels (default vote and votes open the card).
Already using NuVotifier or another Votifier plugin?
#When Votifier, NuVotifier or VotifierPlus is installed, the built-in receiver stays passive (settings.external-plugin: passive): it opens no port and votes keep coming through that plugin. The voting module still gives the rewards. You can keep it that way.
To switch to the built-in receiver (one plugin less, nothing to change on the vote sites):
- Stop the server.
- Copy
public.keyandprivate.keyfrom the old plugin'srsa/folder (for exampleplugins/NuVotifier/rsa/orplugins/Votifier/rsa/) toplugins/SimpleSMPCore/modules/extra/votifier/rsa/. The file format is the same. - Copy the old token into
modules/extra/votifier/config.yml→tokens.default(and per-site tokens undertokens, if you had any). - Use the same port in
settings.portas the old plugin. - Delete the old Votifier plugin jar and start the server.
To run both side by side, set settings.external-plugin: listen and give them different ports.
Troubleshooting
#| Problem | What to check |
|---|---|
| No votes arrive at all | The vote port is not reachable. Make sure settings.port is an extra allocation of your server (not the game port, not just a number in the config) and that the firewall allows it. /votifier status must show the receiver running. |
| A site says "could not connect" or "timed out" | Same as above: wrong address or port on the site, or the port is closed. Use the address and port from /votifier setup. |
| v2 site: votes are refused | Wrong token. Copy it again from /votifier token (no spaces). If you regenerated it, update every site. |
| v1 site: votes are refused | Wrong or old public key on the site. Copy it again from /votifier key. Keep v1 on (protocol.v1: true) while a site needs it. |
| A site works in its test but real votes do not | Some sites send the test with another protocol. Check that the site uses the same token or key, and look at /votifier sites. |
| Votes arrive but no rewards | Is the voting module on (/smpcore module voting info)? Did the player use the exact in-game name on the site? Offline players get the rewards when they join. |
| "Another Votifier plugin is installed" in the console | The built-in receiver is passive because NuVotifier or similar is installed. See the section above. |
| An address got blocked | Too many invalid packets from one address cause a 15 minute ban. Lift all bans with /votifier unban. |
| The vote menu shows "coming soon" buttons | The site links still contain SERVER-ID or YOUR-SERVER. Put your real links into settings.sites. |
Commands and permissions
#| Command | Permission | Default |
|---|---|---|
/vote, /vote menu, links, top, party, reminder | simplesmpcore.voting.use | everyone |
/voteparty | simplesmpcore.voting.use | everyone |
/vote test, reset, status, log | simplesmpcore.voting.admin | OP |
/voteparty start, stop, set, location | simplesmpcore.voting.admin | OP |
/votifier status, test, key, token, sites, setup, unban, reload (alias /vf) | simplesmpcore.votifier.admin | OP |
Forwarding votes to other servers
#If you run more than one server, settings.forwarding in the votifier config can send every accepted vote on to other servers (a lobby, a second SMP, a proxy running NuVotifier) with protocol v2. handle-locally: false makes this server a pure relay.
Found a mistake or something missing? Open a ticket on Discord.
Report an issue