⭐ hGrant ⭐ [1.16.X-26.X] | Luckperms, Vault, PlaceholderAPI, and more support! icon

⭐ hGrant ⭐ [1.16.X-26.X] | Luckperms, Vault, PlaceholderAPI, and more support! -----

The best /grant plugin to your minecraft server!



hGrant
Configurable Grant GUI with Limits, Cooldowns, PlaceholderAPI and LuckPerms Support
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
hGrant is a configurable grant system for Minecraft servers.
The plugin allows players or staff members with access to open a grant GUI for a target player and issue configured rewards, temporary groups, currency rewards or any other action-based grant.
Each grant can have its own GUI item, limit, cooldown, restore timer, duration, actions for the grantor, actions for the target and PlaceholderAPI values.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Main Features
  • Grant GUI opened through /grant <player>.
  • Separate GUI files for different grantor groups.
  • Configurable grant limits.
  • Configurable cooldown after each grant.
  • Optional limit restore timer.
  • Temporary duration values for grant actions.
  • Amount values for currency-style grants.
  • Separate item views for available, cooldown and exhausted states.
  • Custom materials, names, lore, enchantments and item flags.
  • Custom decorative GUI items.
  • PlaceholderAPI placeholders for available grants, used grants and cooldowns.
  • SQLite storage by default.
  • Optional MySQL storage.
  • Optional LuckPerms integration.
  • Optional Vault actions.
  • Public GrantEvent API.
  • Hex color support.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
How It Works
A player uses:
Code (Text):
/grant <player>
The plugin checks whether the sender can use the grant system, finds the correct GUI for the sender, loads available grants and opens the configured menu for the selected target.
When a grant item is clicked, hGrant checks its current state:
  • available - the grant can be issued.
  • cooldown - the player must wait before issuing this grant again.
  • notAvailable - the grant limit has been reached.
If the grant is available, the plugin saves the updated usage data, executes grantor actions and then executes target actions if the target is online.
────────────────────────────────────────
Group-Based GUI Selection
hGrant can use LuckPerms groups or permissions to decide which GUI a player should see.
Default GUI files are stored in:
Code (Text):
plugins/hGrant/guis/
Included GUI templates:
Code (Text):
phoenix.yml
overlord.yml
vlastelin.yml
paladin.yml
xozyain.yml
dadmin.yml
shulker.yml
downer.yml
yt.yml
tiktok.yml
tiktokplus.yml
Each file can have its own menu title, size, grant items and decorative items.
────────────────────────────────────────
Grant Limits
Each configured grant can have its own limits.
Supported grant settings:
Code (Text):
cooldown
uncooldown
max
duration
amount
cooldown controls how long the grantor must wait after issuing the grant.
uncooldown controls when used limits can be restored.
max controls how many times the grant can be used.
duration can be used in actions for temporary group grants.
amount can be used in actions for currency-style rewards.
────────────────────────────────────────
GUI Item States
Each grant item can have three different visual states:
  • available
  • cooldown
  • notAvailable
For every state you can configure:
  • material
  • display name
  • lore
  • enchantments
  • item flags
  • grantor actions
  • target actions
This makes the GUI clear for the player and allows different behavior depending on the grant state.
────────────────────────────────────────
Action System
hGrant uses configurable actions for messages, commands, sounds, visual effects and economy operations.
Common action examples:
Code (Text):
[Message]
[Console]
[Player]
[Sound]
[Close]
[Vault]
[Title]
[ActionBar]
[BossBar]
[Particle]
[Firework]
[Effect]
[Broadcast]
Example grant action:
Code (Text):
grantorActions:
  - "[Console] lp user {target} parent addtemp prince 14d"
  - "[Message] {prefix} You granted prince to {target}"
  - "[Close]"
targetActions:
  - "[Message] {prefix} You received prince from {grantor}"
  - "[Sound] sound: ENTITY_PLAYER_LEVELUP"
