HomeJavaModsNuVotifier-Fabric
ModsJava

NuVotifier-Fabric

by DrexHD · on Modrinth

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 26.1–26.2 · Fabric⬇ Download for 1.21.11 · Fabric⬇ Download for 1.21.10 · Fabric⬇ Download for 1.21.6–1.21.9 · Fabric⬇ Download for 1.21.2–1.21.5 · Fabric⬇ Download for 1.21.1 · Fabric⬇ Download for 1.21 · Fabric⬇ Download for 1.20.5–1.20.6 · Fabric⬇ Download for 1.20.3–1.20.4 · Fabric⬇ Download for 26.1–26.2 · Quilt⬇ Download for 1.21.11 · Quilt⬇ Download for 1.21.10 · Quilt⬇ Download for 1.21.6–1.21.9 · Quilt⬇ Download for 1.21.2–1.21.5 · Quilt⬇ Download for 1.21.1 · Quilt⬇ Download for 1.21 · Quilt⬇ Download for 1.20.5–1.20.6 · Quilt⬇ Download for 1.20.3–1.20.4 · Quilt
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

NuVotifier-Fabric

NuVotifier is a secure alternative to using the original Votifier project. NuVotifier will work in place of Votifier.

NuVotifier-Fabric is an implementation of NuVotifier for Fabric. This implementation has been moved away from the main repository for two reasons:

  1. This module has been PRed to the original repository, however the author has never published a release of it.
  2. Due to the nature of Fabric, it requires regular updates to support the latest Minecraft version.

Setup Guide

Troubleshooting Guide

Developer Information

Developing a vote listener

Adding NuVotifier-Fabric as a dependency to your build system

You can include NuVotifier-Fabric into your gradle project using the following lines:

Latest NuVotifier-Fabric version:

Latest NuVotifier version:

repositories {
	maven { url 'https://jitpack.io' } // required for NuVotifier
	maven { url "https://api.modrinth.com/maven" }
}

dependencies {
	modImplementation("maven.modrinth:nuvotifier-fabric:VERSION")
}

Writing Vote Listeners

A vote listener registers the VoteListener.EVENT. A basic vote listener looks something like this:

package me.drex.fabricvotelistener;

import com.vexsoftware.votifier.fabric.event.VoteListener;
import net.fabricmc.api.DedicatedServerModInitializer;

public class TestVoteListener implements DedicatedServerModInitializer {
    @Override
    public void onInitializeServer() {
        VoteListener.EVENT.register(vote -> {
            System.out.println("Received " + vote);
        });
    }
}

Add nuvotifier-fabric as a dependency in your fabric.mod.json

{
  "depends": {
    "nuvotifier-fabric": "*"
  }
}

License

NuVotifier is GNU GPLv3 licensed. This project's license can be viewed here.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more