Votifier Renewed (Forge)
ATTENTION: Development of this mod has been discontinued, but it continues to function.
This is the Forge version.
Votifier Renewed is a redesigned version of the Votifier Bukkit plugin, adapted to work on modded servers. This is a server-side only mod, so it does not need to be installed on the client.
After receiving a vote, the server executes any number of commands that can be configured in the configuration file.
Main Features
- Works only on the server side
- Compatible with standard Votifier integrations - supports all voting lists using this standard
- Customizable /vote command
- Customizable voting message (see "Commands" section)
Installation
The mod is compatible with most server lists that support Votifier. Installation process:
- Install votifier on the server (place the file in the mods folder)
- Start the server. A "votifier" folder will be created in the server's root directory
- The "public.key" and "config.json" files are used for configuration setup
Configuration
The configuration file offers 7 parameters:
- "enabled": Enable/disable voting system (true/false)
- "port": Port for Votifier listening (default 8192)
- "commands": Array of strings with commands executed with each vote
- "voteCommandEnabled": Enable /vote command (true/false)
- "voteCommandIntro": Text displayed at the beginning of the /vote command
- "voteCommandTooltip": Tooltip text for links in the /vote command
- "voteCommandFailed": Message when there are no entries in "linkURLs"
- "linkURLs": Array of strings with URLs sent to the user when using /vote
Commands
In commands, you can use variables:
- %PLAYER% - replaced with the player's name from the vote
- %SERVICE% - replaced with the service name from the server list website
Example configuration for rewarding players for voting:
"commands": [
"tellraw @a [{\"text\":\"%PLAYER% voted on %SERVICE%\",\"color\":\"green\"}]",
"scoreboard players add %PLAYER% voted 1",
"give %PLAYER% minecraft:diamond 2"
]
Modpacks and Distribution
You can add this mod to your modpacks.
You cannot distribute this mod on other websites. The official source is CurseForge.
Help
For testing votes, you can use specialized websites.
If the mod is not detecting incoming votes (socket timeouts), make sure the "server-ip" field in "server.properties" is set to your server's IP address.