How to install Votifier on your Minecraft server

Print
  • 0

Votifier lets a voting website tell your Minecraft server who has voted. A reward plugin can then give the player an item, money or another reward. The example below uses azuvotifier on a Paper, Purpur or Spigot server.

Install it from the panel

  1. Open your server in the control panel, take a backup and stop it.
  2. Open Plugins. Set Provider to All providers and search for Votifier. If it isn't listed with Current version selected, change Versions to All versions.
  3. Click the install icon beside Votifier. In Plugin version, choose a compatible 3.x release from Modrinth to install azuvotifier. The example shown uses 3.3.6 on Paper 1.21.1. When using All versions, check that the release supports your Minecraft version before installing it.
  4. Leave Configure automatically ticked and choose Assign a new port, or an unused extra allocation. Votifier needs its own TCP port, separate from the Minecraft port and any other plugins.

    Votifier installer with the Modrinth 3.3.6 release and automatic port setup selected

  5. Click Install plugin and start the server. The panel writes the port and creates a token. Continue with connecting your voting website below.

If you're replacing an existing Votifier installation, remove its old JAR before starting the server with the replacement. Keep the data folder so you don't lose the keys and token already used by your voting websites.

Upload and configure it yourself

  1. Download the Bukkit build for your Minecraft version from azuvotifier's releases. Stop the server, open Files and go into plugins. Drag the JAR into File Manager, or upload it to that folder using SFTP. Leave the JAR intact.
  2. Start the server once so it creates its configuration and keys, then stop it. Open Network and create an extra allocation for Votifier.
  3. In Files, open plugins/Votifier/config.yml. Set host to 0.0.0.0 and port to your extra allocation. For example, if Network assigned 25519, use
    host: 0.0.0.0
    port: 25519
    Keep the rest of the file, including its tokens section. Click Save Content, then start the server.

For a supported Fabric build, upload the mod and its required Fabric API to mods. azuvotifier's Fabric config is config/azuvotifier/settings.conf, which uses host = "0.0.0.0" and port = 25519 instead. Proxy networks need vote forwarding as well as the public receiver.

Connect your voting website

  1. Open your server listing's settings on the voting website and find its Votifier settings. Enter the public IP from Network and the extra port assigned to Votifier. Use the numeric IP and the Votifier port here, even if players normally join through a Minecraft subdomain.
  2. In the panel, open Files and go to plugins/Votifier. Click config.yml to open it in the editor.

    Votifier data folder containing config.yml and the rsa key folder

  3. Find tokens, then default. Copy the value after default: into the website's token field if it supports NuVotifier/Votifier v2. This example shows where to look; use the value already in your own file.
    tokens:
      default: YOUR_GENERATED_TOKEN
  4. If the website asks for a public key instead of a token, open plugins/Votifier/rsa/public.key and copy its contents into that field. Keep private.key private.
  5. Save the website settings and use its test-vote button. A connection timeout usually means the IP or extra port is wrong, the server is stopped, or Votifier hasn't loaded. A token or key error means the website's saved value needs to match the server file.

Add voting rewards

For Paper or Spigot, you can use VotingPlugin alongside Votifier. Upload its compatible JAR to plugins and restart the server. Use your own Minecraft name when testing, and join the server first so the reward plugin knows the player.

After a vote arrives, check VotingPlugin's console message for the received service-site name. Match that value in the relevant entry in plugins/VotingPlugin/VoteSites.yml. It identifies the voting website and can differ from the address of your public listing. VotingPlugin's service-site guide explains its automatically created entries.

Stop the server before editing. Inside that site's existing Rewards section, a simple diamond reward would be

    Rewards:
      Commands:
        - 'give %player% minecraft:diamond 1'

Keep this section inside that site's entry under VoteSites, using the same indentation as its other settings. Save and start the server. With your player online, test the reward from the panel console, replacing both example names with your player name and the entry's name in VoteSites.yml.

av vote YourPlayerName YourVoteSite

This command tests the reward inside VotingPlugin. Use the voting website's test as well to check the connection through Votifier.


Was this answer helpful?

Related Articles

« Back

Follow us on Social Media

Stay in the loop! Follow our social media accounts and stay up-to-date with the latest news, announcements, tips & tricks and behind-the-scenes insights!