NuVotifier-Fabric

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.1.0+26.1-rc-3
本资源为搬运资源,原资源地址: https://modrinth.com/mod/nuvotifier-fabric
资源信息

Minecraft 版本: 26.1-rc-3 26.1 26.1.1 26.1.2 26.2

平台: fabric quilt

标签: library management social

资源介绍

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.

📥 下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
PokeFireBall

价格:0 墨喵币
下载量:0

查看详情
Cobblemon Trainer Battle SERVERONLY

价格:0 墨喵币
下载量:0

查看详情
No Gaps in Yo Items

价格:0 墨喵币
下载量:0

查看详情
Don't Clear Chat History

价格:0 墨喵币
下载量:0

查看详情