ModMIT
FernAPI
A JSON Based Permission API (WIP)
66
Downloads
0
Followers
2 months ago
Updated
📦
9
Versions
📖About FernAPI
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