Whitelistd
Whitelistd 通过注入 Minecraft 专用服务器,提供高级的白名单管理功能。
超越原版
可调节的存储模式
Whitelistd 包含多种存储实现,你可以根据需求选择存储模式。
当前开发进度:
- JSON
- MySQL [未实现]
- MongoDB [未实现]
- HTTP API [未实现]
请关注后续版本以获取更多的实现支持。
灵活的配置
Whitelistd 提供了易于理解的配置选项,你可以自由修改白名单的行为。
特色功能:记录(Record)
只需知道玩家名称,即可使用 record 命令添加一个白名单条目。该条目会在玩家首次加入时触发,并自动添加 UUID。
此功能很好地解决了提前不知道玩家 UUID 的情况。(例如,你的服务器正在使用第三方认证 API,如 LittleSkin)
使用方法
从 Versions 下载 JAR 文件。
将 JAR 文件移动到 mods 文件夹中。
确保已添加 Architectury API。
启动服务器。
修改配置文件。
你可以在 wiki 页面 找到相关介绍。
重启服务器。
开始使用。
配置
请参阅 wiki 页面。
命令
请参阅 wiki 页面。
常见问题
问:为什么在使用之前我必须读上面那一堆废话?
答:如果你是一名服务器管理员,我认为这些内容是多余的。但根据 Modrinth 的 内容规则,我必须编写这些内容,以确保用户理解该项目的作用以及使用方法。
问:有 Forge 版本吗?
答:有的,但根据 Modrinth 的 内容规则,我只允许上传一个版本。因此,Forge 版本请前往 GitHub Releases 获取,因为我不想维护这样一个小模组的两个页面。此外,Forge 版本可能不稳定,因为我已没有时间对其进行测试。
问:我应该使用 Whitelistd 而不是原版的白名单功能吗?
答:Whitelistd 具有一些帮助服务器管理员轻松管理白名单的功能。我本身也是一名服务器管理员,因此我会开发那些我觉得有用的功能。但如果它们不能满足你的需求,我建议不要使用 Whitelistd,因为部分功能可能会略微影响服务器性能(在启动、玩家加入等阶段)。
问:你能把它发布到 CurseForge 上吗?
答:没有计划。它强制用户等待 5 秒,这非常糟糕。
问:模组会支持 Quilt 吗?
答:除非有人提交拉取请求,否则模组不会支持 Quilt,因为我不是 Quilt 用户。它可能与 Fabric bridge 兼容,但我不会进行测试。
问:我可以在客户端多人游戏中使用它吗?
答:作为服务器的客户端不会获得任何支持,因为该模组是专为服务器设计的。但你也可以自行承担风险使用:只需确保在首次加入后将自己添加到白名单中,并将 disableClientCheck 设置为 true。
Whitelistd
Whitelistd provides advanced whitelist management through an injection to Minecraft dedicated server.
More than vanilla
Adjustable storage modes
Whitelistd has some storage implementations, you can choose storage mode according to your needs.
Current development progress:
- JSON
- MySQL [Not implemented]
- MongoDB [Not implemented]
- HTTP API [Not implemented]
Please pay attention to subsequent versions for more implementations.
Flexible configuration
Whitelistd has easy-to-understand options for configuration, you can feel free to modify the behavior of whitelist.
The special feature: Record
With only knowing player name, you can use record command to add an whitelist item that hit when the player first joins and automatically add UUID.
This feature nicely solves the situation that the player's UUID is not known in advance. (For example, your server is using 3rd party authentication api like LittleSkin)
Usage
Download JAR from Versions
Move the JAR file to your mods folder.
Make sure you've added Architectury API.
Start the server.
Modify configuration file.
You can find the introduction at wiki page.
Restart the server.
Start to use.
Configuration
Refer to wiki page.
Commands
Refer to wiki page.
FAQ
Q: Why do I have to read a bunch of crap above before using?
A: I think it is useless if you are a server maintainer. But according to Modrinth's Content Rules, I must write that crap to make sure that users understand what the project does and how to use it.
Q: Is there a version for Forge?
A: Yes, but according to Modrinth's Content Rules, I'm only allowed to upload one version, so you can go to GitHub Releases for the Forge version because I don't want to maintain two pages of such a small mod. And the Forge version may be unstable because I have no more time to test it.
Q: Why should I use Whitelistd instead of the vanilla whitelist functions?
A: Whitelistd have some features that help server maintainers to manage whitelist easily. I'm also a server maintainer so I'll make the functions which I find useful. But if they doesn't meet your needs, I recommend not to use Whitelistd because part of the features may slightly affect server performance (when startup, player joining and so on).
Q: Can you release it on CurseForge?
A: No plan. It forces the user to wait 5 seconds, which is terrible.
Q: Will the mod support Quilt?
A: The mod won't support Quilt until someone open a pull request, because I'm not a Quilt user. It may work with Fabric bridge but I won't test.
Q: Can I use it on client-side muitiplayer games?
A: Client as server won't get any support because the mod is designed for server. But you can use it as your own risk: just make sure to add yourself after the first joining and set disableClientCheck to true.
评论 0
登录后参与评分
还没有评论,来抢沙发吧