Skip to content

Minecraft 26.3 için SimpleVote Eklenti

A simple paper plugin that rewards players with tokens when they vote for your server on voting websites

başlangıç Jelly-Pudding
görüntülenme
1 görüntülenme
Güncellendi
Güncellendi 20.11.2026

SimpleVote Plugin

SimpleVote is a lightweight Minecraft Paper 26.3 plugin that rewards players with tokens when they vote for your server on voting websites. Although it was custom built for minecraftoffline.net, any server can use it.

Features

  • Rewards players with tokens for voting
  • Clickable list of voting sites for players
  • Automatically handles online and offline player voting
  • Admin commands to manage tokens

Installation

  • Download the latest release from GitHub.
  • Place the .jar file in your server's plugins folder.
  • Restart your server to generate the default configuration.
  • Set up your server on voting sites using the public key displayed on startup or with the /votekey command.

Setting Up Votifier

Port Forwarding

For voting websites to send votes to your server, you must ensure that the Votifier port (default: 8192) is open and forwarded to your server. This typically involves:

  • Setting up port forwarding in your router's configuration
  • Ensuring your firewall allows incoming connections on the specified port
  • If using a hosting provider, check their documentation for port configuration

Registering on Voting Sites

Voting sites may show a Public Key field, a Token field, or both. Fill in whichever fields the site provides:

  • Public Key: paste the RSA public key. Run /votekey key in-game, or copy votifier.public-key from plugins/SimpleVote/config.yml.
  • Token: paste the HMAC token. Run /votekey token in-game, or copy votifier.token from plugins/SimpleVote/config.yml.

Running /votekey on its own prints both values at once.

Both values are generated automatically the first time the server starts. You never need to create or edit them manually.

To register:

  • Start your server with SimpleVote installed.
  • On the voting site's registration page, enter your server's public IP and Votifier port (default: 8192).
  • Paste the public key, the token, or both, depending on what fields the site provides.

Troubleshooting

  • If votes aren't being received, check that:
  • The Votifier port is correctly forwarded.
  • You pasted the correct value into the correct field on the voting site (public key or token).
  • Your firewall permits access on the Votifier port.

In-game Commands

  • /tokens: Check your current tokens
  • /tokens [player]: Check another player's tokens (requires permission)
  • /tokens give [player] [amount]: Give tokens to a player (admin only)
  • /tokens take [player] [amount]: Take tokens from a player (admin only)
  • /tokens set [player] [amount]: Set a player's tokens (admin only)
  • /votesites: Display a list of clickable voting site links
  • /votekey: Display both the public key and token (admin only)
  • /votekey key: Display the public key only
  • /votekey token: Display the token only

Permissions

  • simplevote.tokens: Allows checking own token balance (default: true)
  • simplevote.tokens.others: Allows checking others' token balances (default: op)
  • simplevote.votesites: Allows viewing voting sites (default: true)
  • simplevote.admin: Allows managing tokens and accessing admin commands (default: op)

API for Developers

Setup Dependencies

  • Download the latest SimpleVote.jar and place it in a libs directory - and then add this to your build.gradle file:

dependencies { compileOnly files('libs/SimpleVote-2.3.jar') }

  • If SimpleVote is absolutely required by your plugin, then add this to your plugin.yml file - and this means if SimpleVote is not found then your plugin will not load:

depend: [SimpleVote]

Getting SimpleVote Instance

You can import SimpleVote into your project through using the below code:

import org.bukkit.Bukkit; import com.jellypudding.simpleVote.SimpleVote;

Plugin simpleVotePlugin = Bukkit.getPluginManager().getPlugin("SimpleVote"); if (simpleVotePlugin instanceof SimpleVote && simpleVotePlugin.isEnabled()) { SimpleVote simpleVote = (SimpleVote) simpleVotePlugin; }

Available API Methods

// Get the TokenManager instance TokenManager tokenManager = simpleVote.getTokenManager();

// Get player's current token balance int currentTokens = tokenManager.getTokens(playerUUID);

// Add tokens to a player tokenManager.addTokens(playerUUID, 10);

// Remove tokens from a player (returns true if successful, false if insufficient tokens) boolean success = tokenManager.removeTokens(playerUUID, 5);

// Set player's exact token amount tokenManager.setTokens(playerUUID, 50);

SimpleVote nasıl kurulur

  1. A server on Paper

    The plugin runs on the server core for Minecraft 26.3; players do not need to install anything.

  2. File goes into the plugins folder

    Download the file SimpleVote-2.8.jar (64 KB) and put it into the server’s plugins folder.

  3. Restart the server

    On startup the plugin creates its own settings folder in plugins.

  4. Use the “To server” button

    On Millida Hosting, the button at the top of the page uploads the file to your server and restarts it for you.

Sürümler

Bağımlılıklarla

MinecraftYükleyiciDosyaTarihİşlemler
26.3Paper26.364.1 KB

SSS

Which Minecraft versions does SimpleVote work on?

Only Minecraft 26.3: there are no files for other versions.

Where can I download SimpleVote safely?

On this page: the file SimpleVote-2.8.jar (64 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: e6b7c0304059bd4735f0f7661d91fcff0507657b.

Yorumlar

SimpleVote için ilk puanı sen ver

Yorumlar 0

Yorum yapmak için giriş yapınGiriş yap

Benzer pluginler

Tüm pluginler

Bununla ilgili daha fazla

Yazar: Jelly-PuddingLisans: MIT

Yazarı siz misiniz? Bize yazın — 48 saat içinde kaldırırız.