Metadata Wildcard for fabric-permissions-api
ModAn addon for fabric-permissions-api that enables wildcard support in metadata.
Type
Mod
Modrinth Downloads
688
Modrinth ID
eCT6lHG4
Last Updated
May 28, 2026
Description
Metadata Wildcard for fabric-permissions-api
LuckPerms supports wildcard permissions:
lp user <username> permission set luckperms.* trueBut lacks wildcard support for metadata:
lp user <username> meta set some.mod.need.metadata.* 69This 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 mod directory
- Start your game/server once to generate config
- Edit config/MetadataWildcard4fabric-permissions-api/prefix.txt
Default config:
minecraft.selectorWhen 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
Compatibility
Mod Loaders
Game Versions
Similar Mods
Get in the Team!
automatically put mobs to their owners team
Nuclear Wasteland
A mod that adds a new biome structure and blocks.
Multi World Borders Unofficial
Makes world borders work per dimension
project-1415639
Adds a new structure to the Overworld, The Frosthall Pillager Outpost, can be found in Snowy Taiga Biomes with custom Lo...
TFC Season Notifier
A simple TerraFirmaCraft addon that displays a customizable notification whenever the in-game season (month) changes.
Banner Tweaks
Vanilla-friendly tweaks to banners