Votifier - Forge Version

Forge Voting is a Forge Mod that works similiar 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.

 


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


 

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

 

 

Team Rapture

Team Rapture? Team Rapture is a team of Modders, Modpack Makers, Artists, Streamers, and MORE. We are a group filled with talent and with an amazing community backing us. We Create Modpacks and host servers for our amazing community to play with us and our streamers when they play. Our Primary focus is Minecraft but we are NOT a minecraft only team! We Play and HOST other games, like ARK, 7D2D, and A LOT MORE! Interested in being a part of the community?

Click here to join our discord!

 TeamRapture

 Discord    Twitter Twitter    Store Store


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    293830
  • Created
    May 12, 2018
  • Last Released File
    Aug 20, 2018
  • Total Downloads
    744
  • License

Categories

Members