VanguardRanks ⭕ Unlimited Ranks ✅ GUI Based ✨ PAPI Support icon

VanguardRanks ⭕ Unlimited Ranks ✅ GUI Based ✨ PAPI Support -----

Easy to use ranking plugin with PAPI and GUI support.




Added new placeholders to get information for the next and previous ranks.

- next_name
- previous_name
- next_prefix
- previous_prefix
- next_order
- previous_order
- next_rank
- previous_rank
- next_display_name
- previous_display_name
----------, Jan 27, 2025

This patch adds a feature that allows you to conditionally execute commands based on player permissions. You can now specify permissions for each rank’s "commands" section and run a command only if the player has the required permissions.

SYNTAX

Use perm_<permission>: <command> to run a command if the player has the specified permission.

You can check for multiple permissions:
  • perm_<permission1>,<permission2>: <command> - Executes if the player has all listed permissions (AND condition).
  • perm_<permission1>;<permission2>: <command> - Executes if the player has at least one of the listed permissions (OR condition).
EXAMPLE

Code (YAML):
- 'perm_rank.vip1;rank.vip2 : eco give %player% 1000'
- 'perm_rank.vip1,rank.vip2
: eco give %player% 1000'
  • The first command checks if the player has both rank.vip1 and rank.vip2 permissions before executing the command.
  • The second command checks if the player has either rank.vip1 or rank.vip2 permission before executing the comma
----------, Jan 20, 2025

- Added a configurable locale for when an admin set the rank to another player

Code (YAML):
set_success_other : "&7Your rank has been set to &6%rank%&7."
----------, Jan 6, 2025

- Fixed vertical flow acting as horizontal
- Fixed snake flow not knowing where to start
----------, Oct 19, 2024

- Added a icon to show information about the player

Code (YAML):
   structure :
     - "# # # # * # # # #"
      - ". . . . . . . . ."
      - ". . . . . . . . ."
      - "# # # < X > # # #"
    recipe
:
      "*"
:
        icon
: PLAYER_HEAD
        icon_amount
: 1
        icon_model_data
: 3
        display_name
: '&7 %player%'
        lore
:
         - "Current rank %rank%"
----------, Oct 18, 2024

- Fixes a missing placeholder message when running any command
----------, Sep 19, 2024

- Added a filler material for "." recipe
- Fixed issue when running "/rank up" on last rank
- Added bstats charts
----------, Sep 17, 2024

- Added a filler material for "." recipe

- Fixed an error when running "/rank up" on last rank
----------, Sep 17, 2024

On version 1.6.9 we added a checker for when a placeholder was not installed or simply invalid. The verification for that was inverted... So this version fix this verification.
----------, Aug 2, 2024

- Internally all the inventory interaction was rewritten, making it possible to decide how the ranks are displayed. Being HORIZONTAL, VERTICAL, and SNAKE the current supported flows.

- As I removed the dependency that I was using for the GUI, now the plugin is WAY smaller

Code (YAML):
menu:
  gui
:
    flow
: SNAKE # SNAKE, HORIZONTAL, VERTICAL
    structure
:
     - ". . . . . . . . ."
      - ". . . . . . . . ."
      - ". . . . . . . . ."
      - "# # # < # > # # #"
Screenshot from 2024-07-25 14-19-17.png Screenshot from 2024-07-25 14-20-31.png Screenshot from 2024-07-25 14-21-07.png
----------, Jul 25, 2024

- Now when found an unrecognized PAPI placeholder it logs a message in the console instead of throwing an error to the player

- Fixed listing deny message when a player tries to rank up but there are a few requirements still in progress
----------, Jul 25, 2024

- Added a button to close the inventory. Just like back, and forward buttons, it accepts an icon and a model data.

For now it requires you to manually update config.yml and locale.yml

con config.yml add "X:..."
Code (YAML):
menu:
  gui
:
    structure
:
     - ". . . . . . . . ."
      - ". . . . . . . . ."
      - ". . . . . . . . ."
      - "# # # < X > # # #"
    recipe
:
      # You can use as a material
      "#" : BLACK_STAINED_GLASS_PANE
      "X"
: REDSTONE
      # or
      "X"
:
        icon
: REDSTONE
        icon_amount
