VotePipe

Hytale Plugin Setup

All Plans

Receive votes directly on your Hytale server — no port forwarding required

Overview

The VotePipe plugin uses outbound polling to fetch votes from our API. This means:

  • No inbound ports required — your server only makes outbound HTTPS requests
  • Works behind NAT, firewalls, and proxies
  • Available on all plans including Free
  • Near real-time delivery (5 second polling interval)

Two Operating Modes

VotePipe supports two modes for handling rewards:

  • Automatic Mode (Recommended): Configure rewards visually in the dashboard - no coding required!
  • Developer Mode: Handle votes programmatically with custom code for full control

See Automatic Mode Guide or Developer Mode Guide for details.

Installation

  1. Download the VotePipe plugin from CurseForge or Modtale
  2. Place the JAR in your server's mods/ folder
  3. Start your server to generate the config file
  4. Stop the server

Configuration

Edit mods/Mythlane_VotePipe/config.json:

json
{ "token": "vpt_your_token_here", "api_base_url": "https://api.votepipe.com/v1", "poll_interval_ms": 5000, "claim_timeout_ms": 5000, "enabled": true, "debug": false, "intercept_legacy_votes": true, "store_buffered_votes": true }

Core Settings

SettingTypeDefaultDescription
tokenstringrequiredPlugin token from dashboard (starts with vpt_)
api_base_urlstringhttps://api.votepipe.com/v1VotePipe API base URL (only change for self-hosted)
poll_interval_msinteger5000How often to check for new votes (min: 5000ms)
claim_timeout_msinteger5000Timeout for Developer Mode event handlers (min: 1000ms)
enabledbooleantrueEnable or disable the plugin
debugbooleanfalseEnable verbose logging for troubleshooting

Legacy Plugin Compatibility

These settings allow VotePipe to detect and intercept votes from legacy plugins (HytaleVotifier, HyVote) for migration tracking. See Compatibility Mode for details.

SettingTypeDefaultDescription
intercept_legacy_votesbooleantrueDetect HytaleVotifier/HyVote and forward votes to VotePipe for analytics
store_buffered_votesbooleantrueStore intercepted votes locally if no token is configured yet

Tip: With intercept_legacy_votes: true, VotePipe automatically detects if HytaleVotifier or HyVote is installed and tracks those votes in your dashboard. This is useful during migration to compare vote counts between systems.

Generate Plugin Token

  1. Go to Settings → Plugin
  2. Click Generate to create a new token
  3. Copy the token (it's only shown once!)
  4. Paste it into your mods/Mythlane_VotePipe/config.json

⚠️ Important: The token is only shown once when generated. Store it securely. If you lose it, you'll need to regenerate (which invalidates the old token).

Verify Connection

After configuring the plugin:

  1. Start your server
  2. Run /votepipe status
  3. Check the dashboard — connection status should show 🟢 Connected

Next Steps