NuVotifier-Fabric
A fork of Votifier, with more robust code and vote forwarding for fabric.
- Загрузки
- 3K
- Подписчики
- 7
- Обновлён
- 24 марта 2026 г.
- Лицензия
- LGPL-3.0-only
Опубликован 9 февраля 2024 г.
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.
Ченджлог
1.1.0+26.1-rc-3Релиз26.1.1, 26.1.2, 26.2 · 24 марта 2026 г.
Changed
- Configuration Directory from
config/toconfig/NuVotifier(@Qumoo)
1.1.0+1.21.11-rc2Релиз1.21.11-rc2, 1.21.11 · 6 декабря 2025 г.
Changed
- Configuration Directory from
config/toconfig/NuVotifier(@Qumoo)
1.1.0+1.21.10Релиз1.21.10 · 6 декабря 2025 г.
Changed
- Configuration Directory from
config/toconfig/NuVotifier(@Qumoo)
1.1.0+1.21.1Релиз1.21.1 · 6 декабря 2025 г.
Changed
- Configuration Directory from
config/toconfig/NuVotifier(@Qumoo)
1.0.2+1.21.6-rc1Релиз1.21.8, 1.21.9, 1.21.10 · 13 июня 2025 г.
Changed
- Improve dependency management
1.0.1+1.21.6-rc1Релиз1.21.6, 1.21.7, 1.21.8 · 13 июня 2025 г.
Fixed
- Vote forwarding
1.0.1+1.21.1Релиз1.21, 1.21.1 · 11 июня 2025 г.
Fixed
- Vote forwarding
1.0.1+1.21.4Релиз1.21.4, 1.21.5-rc2, 1.21.5 · 14 января 2025 г.
Fixed
- Vote forwarding
Комментарии
Загружаем…