Setting up vote sites¶
A vote site needs three things from you, and Ember Voting prints all three in one screen. Run this in game:
Every line is click-to-copy.
| The site asks for | You give it |
|---|---|
| Server IP or hostname | The address from line 1. Your public address, not localhost. |
| Votifier port | The port from line 1. Not your Minecraft port. |
| Token, or "Votifier v2" | Line 2. Most sites made after 2016 use this. |
| Public key, or "RSA key" | Line 3. Older sites ask for this instead. |
Paste, save, and press the site's Send test vote button. The vote appears in your console within a second and the rewards fire.
The port has to be open¶
Ember Voting listens on listener.port, which defaults to 8192. That is a
different port from the one players connect on, and it has to be reachable from
the internet.
On a shared or Pterodactyl host, you cannot pick any number. Your host
gives you a small set of ports (an "allocation"); add one, put that number in
listener.port, and run /voting reload. On Pterodactyl a new allocation only
takes effect once the container is recreated, so stop and start the server
rather than restarting it.
On a machine you own, open the port in the firewall and, if you are behind a router, forward it.
The last line of /voting setup tells you whether the port opened. If it says
it did not, something else already holds it, or your host has not given it to
you.
Testing without a site¶
runs a vote through the entire pipeline - events, rewards, milestones, party progress, the broadcast - exactly as a real one would. It is the fastest way to see whether your rewards do what you think.
To test the network path as well, use any third-party Votifier tester with the
values from /voting setup. If the tester says the vote was sent and your
console does not show it, the vote never reached the port: check the firewall
first, the token second.
One token, or one per site¶
The default token works for every site. If you would rather each site had its own, so that revoking one does not disturb the others:
The site name must match the "service name" the site sends, which is the name you see in the console when a vote from it arrives.
Bedrock players¶
Vote sites know a Bedrock player by their gamertag, but on the server Floodgate
gives them a prefix. Ember Voting tries the prefixed name too, so a Bedrock
vote reaches the right player without any configuration. If your prefix is not
a full stop, set bedrock-prefix to whatever it is.
Listing the sites in game¶
Add each site in /voting editor → Vote sites, with a name and the vote
page URL. /vote then shows them as clickable lines, and the "all sites in a
day" bonus knows how many there are to hit.