Hello! In this guide we're show how to set up voting on your Simple Game Hosting Server! In this guide, we'll be using VotifierPlus and VotingPlugin.
🛑Wait: To have Voting on your server you will need an additional port assigned. The port is provided free of charge but must be added by the SimpleGameHosting support team. To request one, open a support ticket or use the Live Chat feature located in the bottom right corner of the control panel. Our team will assign the port to your server for you.
Step 1: Login To The Control Panel
First off, you will need to login to the SimpleGameHosting Control Panel.
Step 2: Upload the Plugins
We have this guide here on how to upload plugins, but a quick summary would be to download the mods and drag and drop them into the plugins folder. It will look something like this:
To get the config files to appear for the plugins, you will just need to restart the server once.
Step 3: Edit the Configs
First we'll want to use that additional port we got from the Support team and assign it to the voting plugin. In this case, it's VotifierPlus.
Once you open the config click on config.yml
Then locate the port line, there we'll edit it to our assigned port. In this case, mine is 27255.
Perfect, we've set up the correct port. Now, let's move on to editing voting sites and rewards. Let's head to the VotingPlugin config.Here you can edit the VoteSites config. In this guide, we'll be using minecraftservers.org
If you wish to have the voteSite command to get people to vote for your server, you'll want to set it up like so:
Enabled: true
Name: 'minecraftserver.org'
Here we're using minecraftservers.org, the name is what will be displayed in the server
ServiceSite: 'minecraftserver.org'The VoteURL is very important, and we'll need to set up our server on minecraftserver.org before we can set that, so let's go ahead and do that.
We're on minecraftservers.org after making an account, so now we'll add our server to the site.After that, we will need to fill these out:
- Your Server Name
- Your IP (your IP will be in the top right of your console tab!)
- Your port (the 5 numbers after the colon (:) in your IP)
- Enable Votifier
- Your server's IP once more
- Your additional port used for votifier (not your server port!)
- Finally, your public key. Not to worry, we will go over how to get your public key in these next steps.
Head back to the VotifierPlus config and open the rsa folder.
Here, open this file and copy everything in there, then paste it into the Public Key spot for number 7.
Once you've done that you can move onto the next steps.
The * fields are required, so once you fill those out you can hit the add server button!
Next, you should see this page. Here, hit the "VOTE FOR THIS SERVER" button and it should take you to the vote page!You should see this page now. At the top should be a URL.
Like this. Copy the whole thing, and finally, we can add it to our VoteSite config!
Now we add it in, save, and restart the server!Server voting is now enabled! You can add things like rewards in the SpecialRewards config for when players vote!