Glass plugin suite wiki by GlassMC and GlassHosting. Licensing and downloads are coming soon through GlassBilling.

GlassVote

Version 1.2.3-alpha.1 • Tested on Paper 26.3 • Java 25 • Support: support@glasshosting.com

Overview

GlassVote receives votes from server listing sites and rewards players for them:

  • Built-in Votifier listener (protocol v1 RSA and v2 token). You do not need NuVotifier.
  • Vote totals, daily streaks, a leaderboard, achievements, a server-wide vote goal and reminders.
  • GlassShards rewards: a shard amount per vote, a daily claim and progressive milestones, deposited to checking with recoverable receipts.
  • Optional item rewards, console command rewards and a reward stash for players whose inventory is full.

Requirements

  • Paper 26.3 (tested), Java 25.
  • Optional: GlassShards (shard rewards), Vault (legacy money rewards), Nexo.
  • Do not run NuVotifier or Votifier with GlassVote; startup stops if either is loaded.
  • A TCP port open to the internet for listing sites (default 8192).

Installation

  1. Stop the server, remove NuVotifier/Votifier, put GlassVote (and GlassShards if you want shard rewards) in plugins/.
  2. Start once. GlassVote creates plugins/GlassVote/rsa/public.key and private.key.
  3. Open the Votifier port (votifier.port, default 8192) on your host firewall and hosting panel.
  4. Paste rsa/public.key into each listing site (v1 RSA), or set a shared token in votifier.tokens (v2), and use your server address and port.
  5. Test with /vote simulate <player>.

First-time setup

  1. Add your listing site URLs to voting-sites.yml under sites: (a list of strings) so /votesites shows them.
  2. Set per-vote and daily shard amounts in config.yml (rewards.per-vote.shards, rewards.daily.shards).
  3. Review the milestone ladder under rewards.progressive.levels.
  4. Set the community goal in goals.yml.
  5. /votereload.

Commands

Command Permission What it does
/vote (alias /glassvote) vote.use Open your voting stats menu; also warns you about stashed rewards.
/vote about vote.use Edition and credit.
/vote simulate <player> [site] vote.admin Register a test vote.
/vote reload vote.op.reload Reload configuration.
/vote reset <player> vote.admin.reset Reset progressive reward claims.
/vote stats <player> <pause|resume|status> vote.admin.streak Manage a streak.
/vote streak <player> <pause|resume> vote.admin.streak Pause or resume a streak.
/vote shards [recover|retry <rejected-receipt>] vote.admin Shard reward receipt counts, flush pending, or retry a rejected receipt.
/votesites vote.use List voting sites.
/votetop [page] vote.use Leaderboard.
/voteremind <on|off> vote.use Toggle your reminders.
/votereward vote.use Claim today's GlassShards daily reward.
/votestash vote.use Open stashed rewards.
/voteachievements [player] vote.use (others: vote.achievements.others) Voting achievements.
/votestreak <player> <pause|resume> vote.admin.streak Pause or resume a streak.
/votestats <player> <pause|resume|status> vote.admin.streak Inspect or manage a streak.
/voterewardreset <player> vote.admin.reset Reset a player's progressive claims.
/votereload vote.op.reload Reload configuration and tokens.
/voteregeneratekeys confirm glassvote.regeneratekeys Make a new RSA key pair. You must paste the new public key on every site.
/testkeys glassvote.regeneratekeys Show the public key path and key details.
/glassvotepremium preset|discord|menu ... glassvote.premium Paid edition. See Editions.

Permissions

Node Default Grants
vote.use true Player commands.
vote.admin op Admin commands; children vote.use, vote.admin.streak, vote.admin.reset, vote.op.reload, vote.achievements.others, glassvote.regeneratekeys.
vote.admin.streak op Streak management.
vote.admin.reset op Reset reward claims.
vote.op.reload op Reload.
vote.achievements.others op View other players' achievements.
glassvote.regeneratekeys op Key commands.
voteplugin.regeneratekeys false Legacy alias for glassvote.regeneratekeys.

Configuration

config.yml