: 1
on locale.yml add "gui_close: ..."
Code (YAML):
gui_close : "&7Close"
----------, Jul 20, 2024

- Fixed a problem when running on spigot server
- Fixed a problem with custom model data
- Removed unnecessary dependency (so smaller bundle)
----------, Jul 20, 2024

- Added support for choosing in which status the rank's lore will be displayed.

Code (Text):
    in_progress:
      display_name: '%rank% &7- &e&lIN PROGRESS'
      icon: AIR
      icon_amount: 1
      display_lore: true
      prepend_lore: [ ]
      append_lore:
        - " "
        - "&6You are currently working on this rank!"
    locked:
      display_name: '%rank% &7- &c&lLOCKED'
      icon: AIR
      icon_amount: 1
      display_lore: false
      prepend_lore: [ ]
      append_lore:
        - " "
        - "&cYou need to complete the previous rank!"
----------, Jul 19, 2024

- Added support to injecting requirement placeholders into papi placeholders. It makes formatting "current" and "required" placeholders from gui-message and deny-message possible.

Example using https://api.extendedclip.com/expansions/formatter/
Code (YAML):
 requirements :
   ' %vault_eco_balance%':
      type
: NUMBER
      eval
: GREATER
      value
: 100
      gui_message
: '&7Money &a %formatter_number_shorten_{current}%&7/&e%formatter_number_shorten_{required}% &r%status%'
      deny_message
: '&7You need to have more money than &c$ %formatter_number_shorten_{required}%'
----------, Jul 18, 2024

- Fixed a problem when using heads on the GUI structure. It works just like in ranks.
----------, Jul 17, 2024

- Added a config to change the border, back, and forward items accepting custom model data.

Code (YAML):
menu:
  gui
:
    structure
:
     - ". . . . . . . . ."
      - ". . . . . . . . ."
      - ". . . . . . . . ."
      - "# # # < # > # # #"
    recipe
:
      # You can use as a material
      "#" : BLACK_STAINED_GLASS_PANE
      # You can use as an item with model data
      "<"
:
        icon
: RED_STAINED_GLASS_PANE
        icon_model_data
: 10
      ">"
:
        icon
: LIME_STAINED_GLASS_PANE
        icon_model_data
: 0
- Fixed the back and forward button
----------, Jul 17, 2024

Fixed an issue where not setting a subtitle would throw an error and no title would appear on the player screen.
----------, Jul 15, 2024

Placeholders that return a blank string " " are handled differently depending on the requirement type (NUMBER or BOOLEAN). For NUMBER, is assigned the value 0, and for BOOLEAN the value is false.
----------, Jul 14, 2024

- Fixed prefix + separator being duplicated
- Fixed /rank help header being duplicated

Thanks ApoCalipsiS
----------, Jul 14, 2024

- Added a title command that works with hexadecimal colors.
A palliative measure for hex colors not working with general commands

upload_2024-7-14_1-34-6.png
----------, Jul 14, 2024

- Fixed issue with text formatting on GUI

- Added support to hexadecimal colors &#f2f2f2 (doesn't work on commands for now)
----------, Jul 14, 2024

- Removed %vanguardranks_icon% and %vanguardranks_icon_amount% placeholders

- Changed STRING, FLOAT, DOUBLE, LONG requirement type to TEXT, NUMBER and BOOLEAN
- Changed LESS and LESS_EQUAL to LESSER and LESSER_EQUAL

upload_2024-7-12_9-13-37.png

- Added support to icon's custom model data

upload_2024-7-12_9-11-23.png
Screenshot from 2024-07-12 08-55-43.png
----------, Jul 12, 2024

This update adds a new permission to rank up another player

> vanguardranks.up.other
----------, Jul 11, 2024

This update adds support to the structure configuration in config.yml

It's better to generate a new config.yml file

upload_2024-7-11_15-40-12.png
----------, Jul 11, 2024

This update only corrects the serviceId from bStats
----------, Jul 11, 2024

Updates the bootstrap locale, config and ranks files
----------, Jul 11, 2024

Resource Information
Author:
----------
Total Downloads: 979
First Release: Jul 11, 2024
Last Update: Jan 27, 2025
Category: ---------------
All-Time Rating:
14 ratings
Find more info at bstats.org...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings