SimplePoll
SimplePoll 是一款小型投票插件,专为希望让服务器玩家轻松进行投票的服务器设计。
需要决定下一个活动?让玩家选择下一张地图?想要平息服务器内的争论?只需创建一个投票,让大家一起投票决定。
功能
-
用于查看进行中及已完成投票的图形界面(GUI)

-
当投票数量较多时,页面会自动分页
-
创建新投票时,向全服发送公告
-
公告中包含可点击的
[Click here to answer it!]按钮 -
基于聊天的简单投票创建向导
-
通过点击选项或在聊天中输入编号来投票
-
可为投票设置时间限制,或让其永久运行
-
支持玩家更改投票
-
投票数据保存至磁盘,重启后不丢失
-
多种处理平局的方式
-
几乎所有内容均可在配置文件中修改
-
自定义 GUI 标题、物品、槽位、描述、音效和消息
-
支持普通的
&颜色代码和十六进制颜色 -
无需数据库
工作原理
玩家可以使用 /poll 打开主菜单。

在那里,他们可以看到任何正在进行的投票,并浏览之前投票中已完成的记录。
要投票,只需打开一个投票并点击你想要的选项即可。
如果你更喜欢使用聊天,也可以输入选项对应的数字。GUI 会告诉你该输入哪个数字,因此无需记忆任何东西。
投票结束后,SimplePoll 会统计得票最多的选项并宣布结果。
创建投票
创建投票的过程旨在尽可能简单。
如果你拥有 simplepoll.create 权限,你可以点击 GUI 中的“创建投票”按钮,或者运行:
/poll create

随后,系统会在聊天中询问你几个问题:
- 为投票命名
- 输入问题
- 添加你的选项
- 设置投票持续时间
- 检查所有内容
- 确认
如果你在过程中出错或改变主意,可以随时输入 cancel 来取消操作。
投票公告
当有人创建投票时,SimplePoll 可以自动通知整个服务器。
消息格式大致如下:
Poll » PlayerName has made a poll: Server Event! [Click here to answer it!]
该按钮实际上是可点击的。玩家可以点击它,SimplePoll 将为他们执行 /poll 命令。
你无需自己编写 tellraw 命令或摆弄 JSON。
不想使用公告?也没问题。你可以通过以下配置将其关闭:
poll-announcement.enabled: false

投票
投票过程非常直接。
打开一个投票,选择一个选项,你的投票就会被保存。
如果启用了 voting.allow-vote-changes,玩家在改变主意后可以再次投票。他们的旧投票将被替换,因此重复投票不会使他们获得两张选票。
如果禁用此功能,他们的第一次投票将保持不变。
结束投票
投票可以在计时器耗尽时自动结束。
管理员还可以使用以下命令提前结束投票:
/poll end <name>
一旦投票结束,得票最多的选项即为获胜者。
如果有两个或多个选项票数相同(平局),你可以决定 SimplePoll 应如何处理平局情况。
可用的模式有:
- 所有并列的选项均获胜
- 随机从并列选项中选择一个
- 最先添加的选项获胜
命令
| 命令 | 描述 |
|---|---|
/poll |
打开主投票菜单 |
/poll create |
开始创建新投票 |
/poll active |
显示进行中的投票 |
/poll completed |
显示已完成的投票 |
/poll end <name> |
提前结束进行中的投票 |
/poll cancel <name> |
取消进行中的投票 |
/poll reload |
重新加载 config.yml |
权限
| 权限 | 默认值 | 描述 |
|---|---|---|
simplepoll.use |
true | 允许玩家使用 /poll 并进行投票 |
simplepoll.create |
op | 允许玩家创建投票 |
simplepoll.end |
op | 允许玩家结束投票 |
simplepoll.cancel |
op | 允许玩家取消投票 |
simplepoll.reload |
op | 允许玩家重新加载配置文件 |
simplepoll.admin |
op | 授予所有 SimplePoll 权限 |
配置
SimplePoll 故意设计为高度可配置。
你可以更改以下内容:
- 最小和最大投票选项数量
- 投票持续时间
- 是否允许投票没有时间限制
- 保存多少条已完成的投票记录
- 是否允许玩家更改投票
- 是否允许玩家查看投票计数
- 如何处理平局
- 是否发布新投票公告
- GUI 名称和大小
- GUI 物品材质
- GUI 槽位
- 物品名称和描述
- 音效
- 插件消息
- 聊天前缀
颜色使用标准的 Minecraft 格式:
&a
&c
&d
也支持十六进制颜色:
7FFFF
SimplePoll
SimplePoll is a small polling plugin made for servers that want an easy way to let players vote on things.
Need to decide the next event? Let players pick the next map? Want to settle a server argument? Just make a poll and let everyone vote.
Features
-
GUI for viewing active and completed polls

-
Pages automatically when you have a lot of polls
-
Server-wide announcements when a new poll is created
-
Clickable
[Click here to answer it!]button in the announcement -
Simple chat-based poll creation wizard
-
Vote by clicking an option or typing its number in chat
-
Set a time limit for polls, or let them run forever
-
Option to let players change their vote
-
Polls are saved to disk and survive restarts
-
Different ways to handle tied votes
-
Pretty much everything can be changed in the config
-
Custom GUI titles, items, slots, lore, sounds, and messages
-
Supports normal
&colors and hex colors -
No database required
How It Works
Players can use /poll to open the main menu.

From there, they can see any active polls and look through completed polls from previous votes.
To vote, just open a poll and click the option you want.
If you prefer using chat, you can also type the number of the option instead. The GUI tells you what number to type, so there's no need to remember anything.
Once the poll ends, SimplePoll figures out which option got the most votes and announces the result.
Creating a Poll
Creating a poll is meant to be pretty simple.
If you have the simplepoll.create permission, you can either click the Create Poll button in the GUI or run:
/poll create

You'll then be asked a few questions in chat:
- Give the poll a name
- Enter the question
- Add your options
- Set how long the poll should last
- Look over everything
- Confirm it
If you mess something up or just change your mind, type cancel at any point to stop.
Poll Announcements
When someone creates a poll, SimplePoll can let the entire server know about it automatically.
The message looks something like:
Poll » PlayerName has made a poll: Server Event! [Click here to answer it!]
The button is actually clickable. Players can click it and SimplePoll will run /poll for them.
You don't have to make your own tellraw command or mess around with JSON.
Don't want announcements? That's fine too. You can turn them off with:
poll-announcement.enabled: false

Voting
Voting is pretty straightforward.
Open a poll, choose an option, and your vote is saved.
If voting.allow-vote-changes is enabled, players can vote again if they change their mind. Their old vote gets replaced, so voting twice doesn't give them two votes.
If it's disabled, their first vote stays.
Ending Polls
Polls can end automatically when their timer runs out.
Admins can also end them early with:
/poll end <name>
Once a poll ends, the option with the most votes wins.
If two or more options are tied, you can decide what SimplePoll should do with the tie.
The available modes are:
- All tied options win
- Pick one of the tied options randomly
- The option that was added first wins
Commands
| Command | Description |
|---|---|
/poll |
Opens the main poll menu |
/poll create |
Starts creating a new poll |
/poll active |
Shows active polls |
/poll completed |
Shows completed polls |
/poll end <name> |
Ends an active poll early |
/poll cancel <name> |
Cancels an active poll |
/poll reload |
Reloads config.yml |
Permissions
| Permission | Default | Description |
|---|---|---|
simplepoll.use |
true | Lets players use /poll and vote |
simplepoll.create |
op | Allows players to create polls |
simplepoll.end |
op | Allows players to end polls |
simplepoll.cancel |
op | Allows players to cancel polls |
simplepoll.reload |
op | Allows players to reload the config |
simplepoll.admin |
op | Gives all SimplePoll permissions |
Configuration
SimplePoll is intentionally pretty configurable.
You can change things like:
- Minimum and maximum poll options
- Poll duration
- Whether polls can have no time limit
- How many completed polls are saved
- Whether players can change their votes
- Whether players can see vote counts
- How ties are handled
- Whether new polls are announced
- GUI names and sizes
- GUI item materials
- GUI slots
- Item names and lore
- Sounds
- Plugin messages
- Chat prefixes
Colors use the normal Minecraft format:
&a
&c
&d
Hex colors are supported too:
7FFFF
下载 SimplePoll
下载 SimplePoll
下载 SimplePoll
下载 SimplePoll
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 SimplePoll
下载 SimplePoll
下载 SimplePoll
下载 SimplePoll
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 SimplePoll
下载 SimplePoll
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
使床在所有维度中爆炸的模组
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
评论 0
登录后参与评分
还没有评论,来抢沙发吧