跳到正文

Server Vote

作者:hennyhex

Server-side mod that allows online players to vote for certain actions, eg: change the weather.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Simple server-side mod that allows all players on the server to vote for certain actions, eg: change the weather.

You can add your own votes that run a certain command in the config.

COMMANDS:
/vote – base command, does nothing

/vote weather – starts a vote to change the weather to CLEAR

/vote yes – vote yes in the current vote

/vote no – vote no in the currnet vote

Vote example

voteYESexample

CONFIG:

config screenshot

Above is the default config. This will create:

  • a vote called “test” (/vote test) that will run the command “/say hello from console” if the majority have voted yes.
  • a vote called “diamonds” which will give everyone on the server a diamond if the majority votes for it.

The “desc” is the description used in chat. (eg. “USER has started a vote to give everyone a diamond.”)

The config follows the JSON format. Make sure your config is formatted correctly here – https://jsonlint.com/

[[CLICK HERE TO JOIN SUPPORT DISCORD]](https://discord.gg/ZBFtVFnmHy)

常见问题

Server Vote 支持哪些 Minecraft 版本?

Server Vote 支持 Minecraft Java 版 1.16.5–1.21.1,共 3 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Server Vote 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

hennyhex 的其他作品

查看全部 →