Connecting the vote system to your server (Votifier)
Installing NuVotifier, setting the token, opening the port and giving voters in-game rewards.
Votifier is the system that instantly notifies your server when a player votes for it on our site. A reward plugin on your server picks up that notification and gives the player a reward (money, items, keys...). It's the best way to get players voting every day.
1. Install the NuVotifier plugin
- Download NuVotifier (search for "NuVotifier" on Modrinth, Hangar or SpigotMC).
- Put the file in your server's
pluginsfolder and restart the server. - If you run a BungeeCord/Velocity network, installing NuVotifier on the proxy is the easiest way; if your reward plugin is on the lobby, you can pass votes on to backend servers with NuVotifier's "forwarding" setting.
2. Get the token
On first start, NuVotifier creates a config file (on Paper/Spigot usually plugins/Votifier/config.yml). It contains a section like this:
host: 0.0.0.0 port: 8192 tokens: default: 'a1b2c3d4e5f6g7h8i9j0'
The value next to default: is your token. Also note down the port value (usually 8192).
If you use the old Votifier (not NuVotifier), you'll use the contents of plugins/Votifier/rsa/public.key instead of a token. Our site recognizes both automatically.
3. Open the port
The Votifier port has to be open to the outside so our site can reach your server.
- Hosting panel (Pterodactyl etc.): Get an extra port from the "Network" section of the panel and set the
portvalue inconfig.ymlto it. - Your own VPS: Open this port for TCP in your firewall (e.g.
sudo ufw allow 8192/tcp).
4. Enter it on our site and test
Enter your Votifier settings in the Vote rewards (Votifier) section of the form when adding your server, or in the same section on your management link to change them later:
- Votifier IP: Leave it empty if it's the same as the address players connect to. If it's different (e.g. the IP your hosting panel gives you), enter that. Don't include the port, it has its own field.
- Votifier port: The port from step 3 (usually 8192).
- NuVotifier token: The
default:value from step 2. If you use the old Votifier, leave the token field empty and paste the contents ofpublic.keyinto the public key field. - Enter your own Minecraft name and press Test connection. If you see "Connection successful", you're all set; if you get an error, check the troubleshooting section below. The test runs without saving your settings.
- Save the form.
From then on, players enter their Minecraft name when voting on your server page and the vote is sent to your server instantly.
5. Set up the reward plugin
NuVotifier only delivers the vote; you need a reward plugin to hand out rewards. The most common ones are VotingPlugin and SuperbVote. Our site sends votes with this service name:
ServerRealms
Some plugins use this name to match which site's votes get a reward. In VotingPlugin, for example, you add a site like this to VoteSites.yml:
VoteSites:
ServerRealms:
Enabled: true
ServiceSite: 'ServerRealms'
VoteURL: 'your server page URL'
VoteDelay: 24
Rewards:
Commands:
- 'eco give %player% 500'
This is just an example; setting names may differ between plugin versions. Check your plugin's own guide for the exact settings.
Troubleshooting
- "Could not connect to Votifier": The port is closed or wrong. Check step 3; if you're on a hosting panel, enter the IP the panel gives you as the Votifier address.
- "Wrong token": Paste the token without spaces and without quotation marks.
- "This port doesn't look like Votifier": You may have mixed it up with the game port. The Votifier port is different from the game port.
- "Server uses the old Votifier": Clear the token field and paste the contents of
public.keyinto the public key field. - "Public key not recognized": Copy the whole contents of the file in one piece.
- Test works but no reward arrives: Make sure the service name in your reward plugin's settings is
ServerRealms.
Your management page shows the last delivery error along with its date.