Votifier - Forge Version | Voting Command
This Forge mod provides functionality similar to the popular Votifier plugin for Bukkit, but has been completely rewritten from scratch. Its main purpose is to reward players for participating in voting on Minecraft server ranking sites.
Types of Rewards
The system supports three types of rewards:
- Command Rewards - execution of specific commands
- Item Rewards - giving players specific items
- Chat Messages - sending personalized messages (visible only to the voting player, can be broadcast to everyone via the "broadcast" flag; supports tellraw format)
Setting Up the Voting System
To activate the system, simply open the file /config/votifier/.ssh/id_rsa.pub and copy its contents into the votifier configuration on the voting page.
Reward Configuration
All reward settings are stored in JSON files at the path /config/votifier/rewards. A standard configuration is created on first launch, which can be edited or supplemented with new files.
Example basic configuration:
{
"rewards": [
{
"type": "item",
"name": "minecraft:diamond",
"count": 2,
"nbt": "{display:{Name:\"Reward\",Lore:[\"Hello @PLAYER@,\",\"This is your\",\"voting reward from\",\"@SERVICE@\"]}}"
},
{
"type": "command",
"command": "gamemode 1 @PLAYER@"
},
{
"type": "chat",
"message": "[{\"text\":\"@PLAYER@\",\"color\":\"dark_aqua\"},{\"text\":\" just voted on \"},{\"text\":\"@SERVICE@\",\"color\":\"dark_aqua\"},{\"text\":\" and received their daily reward! get yours using \"},{\"text\":\"/vote\",\"color\":\"green\"},{\"text\":\" or by clicking \"},{\"text\":\"here\",\"clickEvent\":{\"action\":\"open_url\",\"value\":\"https://minecraft.curseforge.com/projects/293830\"},\"hoverEvent\":{\"action\":\"show_text\",\"value\":{\"text\":\"click to vote!\",\"color\":\"aqua\"}}},{\"text\":\"!\"}]",
"broadcast": true,
"tellraw": true
},
{
"type": "chat",
"message": "Congratulations @PLAYER@!\nYou just earned your daily reward!",
"broadcast": true
}
]
}
Starting from version 1.3.0 for Minecraft 1.12.2, the mod also supports Thut Essentials balance as rewards:
{
"type": "thut_pay",
"amount": 10000
}
In version 1.3.1 and above, the permission system has been simplified, making mod setup more accessible for beginner server administrators.