Sueta
PE

PEX-Rankup

2.3.5

A lightweight rankup plugin designed for PEX based prison servers.

·Plugin

A very lightweight rank-up plugin designed for prison servers running PermissionsEX as their permissions handler.

New Placeholder Expansion:

  • Important Note: DO NOT USE /plugman reload PEX-Rankup if you use this expansion. Please restart the server to replace the PEX-Rankup.jar file.
  • For those who have requested to have me upload my placeholders to PlaceholderAPI so you can put variables like a player's current group, their next rank, and costs in PlaceholderAPI compatible plugins, here you go:

This plugin requires:

  • Java 7/8
  • Spigot 1.8.x to 1.10.x
  • Vault
  • PermissionsEX

Command / Permission:

  • /rankup | ru
    - pexrankup.rankup
  • /ranks
    - pexrankup.ranks
  • /setrank
    - pexrankup.setrank
  • /pr-reload
    - pexrankup.reload

Configuration:

CONFIG.YML
#===============================================[ Notes ]================================================#
# name: PEX-Rankup                                                                                       #
# author: Hid                                                                                            #
# version: 2.3.5                                                                                         #
# notice: This plugin will work with both Java 7 and 8.                                                  #
#========================================================================================================#

MAIN:
  prefix-enabled: true
  prefix: "&4Rankup &8// &7"
  no-permission: "&cYou do not have permission to execute this command."
  improper-usage: "&cImproper usage. Proper usage for this command: /rankup | ranks | setrank <player> <rank>."
  invalid-sender: "&cInvalid sender. This command can only be performed by a player."
  player-offline: "&cThe specified player is currently offline."

RANKUP:
  last-rank: 'Z'
  last-rank-message: "&cYou already have the last rank."

  not-enough-money: "&7You need &c${cost} &7to rank up to &c{rank}&7."
  rank-up-message:
      player-message: "&aYou have successfully ranked up to {rank}."
      broadcast: true
      broadcast-message: "&c{username} &7has ranked up to &c{rank}&7."

  rank-list: "&cHere are all the ranks and their costs:"
  rank-list-format: "&4 {rank} &7- &c$&7{cost}"

  setrank-invalid-rank: "&cThe specified rank is not in the rank ladder."
  setrank-success: "&7You have set &c{username}'s&7 rank to &c{rank}&7."
  setrank-received: "&7Your rank has successfully been set to &c{rank}&7."

  scoreboard-next-rank-none: "N/A"

  execute-commands-upon-setrank: {}
  execute-commands-upon-rankup: {}

LADDER:
   A: 0
   B: 100
   C: 500
   D: 1200
   E: 3000
   F: 5000
   G: 7500
   H: 11000
   I: 16000
   J: 22000
   K: 30000
   L: 50000
   M: 80000
   N: 140000
   O: 200000
   P: 380000
   Q: 700000
   R: 1300000
   S: 2000000
   T: 4000000
   U: 8000000
   V: 14000000
   W: 29000000
   X: 67000000
   Y: 100000000
   Z: 300000000

Placeholders:

  • {username} - refers to the affected player's username.
  • {rank} - refers to the affected player's new rank.
  • {oldrank} - refers to the affected player's old rank. (Have not tested yet, so please tell me if this placeholder does not work)

Developer API:

Important Notes:

  • Only use execute-commands option from configuration file if ranking up from the plugin is not working or if you need to execute a different command that does not involve setting someone's rank.
  • The recommended way to handle multiple groups is using "group set" for A-Z ranks and "group add" for any other ranks (donor, staff ranks etc.). The user will still rankup regardless of how you have your multiple ranks setup but you might run into other problems.

Source:
https://github.com/devhid/PEX-Rankup

If you run into any bugs, please submit an issue report on my github page and I will try to fix it immediately.

Similar projects

Plugin →