Votifier
GitHub 页面:
下载链接:
Votifier 是什么?
Votifier 是一个 Bukkit 插件,其作用是在 Minecraft 服务器列表上有人为服务器投票时发出通知(即被 投票)。Votifier 会创建一个轻量级服务器,等待来自 Minecraft 服务器列表的连接,并使用简单的协议获取有关该投票的信息。Votifier 是且永远是开源的。
它安全吗?
Votifier 采用 2048 位 RSA 加密,以确保没有人可以伪造投票数据包。首次运行 Votifier 时,它会为你的服务器生成唯一的密钥对。当你将 Votifier 注册到支持它的服务器列表时,该服务器列表会要求提供你的公钥 RSA 密钥,以便在发送给你之前对投票数据包进行加密。Votifier 非常安全,甚至其自身的开发者也无法破解它。
Votifier 收到投票通知时会做什么?
Votifier 拥有投票监听器系统,当 Votifier 收到投票通知时,监听器会收到通知。这有点像 Bukkit 插件系统本身。这些监听器中的每一个都可以执行自己的任务(例如通过 iConomy 奖励玩家等)以响应投票。
要安装投票监听器,只需将其放入 Votifier 的 listeners 文件夹中。
请注意,必须首先运行 Votifier,才会创建此文件夹。
若要记录投票日志,可以使用 FlatfileVoteListener。此监听器会将投票记录到位于 plugins/Votifier/votes.log 的文本文件中。
在哪里可以找到投票监听器?
投票监听器可以在 投票监听器论坛 找到。
如何编写投票监听器?
有关如何编写投票监听器的信息,请查看我们 wiki 上的 投票监听器页面。
如何测试我的 Votifier 安装?
Minestatus 是一个 Minecraft 服务器列表,它还提供了一个免费工具:Minecraft Servers
我的服务器列表如何支持 Votifier?
有关 Votifier 协议的信息,请查看我们 wiki 上的 协议文档页面。
故障排除
如果你遇到问题,请参阅我们 wiki 上的 故障排除页面。
更新日志
- 1.0 - 首次发布,包含基本协议支持。
- 1.1 - 添加加密支持,2048 位 RSA。
- 1.2 - 错误修复、协议更改及其他内容。
- 1.3 - 添加了更动态的投票监听器系统。
- 1.4 - 重要的错误修复。
- 1.5 - 在接收和处理投票通知出现问题时显示错误。损坏的监听器不再阻止向其他监听器发送通知。
- 1.6 - 不再使用已弃用的 Configuration 类,并进行了一些次要更改。
- 1.7 - 修复投票监听器的加载,仅尝试加载
.class 文件。
- 1.8 - 由 frelling 贡献
- 更具描述性的错误消息。
- 如果在
server.properties 中指定了值,则默认情况下 host 值设置为 server-ip 的值,否则 host 设置为 0.0.0.0。
- 在初始配置时,会出现一条消息提醒用户验证 Votifier 的默认端口
8192 是否可用。
- 当 Votifier 无法正确初始化时,会更优雅地退出。
- 投票通知会生成一个 Bukkit VotifierEvent,可在其他插件中使用。
- 绑定错误会指示用户验证其地址/端口配置。
- 发生 BadPaddingException 时,会有一条消息询问用户验证其公钥是否正确。
- 当
rsa 文件夹缺失时,RSA 密钥会重新生成。
- 1.9
- 当在
config.yml 中定义了不存在的监听器目录时,会显示描述性消息 - 由 frelling 贡献
- 防止 Votifier 生成的默认监听器路径在 Windows 上使用
config.yml 中的反斜杠 (\) - 由 SmilingDevil 贡献
Votifier
GitHub page:
Download link:
What is Votifier?
Votifier is a Bukkit plugin whose purpose is to get notified (aka votified) when a vote is made on a Minecraft server list for the server. Votifier creates a lightweight server that waits for connections by a Minecraft server list and uses a simple protocol to get information about that vote. Votifier is and always will be open-source.
Is it secure?
Votifier employs 2048-bit RSA encryption to ensure that nobody can spoof a vote packet. When Votifier is run for the first time, it generates a unique key pair only for your server to use. When you register Votifier with a supporting server list, that server list will ask for your public RSA key so it can encrypt vote packets before sending them to you. Votifier is so secure, not even its own developers can hack it.
What does Votifier do when it receives a vote notification?
Votifier has a vote listener system where listeners are notified when Votifier receives a vote notification. Sort of like the Bukkit plugin system itself. Each of these listeners can carry out their own task (i.e. rewarding the player via iConomy, etc.) in response to the vote.
To install a vote listener, simply put it in Votifier's listeners folder.
Note that you must run Votifier first before this folder is made.
For having a log of votes, the FlatfileVoteListener can be used. This listener logs votes to a text file located at plugins/Votifier/votes.log
Where can I find vote listeners?
Vote listeners can be found at the vote listeners forum.
How do I write a vote listener?
Information about how to write a vote listener can be found on the vote listeners page on our wiki.
How can I test my Votifier installation?
Minestatus is a Minecraft server list that also provides a free tool: Minecraft Servers
How can my server list support Votifier?
Information about Votifier's protocol can be found on protocol documentation page on our wiki.
Troubleshooting
If you are having problems, please see the troubleshooting page on our wiki.
Changelog
- 1.0 - First release, includes basic protocol support.
- 1.1 - Encryption support added, 2048-bit RSA.
- 1.2 - Bug fixes, protocol changes, and other things.
- 1.3 - Added a more dynamic vote listener system.
- 1.4 - Important bug fixes.
- 1.5 - Errors are displayed when problems occur with receiving and processing vote notifications. A broken listener should no longer prevent notifications from being sent to the other listeners.
- 1.6 - The deprecated Configuration class is no longer used along with some minor changes.
- 1.7 - Fix loading of vote listeners to only attempt to load
.class files.
- 1.8 - Contributions by frelling
- More descriptive error messages.
host value is set to the value of server-ip in server.properties by default if a value is specified, otherwise host is set to 0.0.0.0.
- A message will appear informing the user to verify that Votifier's default port,
8192, is available for use upon initial configuration.
- More graceful exit when Votifier fails to initialize properly.
- Vote notifications generate a Bukkit VotifierEvent, which can be used in other plugins.
- A binding error instructs the user to verify their address/port configuration.
- A message asks the user to verify if their public keys are correct when a BadPaddingException occurs.
- RSA keys are regenerated when the
rsa folder is missing.
- 1.9
- Descriptive message is displayed when a non-existent listener directory is defined in
config.yml - contributed by frelling
- Prevent default listener path generated by Votifier from using the backslash (\) in
config.yml on Windows - contributed by SmilingDevil
评论 0
登录后参与评分
还没有评论,来抢沙发吧