ZelGRank Plugin extends LuckPerms with single-command rank giving, renewal stacking, and rank removal on Paper and Folia servers. It packs four main commands, six operator-default permissions, purchase broadcast announcements, join-time expiry warnings, and a weight-sorted rank menu. Server staff handle both timed and permanent player ranks faster because extra time stacks onto existing ranks and permanent grants replace timed ones automatically. Players see clear purchase broadcasts, hear custom sounds, and get alerts before a rank runs out. This plugin requires LuckPerms to run, works on Paper and Folia region threads with no extra setup, and also works with PlaceholderAPI and other server plugins through its own API.

ZelGRank Plugin

Features:

  • Single-Command Rank Control: Gives, renews, and removes both temporary and permanent LuckPerms ranks with quick chat commands.
  • Automatic Renewal Stacking: Adds new time on top of a player’s active rank so giving 30d to someone with 5d left brings their total to 35d, while giving a permanent rank replaces any timed rank.
  • Purchase Broadcast Announcements: Announces new rank purchases across the server with custom message lines, per-rank or per-duration price entries, a custom sound effect, and target choices for everyone, staff only, or nobody.
  • Join-Time Expiry Warnings: Warns players right when they join the server if one of their ranks is about to end soon.
  • Runs directly on both Paper and Folia region threads with no extra setup needed.
  • Opens a clean rank menu that lists every rank a player currently holds, sorted by weight, right next to the time left on each rank.
  • Stores all plugin text in plugins/ZelGRank/messages.yml with MiniMessage formatting so you can style chat output however you like.
  • Turns off any individual message automatically when you set its value to "", while still accepting legacy {player} placeholders.
  • Works optionally with PlaceholderAPI to show rank status, rank counts, and expiry timers for online players.
  • Includes the ZelGRankApi service so other plugins can inspect or change player ranks and listen for rank events.

Duration Tokens:

  • 30s: sets a duration measured in seconds.
  • 15m: sets a duration measured in minutes.
  • 12h: sets a duration measured in hours.
  • 7d: sets a duration measured in days.
  • 2w: sets a duration measured in weeks.
  • 1M: sets a duration measured in months.
  • 1y: sets a duration measured in years.
  • Chained tokens such as 1d12h combine multiple time units in one command.

PlaceholderAPI Placeholders:

  • %zelgrank_rank%: shows the online player’s active rank.
  • %zelgrank_rankcount%: shows how many ranks the online player holds.
  • %zelgrank_hasrank%: checks whether the online player currently holds a rank.
  • %zelgrank_hasrank_<rank>%: checks whether the online player holds a specific rank.
  • %zelgrank_expires%: shows the remaining time before the online player’s rank ends.
  • %zelgrank_expires_formatted%: shows a formatted expiry timer for the online player’s rank.
  • %zelgrank_expires_<rank>%: shows the expiry time for one specific rank held by the online player.

Plugin API Methods:

  • giveRank: grants or extends a rank through ZelGRankApi.
  • removeRank: removes a rank from a player through ZelGRankApi.
  • getRanks: gets the ranks currently held by a player.
  • getCachedRanks: reads cached rank data for quick lookups.
  • hasRank: checks if a player holds a given rank.
  • lookupUniqueId: looks up a player’s unique ID through the service.
  • Rank events let external plugins react when rank actions happen.

Commands:

  • /giverank <player> <rank> [duration] [-s]: grants or extends a rank for a player; leave out [duration] to make the rank permanent, and add -s to skip the purchase broadcast.
  • /demote <player> <rank>: removes the chosen rank from a player.
  • /ginfo <player>: opens the rank inspection menu showing all ranks the player holds sorted by weight alongside each remaining duration.
  • /zelgrank reload: reloads config.yml and messages.yml.

Configuration:

  • config.yml: stores purchase broadcast lines, broadcast sound settings, recipient targets, price entries, and join-time expiry warning options.
  • rank-prices: sets price entries per rank or per duration shown in purchase announcements.
  • entity.experience_orb.pickup: default sound played when a rank purchase broadcast triggers, which you can swap for another sound in config.yml.
  • all / staff / none: recipient target values that control who sees purchase broadcasts.
  • expiry-warning.enabled: switches join-time expiry warnings on or off in config.yml.
  • expiry-warning.within: sets how early players get a join warning before a rank expires, defaulting to 24h.
  • plugins/ZelGRank/messages.yml: holds all custom text with MiniMessage formatting; set any entry to "" to hide it, or keep legacy {player} placeholders.

Permissions:

  • zelgrank.admin: grants all plugin permissions (defaults to OP).
  • zelgrank.give: allows using /giverank to grant or extend player ranks (defaults to OP).
  • zelgrank.demote: allows using /demote to remove a player’s rank (defaults to OP).
  • zelgrank.info: allows using /ginfo to view a player’s rank menu (defaults to OP).
  • zelgrank.reload: allows reloading config and message files with /zelgrank reload (defaults to OP).
  • zelgrank.notify: lets staff see purchase broadcasts when recipients is set to staff (defaults to OP).

How to Use:

  1. Make sure LuckPerms is already running on your Paper or Folia server before using any rank commands.
  2. Run /giverank <player> <rank> [duration] to grant a player a rank; leave out the duration for a permanent rank, or enter tokens like 7d, 1M, or 1d12h for a timed rank.
  3. Add -s at the end of /giverank whenever you want to apply the rank silently without triggering a purchase broadcast.
  4. Run /giverank again on a player who already holds a timed rank to stack extra duration onto their remaining time, or leave out the duration to replace the timed rank with a permanent one.
  5. Run /demote <player> <rank> to remove a rank from a player right away.
  6. Type /ginfo <player> to open the rank menu and check every rank that player holds, sorted by weight along with the time left on each rank.
  7. Open config.yml to set prices under rank-prices, pick a broadcast sound and target (all, staff, or none), and adjust expiry-warning.enabled or expiry-warning.within for join alerts.
  8. Open plugins/ZelGRank/messages.yml to edit messages with MiniMessage formatting or {player} placeholders, and set any unwanted line to "" to turn it off.
  9. Run /zelgrank reload after editing either file so your new settings and messages take effect right away.

ZelGRank Plugin Download Links

For Minecraft 1.21

Click to rate this post!
[Total: 0 Average: 0]
QUICK MINECRAFT SURVEY · ONE TAP
Servers & Community

How often do you play on Minecraft Realms (either yours or a friend's)?

0 responses · See the full results →