Mod
VoteListener
No reviews yet
A vote listener for fabric using NuVotifier-Fabric
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
VoteListener
Setup
This mod is powered by NuVotifer-Fabric. Make sure to setup NuVotifier first, by following their Setup Guide.
Config
The config file is located in ./config/votelistener.json.
{
// Special characters used in commands need to be escaped. Use a website like
// https://www.freeformatter.com/json-escape.html to escape your commands
// Commands have special placeholders:
// ${uuid} - Vote player UUID
// ${username} - Vote player name
// ${serviceName} - Voting website name
// ${address} - IP address of the voter
// ${timeStamp} - Timestamp of the vote
// A list of commands that get executed when the vote is received
"commands": [
"tellraw @a [{\"text\":\"${username}\",\"color\":\"blue\"},{\"text\":\" voted on \",\"color\":\"aqua\"},{\"text\":\"${serviceName}\",\"color\":\"blue\"}]"
],
// A list of commands that gets executed when the player that voted is online or when they join
// The commands will be executed by the player, as if they were OP
// You can use @s to target the player (in commands that support entity selectors)
"onlineCommands": [
"give @s diamond 1"
],
// A map of vote count milestones to commands
// The commands work like onlineCommands, but are only executed once for each milestone
"milestones": {
// After 5 votes the player receives 5 apples
"5": [
"give @s apple 5"
],
"10": [
"give @s golden_apple 2"
]
}
}
Placeholders
votelistener:vote_count- The number of votes a player has accumulated
Permissions
You need to be an operator or have these permissions
votelistener.reload- Access to/votelistener reloadcommand
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers