Metadata Wildcard for fabric-permissions-api

Quick rating

Metadata Wildcard for fabric-permissions-api

No reviews yet

An addon for fabric-permissions-api that enables wildcard support in metadata.

API/Library
Mod Loaders
Fabric
Minecraft
26.2

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Unsupported
Server Required

About

Project Details

Type
Mod
License
Apache License 2.0
Latest Version
0.2.0
Authors

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.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Metadata Wildcard for fabric-permissions-api

GitHub commit activity GitHub commits since latest release GitHub contributors GitHub Created At GitHub last commit GitHub top language GitHub Actions Workflow Status GitHub branch check runs GitHub Downloads (all assets, all releases) GitHub Sponsors GitHub Issues or Pull Requests GitHub Issues or Pull Requests GitHub Discussions Modrinth Game Versions GitHub code size in bytes GitHub repo file or directory count GitHub repo size GitHub followers GitHub forks GitHub User's stars Modrinth Followers GitHub Release

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

Maven Central

GitHub Packages

Modrinth

Requirement

Usage

For players

  1. Install the mod in your mod directory
  2. Start your game/server once to generate config
  3. Edit config/MetadataWildcard4fabric-permissions-api/prefix.txt

Default config:

minecraft.selector

When checking a key like minecraft.selector.foo.bar:

  1. First checks for an exact match
  2. 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

@qwertycxz

How could I contribute?

Issue and Pull-requests are both welcomed.

License

Apache 2.0 © qwertycxz

Screenshots

Gallery

This project has no gallery images yet.

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

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~1,000
Downloads
Last Updated
CurseForge
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works