? 规则
一款简洁且灵活的 Minecraft Spigot/Paper 插件,允许服务器管理员使用 rules.yml 文件来管理和展示自定义服务器规则。
非常适合希望提供易于编辑的游戏内或聊天显示规则消息的服务器。
⚙️ 功能特性
- ? 从外部
rules.yml 文件加载和管理规则
- ✏️ 轻松更新或替换你的服务器规则
- ? 首次启动时自动创建默认的
rules.yml
- ⚡ 轻量高效——仅在需要时加载
? 安装方法
- 下载插件
.jar 文件
- 将其放入服务器的
plugins/ 文件夹中
- 启动或重载你的服务器
- 插件文件夹中将生成一个名为
rules.yml 的文件
你可以随时打开并编辑此文件以更改服务器规则。
? 开发者信息
主要工具类:
de.scholle.rules.RulesManager
关键方法:
getRulesText() → 返回 YAML 文件中存储的规则文本
setRulesText(String text) → 更新规则文本并保存
loadRules() → 初始化或重新加载规则文件
默认生成的文件:
plugins/Rules/rules.yml
? 兼容性
- ✅ 适用于 Spigot、Paper 和 Purpur
- ? 兼容 Minecraft 1.18+
- ⚙️ 需要 Java 17+
?? 作者
开发: Scholle
包名: de.scholle.rules
? 许可证
本项目遵循 Apache License 2.0 许可证授权。
你可以在遵守该许可证条款的前提下使用、修改和分发本软件。
更多信息请参阅:
? Rules
A simple and flexible Minecraft Spigot/Paper plugin that allows server administrators to manage and display custom server rules using a rules.yml file.
Perfect for servers that want to provide easily editable in-game or chat-displayed rule messages.
⚙️ Features
- ? Loads and manages rules from an external
rules.yml file
- ✏️ Easily update or replace your server rules
- ? Automatically creates a default
rules.yml on first launch
- ⚡ Lightweight and efficient — only loads when needed
? Installation
- Download the plugin
.jar file
- Place it inside your server’s
plugins/ folder
- Start or reload your server
- A file named
rules.yml will be generated in the plugin folder
You can open and edit this file at any time to change your server’s rules.
? Developer Information
Main utility class:
de.scholle.rules.RulesManager
Key methods:
getRulesText() → Returns the rules text stored in the YAML file
setRulesText(String text) → Updates the rules text and saves it
loadRules() → Initializes or reloads the rules file
Default file created:
plugins/Rules/rules.yml
? Compatibility
- ✅ Works on Spigot, Paper, and Purpur
- ? Compatible with Minecraft 1.18+
- ⚙️ Requires Java 17+
?? Author
Developed by: Scholle
Package: de.scholle.rules
? License
This project is licensed under the Apache License 2.0.
You may use, modify, and distribute it in compliance with the terms of that license.
For more information, see:
评论 0
登录后参与评分
还没有评论,来抢沙发吧