VortexDevelopment Docs
Github
  • Welcome
  • Projects
    • VortexPrisonCore
      • Commands and Permissions
      • AutoBlock
      • AutoSell
      • Backpack
      • Bombs
      • Boosters
      • Collections
      • Vouchers
      • Economy
      • Mines
      • Pickaxe
      • Ranks
      • Mine Treasures
      • Tips
      • Developer API
  • For Developers
    • VInject
    • VInject Intellij Plugin
    • VortexCore
Powered by GitBook
On this page
  1. Projects
  2. VortexPrisonCore

Ranks

The plugin features a comprehensive rank progression system with 26 ranks (A-Z). Each rank has its own token and money requirements and provides access to new mines.

Rank Configuration

Each rank has:

  • Name: Rank identifier.

  • Token: Cost in tokens to rank up.

  • Money: Cost in money to rank up.

  • Weight: Determines rank hierarchy.

  • Commands When Unlocked: Executed upon unlocking the rank.

Example

Ranks:
  A:
    Name: 'A'
    Token: 1000
    Money: 10000
    Weight: 1
    Commands When Unlocked:
      - 'lp user <player> permission set essentials.warps.a server=prison'
      - '[MESSAGE] &6You have unlocked &eA &6mine!'
  B:
    Name: 'A'
    Token: 2000
    Money: 20000
    Weight: 2
    Commands When Unlocked:
      - 'lp user <player> permission set essentials.warps.b server=prison'
      - '[MESSAGE] &6You have unlocked &eB &6mine!'
  • Players must have required tokens and money to unlock the rank.

  • Commands grant permissions and notify the player upon rank-up.

  • Higher ranks have higher costs and weights.

Rankup Command

Players can rankup using the /rankup command when they have enough tokens and money. When a player ranks up:

  1. Their tokens and money are deducted

  2. They gain access to the mine associated with their new rank

  3. Special commands configured for the rank are executed (like permission grants)

  4. A message is displayed to notify them of their new access

PreviousPickaxeNextMine Treasures

Last updated 2 months ago