Key Default Effect
language en Message language (messages/en.yml, de.yml, es.yml).
database.type h2 h2 or mysql.
database.mysql.host / port / name / user / password localhost / 3306 / voting / voting / '' MySQL settings.
listener-enabled false Legacy JSON HTTP receiver (not Votifier). Leave off unless a trusted gateway posts JSON.
listener-bind 127.0.0.1 HTTP receiver bind.
listener-port 8192 HTTP receiver port. Must differ from votifier.port if both are used.
votifier.enabled true Native Votifier listener. Restart to change.
votifier.host 0.0.0.0 Bind address (votifier.bind accepted if host is omitted). Restart to change.
votifier.port 8192 Listener port. Restart to change.
votifier.tokens.default "" Shared v2 token. Add per-site keys named after the service the site sends (for example MCSL).
token.type digital Legacy vote tokens: digital or item.
token.item.material / display-name / custom-id / lore SUNFLOWER / &eVote Token / vote_token / one line Item token look.
gui.title <aqua>GlassVote <dark_gray>• <gray>Rewards Menu title.
exit-button.name / exit-button.lore <red>Exit Menu Exit button.
rewards.per-vote.shards 1 Shards per vote.
rewards.daily.enabled / shards true / 1 Daily /votereward claim.
rewards.legacy-tokens.enabled false Pay legacy vote tokens.
rewards.legacy-vault-money.enabled false Pay legacy Vault money.
rewards.progressive.enabled true Milestone rewards.
rewards.progressive.cap 100 Highest vote count that pays milestones.
rewards.progressive.levels.<votes>.shards 1, 2, 5, 10, 20, 40 Shards at milestones 1, 5, 10, 25, 50, 100.
rewards.progressive.levels.<votes>.item.material / amount DIAMOND x1 to x20 Item at a milestone.
rewards.progressive.levels.<votes>.commands [] Console commands; %player% is replaced.
rewards.progressive.levels.<votes>.message thank-you text Message; %player% and %level%.
rewards.progressive.levels.<votes>.tokens / money not set Legacy token or Vault money amounts.
metrics.enabled true bStats opt-out.
premium.discord.* off Paid alerts vote, streak.
premium.discord.streak-every 7 Streak alert every N days; 0 off.
branding.item-model auto Menu icon model.

Other files

File Keys
voting-sites.yml sites: list of vote site URLs (ships empty).
goals.yml monthly_goal.threshold (500), reset_each (day, week or month), reward_commands (list), message_on_progress ({votes}, {goal}).
reminders.yml opt_out: list of player UUIDs. Reminders go to everyone else every 10 minutes.
messages.yml prefix, reminder, daily_reward_claimed, daily_reward_already_claimed, votesites_header, votesites_entry, votetop_header, votetop_entry, votetop_empty, invalid_page, voteremind_on, voteremind_off, votestreak_paused, votestreak_resumed, votestreak_usage.
gui.yml vote-gui.title and vote-gui.items.<id>.slot/material/name/lore for total votes, streak, tokens, daily reward and exit.
achievements.yml Not shipped; create it. achievements.<votes>.message ({player}) and achievements.<votes>.reward (a console command, {player} replaced).
rewards.yml Legacy money-command ladder (rewards.progressive.levels list). The shard ladder in config.yml is the current one.

Using it efficiently

  • One port, one owner. GlassVote owns the Votifier port. If you also enable the HTTP listener, give it a different port.
  • Keep your private key. Regenerating keys breaks every site until you paste the new public key.
  • Shard economy tuning: start small (1 per vote, 1 daily) and let milestones carry the big rewards. The bundled small-smp preset doubles them for small servers.
  • Rank ladders: add gperms votes %player% <milestone> to each milestone's commands to drive GlassPerms voting ranks (see GlassPerms).
  • Community goals: use goals.yml reward commands for server-wide events when the goal is hit.
  • Stuck shard rewards: /vote shards shows counts and the latest rejected receipts; /vote shards retry <receipt> queues a retry.

Integration with other Glass plugins

  • GlassShards: shard rewards are deposited to checking.
  • GlassPerms: vote rank paths via gperms votes.
  • GlassRewards: a milestone command can run glassrewards give vote %player% to hand out a vote voucher (needs a vote VOUCHER in rewards.yml, which ships by default).

Troubleshooting

Problem Fix
Startup stops: NuVotifier or Votifier loaded Remove them; GlassVote replaces them.
Sites say the vote failed Check the port is open, the public key was pasted completely, and v2 sites use the right token.
Votes arrive but no shards Install GlassShards; run /vote shards for rejected receipts.
"You have unclaimed vote rewards" Run /votestash with free inventory space.
Changed host or port has no effect Those need a full restart, not /votereload.

Changelog

  • 1.2.3-alpha.1: Free edition alpha; Nexo pack sync, Glass Shard menu icons, bug fixes (2026-10-13).
  • 1.2.1: Native Votifier TCP listener (v1 RSA, v2 token); existing keys reused.
  • 1.2.0: GlassShards rewards, progressive milestones, stash.