────────────────────────────────────────
LuckPerms Integration
If LuckPerms support is enabled, hGrant can read the grantor's groups and use them to select the correct GUI and available grant rules.
The plugin can also use LuckPerms priorities to help prevent invalid grant order when granting permission groups.
────────────────────────────────────────
Database Storage
hGrant stores grant usage data in a database.
Supported storage modes:
  • SQLite
  • MySQL
Stored data includes:
  • player UUID
  • grant ID
  • used amount
  • cooldown end time
  • next restore time
SQLite is used by default. MySQL can be enabled in config.yml.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Configuration
Main configuration file:
Code (Text):
plugins/hGrant/config.yml
GUI files:
Code (Text):
plugins/hGrant/guis/
Example group rule structure:
Code (Text):
settings:
  groups:
    paladin:
      priority: 40
      list:
        prince:
          cooldown: 259200
          uncooldown: -1
          max: 5
          duration: "14d"
        rubles:
          cooldown: 864000
          uncooldown: -1
          max: 3
          amount: 500
Example GUI item structure:
Code (Text):
gui:
  title: "&0Grant menu"
  size: 45
  grantItems:
    prince:
      priority: 1
      slots: [21]
      available:
        material: ORANGE_SHULKER_BOX
        displayName: "#FDBE00Prince"
        lore:
          - "Available: %hgrant_available_prince%"
          - "Click to grant"
        grantorActions:
          - "[Console] lp user {target} parent addtemp prince 14d"
          - "[Close]"
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Commands
Code (Text):
/grant <player>
Opens the grant GUI for the selected online player.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Permissions
Code (Text):
hgrant.grant.*
Allows access to the grant system.
Group-specific permissions can also be used:
Code (Text):
hgrant.grant.phoenix
hgrant.grant.overlord
hgrant.grant.vlastelin
hgrant.grant.paladin
hgrant.grant.xozyain
hgrant.grant.dadmin
hgrant.grant.shulker
hgrant.grant.downer
hgrant.grant.yt
hgrant.grant.tiktok
hgrant.grant.tiktokplus
These permissions can be used when LuckPerms group detection is not the only access method.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PlaceholderAPI
hGrant registers PlaceholderAPI placeholders with the identifier:
Code (Text):
hgrant
Available placeholder formats:
Code (Text):
%hgrant_cooldown_<grant>%
%hgrant_uncooldown_<grant>%
%hgrant_max_<grant>%
%hgrant_used_<grant>%
%hgrant_available_<grant>%
Examples:
Code (Text):
%hgrant_cooldown_prince%
%hgrant_available_prince%
%hgrant_used_prince%
%hgrant_max_prince%
These placeholders can be used in GUI lore, scoreboards, menus and other plugins with PlaceholderAPI support.
────────────────────────────────────────
Internal Placeholders
Internal placeholders for actions and GUI text:
Code (Text):
{prefix}
{target}
{grantor}
{sender}
{type}
{grant}
{duration}
{formattedDuration}
{formatted_duration}
{duration_formatted}
{amount}
{permission}
{player}
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Developer API
hGrant can call a public GrantEvent after a grant is successfully issued.
The API can be enabled or disabled in the configuration:
Code (Text):
settings:
  api: true
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Requirements
  • Java 16 or newer.
  • Minecraft 1.16 or newer.
  • Spigot / Paper / compatible server core.
  • PlaceholderAPI.
Optional:
  • LuckPerms
  • Vault
  • MySQL
Important: PlaceholderAPI is required.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Installation
  1. Install PlaceholderAPI.
  2. Place hGrant.jar into the plugins folder.
  3. Start or restart the server.
  4. Open config.yml.
  5. Configure grant groups, limits and database settings.
  6. Configure GUI files in the guis folder.
  7. Restart the server after editing the configuration.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Notes
  • The command works with online target players.
  • GUI files are selected based on group or permission access.
  • Each grant can have separate visual states.
  • Grant usage is saved in the database.
  • LuckPerms and Vault are optional integrations.
  • Actions make the system flexible for groups, rewards, messages and effects.
Resource Information
Author:
----------
Total Downloads: 2
First Release: Jun 6, 2026
Last Update: Jun 6, 2026
Category: ---------------
All-Time Rating:
0 ratings
Find more info at t.me...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings