Fern
免责声明!
- 该项目远未完成,仍处于早期开发阶段。
- 错误处理速度及其他功能尚未实现。
- 大多数内容在未来的更新中都会发生变化。
- 不要期望它能立即取代其他权限系统。
概述
Fern 是一个基于 JSON 的权限系统,旨在易于使用和集成,并支持不同的数据存储方式。
此项目不包含任何用于管理权限的命令或工具,它仅提供用于存储和检索权限的后端 API。但部分操作可以通过直接编辑文件来完成。
安装步骤
- 将 Fern 添加到你的服务器中。
- 运行服务器,允许 Fern 生成默认配置文件。
- 停止服务器。
- 根据下表在
config.json中选择一种数据类型。 - 重新启动服务器。
数据存储类型
| 类型 | 描述 |
|---|---|
0 |
将带有权限的数据存储在玩家身上(玩家 {已分配的权限}) |
1 |
将带有玩家的数据存储在权限上(权限 {已分配的玩家}) |
目前数据尚不支持跨不同数据类型迁移。
使用方法
Build.Gradle
repositories {
maven {
url = "https://api.modrinth.com/maven"
}
}
dependencies {
modImplementation "maven.modrinth:fernapi:${fern_version}"
}
properties.gradle
fern_version=0.5.1
所有低于最新版本号的版本可能都不稳定。
下一步计划
- 实用工具模组
- WIKI(维基)
- 使用 Jackson 提升速度
- 错误处理
- 支持更多平台
Fern
Disclaimer!
- The project is not at all finished and is still in early development.
- Error Handling speed and other things are not yet implemented.
- Most things are guaranteed to change in future updates.
- Don't expect this to replace other permission systems yet.
Overview
Fern is a JSON based Permission System made to be easy to use and implement, with different data storage methoads.
This project does not include any commands or utilities to manage permissions, it is only the backend API to store and retrieve permissions. But some can be done by editing files directly.
Setup
- Add Fern to your server.
- Run Server And Allow Fern To Generate Default Config Files.
- Stop The Server.
- Select a data type using the table below in config.json
- Start The Server Again.
Data Storage Types
| Type | Description |
|---|---|
0 |
Stores Data With Permissions In Player (Player {Assigned Perms}) |
1 |
Stores Data With Players In Permissions (Permission {Players Assigned}) |
And data does not port to new data type yet.
Usage
Build.Gradle
repositories {
maven {
url = "https://api.modrinth.com/maven"
}
}
dependencies {
modImplementation "maven.modrinth:fernapi:${fern_version}"
}
properties.gradle
fern_version=0.5.1
All versions below the latest may be unstable.
What's Next
- Utility Mod
- WIKI
- Using Jackson for speed
- Error Handling
- Support for more platforms
版本游戏版本平台发布时间本站下载
测试版
0.5.1
1.21.10 Fabric 9 个月前 ·
0
1.21.10
Fabric
9 个月前
0
下载 FernAPI
测试版
0.4.2
1.21.10 Fabric 9 个月前 ·
0
1.21.10
Fabric
9 个月前
0
下载 FernAPI
正式版
0.4.2
1.21.10 Fabric 9 个月前 ·
0
1.21.10
Fabric
9 个月前
0
下载 FernAPI
测试版
0.4.1
1.21.10 Fabric 9 个月前 ·
0
1.21.10
Fabric
9 个月前
0
下载 FernAPI
测试版
0.4.0
1.21.10 Fabric 9 个月前 ·
0
1.21.10
Fabric
9 个月前
0
下载 FernAPI
测试版
0.3.1
1.21.10 Fabric 11 个月前 ·
0
1.21.10
Fabric
11 个月前
0
下载 FernAPI
测试版
0.3.0
1.21.10 Fabric 11 个月前 ·
0
1.21.10
Fabric
11 个月前
0
下载 FernAPI
测试版
0.2.0
1.21.10 Fabric 1 年前 ·
0
1.21.10
Fabric
1 年前
0
下载 FernAPI
测试版
0.1.0
1.21.10 Fabric 1 年前 ·
0
1.21.10
Fabric
1 年前
0
下载 FernAPI
0.5.1
测试版
2026-02-04
未指定更新日志。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
Woot Revived
pharuxtan
一个用于收集生物掉落物的多区块模组。
生物科技
349
模组
玉Jade ?
Snownee
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
实用前置
247
模组
物品管理器Just Enough Items (JEI)
mezz
查看物品与配方
前置实用
229
模组
Fast Noise
omo50
原版世界生成优化模组
优化世界生成
222
模组
Xaero的小地图
thexaero
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
冒险交通
196
模组
KubeJS
Lat
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
前置实用
181
评论 0
登录后参与评分
还没有评论,来抢沙发吧