azuvotifier
一个带有各种增强功能的 NuVotifier 分支,例如 Redis 转发以及对更多平台的支持。 来自原始 README:
NuVotifier 是使用原版 Votifier 项目的安全替代方案。 NuVotifier 可以取代 Votifier —— 任何支持 Votifier 的投票监听器也将支持 NuVotifier。
有用资源
支持的平台
azuvotifier 目前支持以下平台:
- CraftBukkit、Spigot、Paper、Pufferfish 或 Purpur (1.8.8+)
- 旧版本可能也能工作,但不提供技术支持。
- 没有重大破坏性更改的任何分支也应能正常工作。
- Folia (1.21.5+)
- Fabric (1.21.10)
- Sponge 11 (1.20+)
- BungeeCord/Waterfall
- Velocity
它还可以使用 redis 和 proxy 转发方法作为独立应用程序运行。
运行方式
你可以直接从 GitHub 或 Modrinth 获取最新版本。 然后,按照你的服务器软件或独立版本的说明进行操作:
Bukkit, Folia, Sponge, BungeeCord 和 Velocity
将下载的 JAR 拖入 plugins/ 文件夹。你应该下载文件名中包含你服务器软件的 JAR。
如果你操作正确,它应该开箱即用。
Fabric
将下载的 JAR 拖入 mods/ 文件夹。你还需要下载并安装
Fabric API。
独立版
打开终端,进入之前下载的 JAR 所在的目录,然后像这样运行它:
$ java -Xms512M -Xmx512M -jar azuvotifier-standalone.jar
你也可以使用命令行参数来配置某些设置,例如主机名:
$ java -Xms512M -Xmx512M -jar azuvotifier-standalone.jar --host 127.0.0.1 --config /etc/nuvotifier/
要获取完整的选项列表,请运行:
$ java -jar azuvotifier-standalone.jar --help
使用 Docker 运行独立版
Docker Hub 上提供了独立版的 Docker 镜像。要拉取它,请运行:
$ docker pull azurejelly/standalone-nuvotifier:latest # 用于最新的稳定版本
$ docker pull azurejelly/standalone-nuvotifier:unstable # 用于 master 上的最新提交
然后,你可以使用如下命令运行该镜像:
$ docker run -p 8192:8192 \
-v /etc/nuvotifier:/app/config \
--restart unless-stopped \
--name nuvotifier \
azurejelly/standalone-nuvotifier:latest \
--port 8192
这将:
- 在宿主机上暴露端口 8192;
- 使用 socket 挂载将
/etc/nuvotifier(宿主机)映射到/app/config(容器); - 除非手动停止,否则自动重启容器;
- 将容器命名为
nuvotifier; - 使用
azurejelly/standalone-nuvotifier:latest镜像; - 并将
--port 8192作为命令行参数传递给 NuVotifier。- 这不是必需的,因为
8192/tcp已经是默认端口,但这有助于展示你可以传递诸如--port或--config之类的参数。
- 这不是必需的,因为
如果你想使用 Docker Compose,仓库中提供了一个示例 docker-compose.yml 文件。
许可证
azuvotifier 采用 GNU GPLv3 许可证。本项目的许可证可查看 此处。
azuvotifier
A fork of NuVotifier with various enhancements, such as Redis forwarding and support for additional platforms. From the original README:
NuVotifier is a secure alternative to using the original Votifier project. NuVotifier will work in place of Votifier - any vote listener that supports Votifier will also support NuVotifier.
Useful resources
Supported platforms
azuvotifier is currently supported on the following platforms:
- CraftBukkit, Spigot, Paper, Pufferfish or Purpur (1.8.8+)
- Older versions might work but no support will be provided.
- Any fork without significant breaking changes should also work.
- Folia (1.21.5+)
- Fabric (1.21.10)
- Sponge 11 (1.20+)
- BungeeCord/Waterfall
- Velocity
It can also run as a standalone application using the redis and proxy forwarding methods.
Running
You can get the latest release directly from GitHub or Modrinth. Then, follow the instructions for your server software or the standalone version:
Bukkit, Folia, Sponge, BungeeCord and Velocity
Drag and drop the downloaded JAR into your plugins/ folder. You should've downloaded the JAR that has your server software in its name.
If you've done everything right, it should work out of the box.
Fabric
Drag and drop the downloaded JAR into your mods/ folder. You'll also need to download and install
Fabric API.
Standalone
Open up the terminal, go into the directory the previously downloaded JAR is at, and then run it like this:
$ java -Xms512M -Xmx512M -jar azuvotifier-standalone.jar
You can also use command line arguments to configure some settings, such as the hostname:
$ java -Xms512M -Xmx512M -jar azuvotifier-standalone.jar --host 127.0.0.1 --config /etc/nuvotifier/
To get a full list of options, run:
$ java -jar azuvotifier-standalone.jar --help
Standalone with Docker
A Docker image for the standalone version is available at Docker Hub. To pull it, run:
$ docker pull azurejelly/standalone-nuvotifier:latest # for the latest stable release
$ docker pull azurejelly/standalone-nuvotifier:unstable # for the latest commit on master
You can then run the image using a command like:
$ docker run -p 8192:8192 \
-v /etc/nuvotifier:/app/config \
--restart unless-stopped \
--name nuvotifier \
azurejelly/standalone-nuvotifier:latest \
--port 8192
This will:
- Expose port 8192 on the host machine;
- Map
/etc/nuvotifier(host) to/app/config(container) using socket mounts; - Restart the container automatically unless stopped;
- Name the container
nuvotifier; - Use the
azurejelly/standalone-nuvotifier:latestimage; - And pass
--port 8192as a command line argument to NuVotifier.- Not required as
8192/tcpis already the default port, but helps to show that you can pass arguments such as--portor--config.
- Not required as
If you want to use Docker Compose, an example docker-compose.yml file is available on the repository.
License
azuvotifier is GNU GPLv3 licensed. This project's license can be viewed here.
下载 azuvotifier
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 azuvotifier
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 azuvotifier
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 azuvotifier
下载 azuvotifier
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 azuvotifier
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 azuvotifier
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 azuvotifier
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 azuvotifier
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 azuvotifier
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
重大变更
- 重组
common模块
面向用户的变更
- 添加 Fabric 支持
- 更新文档和工件名称,将 'nuvotifier' 替换为 'azuvotifier'
- 修复独立实现未遵循与其他平台相同的错误日志行为的问题
- 使用
ProtocolVersion#getHumanReadable()在日志中显示协议版本 - 替换旧的 Sponge 命令
- 要重新加载插件,请使用
/votifier reload - 要发送测试投票,请使用
/votifier test
- 要重新加载插件,请使用
内部变更
- 重组 Gradle 版本目录
- 将
velocity-api更新至3.4.0-SNAPSHOT - 将
https://nexus.velocitypowered.com替换为新的 PaperMC 仓库 - 添加 Java 和发布约定
- 移除冗余的
folia模块 - 对工具类和部分 getter 方法使用 Lombok
- 添加
ProtocolVersion#getHumanReadable()
完整更改日志:
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