Mod
NuVotifier-Fabric
No reviews yet
A fork of Votifier, with more robust code and vote forwarding for fabric.
Provides a framework or library for other mods to use.
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
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:
- This module has been PRed to the original repository, however the author has never published a release of it.
- Due to the nature of Fabric, it requires regular updates to support the latest Minecraft version.
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:
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.
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