Minecraft Fabric 服务器规则模组
Server Rules 是一款适用于 Minecraft Fabric 的模组,旨在通过向新玩家展示强制性的规则界面来执行服务器规则。玩家必须在加入游戏前阅读并接受这些规则,从而确保社区环境友好且相互尊重。
功能特性
规则系统
- 自定义规则界面:自动向新玩家展示服务器规则
- 强制验证:玩家必须接受规则才能进行游戏
- 图形化界面:包含滚动条、复选框和可自定义按钮的界面


依赖要求
- Minecraft: 版本 1.20.1 + Fabric
安装方法
-
安装模组:
- 将
serverrules-1.0-SNAPSHOT.jar文件放入mods/文件夹中
- 将
-
启动服务器:
- 模组将在首次启动时自动配置自身
- 配置文件将生成于
config/serverrules/config.yml
配置说明
config/serverrules/config.yml 文件允许您自定义配置内容
rules:
enabled: true
title: §6§lServer Rules
content: |
§b§lWelcome to our community server!
§fBy playing on this server, you agree to follow these rules:
§a1. §fRespect other players and their builds
§a2. §fNo griefing, stealing or intentional destruction
§a3. §fNo offensive language or harassment
§a4. §fRespect protected areas and private properties
§a5. §fNo cheating, hacking or bug exploitation
§a6. §fListen to and respect moderators and administrators
§c§lBreaking these rules may result in a warning,
§c§ltemporary suspension or permanent ban.
§e§lThank you for helping maintain a friendly community!
accept_button: I Accept
decline_button: I Decline
checkbox_text: I understand and accept the rules
declined_message: You must accept the rules to play on this server.
accepted_message: You have accepted the server rules. Welcome!
sending_error_message: 'Error sending rules: %error%'
使用方法
当新玩家连接到服务器时:
- 自动显示:规则界面会自动弹出
- 强制阅读:玩家必须滚动至底部
- 验证选项:完整阅读后,复选框变为可用状态
- 接受操作:玩家必须勾选该框并点击“I Accept(我接受)”
- 记忆保存:接受状态会被保存,无需重复验证
许可证
本项目采用 AGPL-3.0 许可证授权 - 详情请参阅 LICENSE 文件。
作者
DrEmixam - 主要开发者
支持
如需报告错误或请求新功能,请在项目仓库中创建 Issue。
你是这个资源的作者?登录后可认领此资源。
相似资源
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
查看物品与配方
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
评论 0
登录后参与评分
还没有评论,来抢沙发吧