Metadata Wildcard for fabric-permissions-api
No reviews yet
An addon for fabric-permissions-api that enables wildcard support in metadata.
Provides a framework or library for other mods to use.
Fabric is a mod loader for versions 1.14+ of Minecraft, particularly popular for client side and optimization mods.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
Metadata Wildcard for fabric-permissions-api
LuckPerms supports wildcard permissions:
lp user <username> permission set luckperms.* true
But lacks wildcard support for metadata:
lp user <username> meta set some.mod.need.metadata.* 69
This fabric-permissions-api addon enables wildcard metadata resolution for any mod using the permissions API.
Synopsis
This mod works like when apply-wildcards= true and apply-sponge-implicit-wildcards= false
Download
Requirement
- Minecraft ⩾ 1.16.5
- Fabric
- fabric-permissions-api ⩾ 0.3.1
- Any permission mod supports fabric-permissions-api (e.g. LuckPerms)
Usage
For players
- Install the mod in your
moddirectory - Start your game/server once to generate config
- Edit
config/MetadataWildcard4fabric-permissions-api/prefix.txt
Default config:
minecraft.selector
When checking a key like minecraft.selector.foo.bar:
- First checks for an exact match
- If not found, checks parent keys with wildcards in descending order:
minecraft.selector.foo.*minecraft.selector.*
- Returns unset if no match is found
For modders
Add dependency in build.gradle:
// Optional dependency (users install manually)
modImplementation("top.qwertycxz:metadatawildcard4fabric-permissions-api:0.0.1")
// OR bundle with your mod
include(modImplementation("top.qwertycxz:metadatawildcard4fabric-permissions-api:0.0.1"))
Runtime Configuration
MetadataWildcard.prefixStrings.add("your.mod.metadata.prefix");
Equivalent to adding your.mod.metadata.prefix in prefix.txt.
Contributor
How could I contribute?
Issue and Pull-requests are both welcomed.
License
Apache 2.0 © qwertycxz
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers