Download Votifier - Forge Version | Voting Command — Minecraft Mods — ModStock

Votifier - Forge Version | Voting Command

Active

Downloads

0

Last update

3 years ago
Client
Fabric
Quilt
Forge
Neoforge
Decor
Weapons and armor
Libraries
Utils

Forge Voting is a Forge Mod that works similar to the Votifier Bukkit Plugin but has been rewritten from scratch.

 

With this mod you can give out rewards to players who have made a vote on a Minecraft Server ranking list.

 

Originally created by UpcraftLP, Beardedflea is continuing the work of this project. Please do not forward issues to UpcraftLP as they will most likely be ignored. Pester Beardedflea instead!

 


Reward Types:

Currently there are 3 types of rewards:

 - Command Reward: executes a command

 - Item Reward: gives the player an Item

 - Chat Reward: prints a message to chat (only visible to the player who made the vote, can be toggled via the "broadcast" flag; also supports tellraw format if "tellraw" flag is true)

 


Setting up Voting for your Server:

Just open the file /config/votifier/.ssh/id_rsa.pub and paste it's contents into the votifier config on the voting page.


PermissionsEx node for the vote command (there's only one node for /vote and /vote claim): com.github.upcraftlp.votifier.command.commandvote


 

As of version 1.3.1(And potentially beyond) permissions have been scrapped. This should make setting up the mod easier for new people approaching server hosting.

 

Configuring Rewards:

Rewards are stored in JSON-Configuration files in /config/votifier/rewards.

This is the default reward configuration that is created on first launch. You can modify it or add more files there.

{
    "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
        }
    ]
}

Note: as of v1.3.0 (MC 1.12.2), this mod also supports Thut Essentials balance as reward, example:

{
    "type": "thut_pay",
    "amount": 10000
}

 

 

Psstt, hey kid, you like market mods? Why not try out Flea market

Project members
Beardedflea

Beardedflea