Scaling Per-Rank Limits with Meta Values
Hardcoding separate if branches for every rank inside your HyperScript commands gets messy fast whenever you add or rename a tier. Instead, Hyper Perms Plugin lets you store numeric or text limits directly on each LuckPerms group and read them dynamically.
1. Define per-rank meta values inside LuckPerms, for example setting a home-limit value on each rank tier.
2. Read the active limit for whoever runs your command with meta "home-limit" of player. Whenever you promote someone or add a timed VIP rank, their effective limit updates automatically without editing a single script line.
3. Combine meta "home-limit" of player with prefix of player and suffix of player inside help or profile menus so players can view both their rank badge and their current limit at a glance.
Querying Group Lists, Weights, and Staff Members
Hyper Perms Plugin also gives your scripts quick lookup phrases for managing server rosters and rank hierarchies cleanly:
- Use
all groupswhen building admin overview commands or validating whether a group name exists before runningset group of player to "veteran". - Use
players in group "staff"to list online staff members, route help messages, or notify moderators during server alerts. - Use
weight of group "vip"to compare rank priority cleanly rather than hardcoding rank order by hand.
Because the plugin collects no data and stores every update strictly inside LuckPerms, your rank meta, group rosters, and offline player changes all stay clean, private, and centralized. Check groups of player too when debugging why a multi-rank player inherited a higher meta limit.