PrisonRanksX [1.5 - 1.20] icon

PrisonRanksX [1.5 - 1.20] -----

A prison ranks core with infinite prestiges, maxrankup, maxprestige, leaderboards and more.




- Added support for 1.20.

From dev build:
  • Fixes a problem with MySQL where a value that's meant to be stored as a number was being stored as "none".
----------, Jun 13, 2023

- Fixes some placeholders not parsing colors due to latest PlaceholderAPI update.
----------, Aug 31, 2022

- Fixed a tiny mistake that made the plugin stop working on versions 1.13 till 1.18
----------, Jun 23, 2022

- Fixed errors getting thrown when using /prx resetprestige and /prx resetrebirth while not having an addpermission option for the first prestige or the first rebirth.
- Fixed infinite prestige Global-Settings and Prestiges-Settings commands not getting executed while prestiging using /prestigemax.
- Fixed new messages not getting added to messages.yml automatically.
- Improved handling of prestiges when ranks are disabled.
- Fixed bugs related to multiple rank paths where default path is used even when multiple rank paths are present.
- Added PlaceholderAPI support for ancient versions.
- Implemented a faster legacy UUID system for ancient versions.
- Implemented a new system for max prestige that allows for anything that is not thread safe to be executed as if it's run asynchronously, this way it will prevent possible high cpu usage.
- Added max-prestige-commands under GlobalSettings for infinite prestige:
Code (YAML):
max-prestige-commands :
 - "eco give %player% %amount%"
which can speed up the max prestige by executing the command only once the max prestige process is done. Note: these commands also get executed with normal prestiging by replacing %amount% with 1. This is so double commands can be prevented.
- Fixed a bug where having a number with too many digits in a prestige_cost_increase_percentage causes the server to throw an error message in the console.
- Fixed max prestige message showing prestige 0 as prestige 1
- Fixed action bar message showing the wrong action bar message when /rankupmax is used
- Added support for 1.19
- Currently recoding the plugin, which means there won't be any new features added till the recode is finished.
----------, Jun 23, 2022

- Fixed plugin not starting
----------, Apr 9, 2022

- Improved performance of vault-group-update option in which your group gets updated to match PrisonRanksX rank.
- Added RGB color support for infinite-prestige display names (&#<hex>)
- Added the ability to put a text in the center of the chat box by adding
before the message.
- Adjusted possible memory leak when using MySQL option.
- PlaceholderAPI placeholders can now be used with commands that start with [console].
From dev-builds:
- Improved formulas that are being used by leaderboards to calculate the top players. Now, only one formula is used instead of 3 different ones for all leaderboards.
- Fixed some problems with holograms.
- Improved performance of prestigemax for infinite prestiges.
- Added a protection for when a player leaves the server while prestiging using prestigemax so it stops after he leaves.
- Added the ability to use msg: for infinite prestiges.
- Added a message for prestigemax like the one for rankupmax.
Code (YAML):
prestigemax : "&7&oYou have successfully prestiged from &c&o%prestige% &7&oto &c&o%nextprestige%&7&o."
 
- Added placeholders: %prisonranksx_prestige_number_usformat%, %prisonranksx_prestige_displayname_usformat%, %prisonranksx_prestige_number_usformat_<player>%, and %prisonranksx_usformat_<placeholderwithbrackets>% -> shows 1,000 instead of 1000
================================================= %prisonranksx_higheststage_name%, %prisonranksx_higheststage_displayname%, %prisonranksx_higheststage_name_norebirth%, and %prisonranksx_higheststage_displayname_norebirth% -> shows highest stage player is on. If he has a prestige, show a prestige. If he has a rebirth, show a rebirth or show a prestige if _norebirth placeholder is used.
- Added config options:
Code (YAML):
# True: Sends prestige message only when it's the last prestige in the prestige max process.
  # Also!! If you enable this, it will boost prestigemax process by a lot. REALLY REALLY A LOT.
  prestigemax-prestigemsglastprestigeonly
: true
  # In case of conflict with other plugins, you could try altering the following values:
  # Possible values: LOWEST, LOW, NORMAL, HIGH, HIGHEST, MONITOR.
  # Chat format.
  chat-event-handling-priority
: NORMAL
  # Data registeration.
  login-event-handling-priority
: NORMAL
----------, Apr 8, 2022

- Config comments have been organized and rewritten to be more clear.
- Added all sounds and materials for 1.18.
- Added DecentHolograms support.
- Added PrestigeOptions.ResetRank config option support for infinite prestige.
- Recoded Firework Manager for more efficiency.
- Improved chat placeholders handling.
- To prevent false advertisement, glow animation has been added for actionbar messages as shown in the pictures in the plugin page. It can be used like this:
Code (YAML):
<glow first=&c middle=&4 last=&c>Your text here!</glow>
It's used in the new default ranks.yml config file:
Code (YAML):
# ============================================================================================================================================================================
# | Default ranks. The ranks don't have to be in alphanumeric order. You can put them in any order, and you can name them anything you want.                                 |
# | Don't put anything under the first rank !EXCEPT FOR! display, nextrank, and cost. This is because the actions that will be executed is the rank that you will rankup to. |
#                                 █████╗ ██╗  ██╗███████╗ █████╗ ██╗  ██╗  ████████╗██╗  ██╗███████╗   ██╗       ██╗██╗██╗  ██╗██╗
#                                ██╔══██╗██║  ██║██╔════╝██╔══██╗██║ ██╔╝  ╚══██╔══╝██║  ██║██╔════╝   ██║  ██╗  ██║██║██║ ██╔╝██║
#                                ██║  ╚═╝███████║█████╗  ██║  ╚═╝█████═╝      ██║   ███████║█████╗     ╚██╗████╗██╔╝██║█████═╝ ██║
#                                ██║  ██╗██╔══██║██╔══╝  ██║  ██╗██╔═██╗      ██║   ██╔══██║██╔══╝      ████╔═████║ ██║██╔═██╗ ██║
#                                ╚█████╔╝██║  ██║███████╗╚█████╔╝██║ ╚██╗     ██║   ██║  ██║███████╗    ╚██╔╝ ╚██╔╝ ██║██║ ╚██╗██║
#                                 ╚════╝ ╚═╝  ╚═╝╚══════╝ ╚════╝ ╚═╝  ╚═╝     ╚═╝   ╚═╝  ╚═╝╚══════╝     ╚═╝   ╚═╝  ╚═╝╚═╝  ╚═╝╚═╝
#                                                         https://github.com/TheGaming999/PrisonRanksX/wiki
# ============================================================================================================================================================================
Ranks
:
  default
: # Rank path: default
    'A'
: # Shouldn't put any actions here as stated above.
      display
: "&7[&1A&7]"
      nextrank
: B
      cost
: 0
    'B'
:
      display
: "&7[&2B&7]"
      nextrank
: LASTRANK
      cost
: 5000.0
      # Prefixes: [console], [player], *none*
      # =========================================
      # [console] executes a command as a console
      # [player] executes a command as a player
      # executes a command as a console aswell
      # =========================================
      executecmds
:
     - "[console] give %player% diamond 1"
      - "[player] warp %rankup%"
      - "say %player% ranked up from A to B!"
      broadcast
:
     - "&7&m-----------------"
      - "&7%player% &6ranked up to &7%rankup%"
      - "&7&m-----------------"
      msg
:
     - "&7You got &c1 &7Diamond."
      - "&c$5000 &4has been taken from you for ranking up!"
      # Interval: 20 ticks => 1 second | 10 ticks => 0.5 seconds | 5 ticks => 0.25 seconds | and so on...
      actionbar
:
        interval
: 2
        text
:
       - "<glow first=&c&l middle=&4&l last=&c&l>&f&lYou ranked up to B!</glow>"
      # 1. Check if your current broken blocks is equal or higher than 5000. Remove the # before requirements and the line underneath it to enable!
      # 2. Check if your current permissions group is Admin. Remove the # before requirements and the line underneath it to enable!
      # ================================================
      #requirements:
      #- "%ezblocks_blocks%>>5000"
      #- "%vault_group%->Admin"
      # ================================================
      # Actions that will be executed from ActionUtil API. Download link: https://mc-plugins.net/cdn/plugins/bukkit/ActionUtil_1.3.jar
      actions
:
     - "[MESSAGE] Hi, I got executed by ActionUtil."
      # ================================================
      # You can put as many commands as you want just copy the line and paste it exactly below the line you copied. The chances can go above 100 percent.
      # ================================================
      randomcmds
:
        '1'
:
          chance
: 70
          commands
:
          - "say Random Console Command 1 with chance
: 70 %"
        '2'
:
          chance
: 30
          commands
:
          - "say Random Console Command 2 with chance
: 30 %"
      # ================================================
      # To add world-specific permission use this format:
      # [worldname] permission.permission
      # Otherwise just write the permission.
      # ================================================
      # [world_the_end] essentials.warps.B
      # >>> You will be given the permission "essentials.warps.B" in the world: world_the_end
      # essentials.warps.B
      # >>> You will be given the permission "essentials.warps.B" in all worlds.
      # ================================================
      addpermission
:
     - "essentials.warps.B"
      delpermission
:
     - "essentials.warps.A"
New config.yml:
Code (YAML):
# ============================================================================================================================================================================
# Using these placeholders will replace them with a symbol when used in any of the plugin messages.
# "[>>]"
# "[<<]"
# "[coolarrow]"
# "[<3]"
# "[shadowarrow]"
# "[shadowarrow_2]"
# "[shadowarrow_down]"
# "[shadowsquare]"
# "[nuke]"
# "[+]"
# "[correct]"
# "[incorrect]"
# "[bowarrow]"
# "[squaredot]"
# "[square]"
# "[happyface]"
# "[|]"
# "[center]" = put it at the beginning of any message and the message will get in the center of the chat box (not guaranteed to work everywhere).
# ============================================================================================================================================================================
# || Disabled Worlds List ||
# ============================================================================================================================================================================
# Any world added here, will have the following functions disabled:
# [You will not see the messages of other worlds if allworlds-broadcast is set to false]
# [You won't be able to rankup]
# [You won't be able to prestige]
# [You won't be able to rebirth]
# [You won't be able to use /prx commands]
# [The chat won't be touched]
# ============================================================================================================================================================================
# !! VERY IMPORTANT !!
# !! VERY IMPORTANT !!
# !! VERY IMPORTANT !!
# !! VERY IMPORTANT !!
# !! VERY IMPORTANT !!
# ============================================================================================================================================================================
defaultrank
: A
lastrank
: B
defaultpath
: "default"
firstprestige
: P1
lastprestige
: P2
firstrebirth
: R1
lastrebirth
: R2
# ================================================
worlds
:
- "disabled_world"
- "disabled_world2"
Options
:
  # False: Disables rank functions and rank data management.
  rank-enabled
: true
  # False: Disables prestige functions and prestige data management.
  prestige-enabled
: true
  # False: Disables rebirth functions and rebirth data management.
  rebirth-enabled
: true
  # True: Force display order, by default: "{rebirth}{prestige}{rank}" in the chat.
  force-display-order
: "{rebirth}{prestige}{rank}"
  # True: Forces any chat plugin to place the rank display name before the chat format without using a variable or a placeholder. <!> Does not support DeluxeChat! Use PlaceholderAPI placeholders instead.
  force-rank-display
: true
  # True: Does the same as above but shows the prestige display name with the rank display name of course.
  force-prestige-display
: true
  # True: The same story.
  force-rebirth-display
: true
  # What will be shown when a player doesn't have a prestige on his/her chat format. Notice that this is only for chat messages. Look below for PlaceholderAPI placeholders.
  no-prestige-display
: ""
  # What will be shown when a player doesn't have a rebirth on his/her chat format. Notice that this is only for chat messages. Look below for PlaceholderAPI placeholders.
  no-rebirth-display
: ""
  # True: Allows PrisonRanksX to replace the chat placeholders {rank}, {prestige}, and {rebirth}. This can be safely disabled if you are only using PlaceholderAPI placeholders, which can improve performance by a little.
  format-chat
: true
  # True: Broadcasts the messages to every world and ignores the list above.
  allworlds-broadcast
: true
  # True: Sends the message from messages.yml.
  send-rankupmsg
: true
  # True: Sends the message from messages.yml.
  send-prestigemsg
: true
  # True: Sends the message from messages.yml.
  send-rebirthmsg
: true
  # True: Sends the message from messages.yml.
  send-rankupmaxmsg
: true
  # True: Opens a GUI list instead of showing a text list when using the /ranks command. This can be edited below.
  GUI-RANKLIST
: false
  # True: Opens a GUI list instead of showing a text list when using the /prestiges command. This can be edited below.
  GUI-PRESTIGELIST
: false
  # True: Opens a GUI list instead of showing a text list when using the /rebirths commands. This can be edited below.
  GUI-REBIRTHLIST
: false
  # A sound that will play when you prestige. You can disable it by setting it to nothing like this: ""
  prestigesound-name
: "SUCCESSFUL_HIT"
  # Sound volume. If you make it higher, other players will hear it. If it's 1.0, only you will hear it.
  prestigesound-volume
: 1.5
  # Sound pitch. Changes how soft and fast the sound is. Higher -> Softer/Faster. Range: 0.5-2.0
  prestigesound-pitch
: 1.0
  # A sound that will play once you rankup. You can disable it by setting it to nothing like this: ""
  rankupsound-name
: "WOOD_CLICK"
  # Sound volume if you make it higher other players will hear it. If it's 1.0, only you will hear it.
  rankupsound-volume
: 1.5
  # Sound pitch. Changes how soft and fast the sound is. Higher -> Softer/Faster. Range: 0.5-2.0
  rankupsound-pitch
: 1.0
  # A sound that will play after you rebirth. You can disable it by setting it to nothing like this: ""
  rebirthsound-name
: "ORB_PICKUP"
  # Sound volume if you make it higher other players will hear it. If it's 1.0, only you will hear it.
  rebirthsound-volume
: 1.0
  # Sound pitch. Changes how soft and fast the sound is. Higher -> Softer/Faster. Range: 0.5-2.0
  rebirthsound-pitch
: 1.0
  # True: Every player will need a specific permission to rankup to the next rank. The permission is: "prisonranksx.rankup.<rankname>" without the quotes.
  per-rank-permission
: false
  # True: Disables sending the broadcast messages of each rank you passed when you are ranking up with rankup max. However, it will send the last one.
  rankupmax-broadcastlastrankonly
: false
  # True: Does the same as above, but for 'msg:' section.
  rankupmax-msglastrankonly
: false
  # True: Does the same as above, but for the rankup message that is inside messages.yml.
  rankupmax-rankupmsglastrankonly
: false
  # True: Will make the rank registeration process under control by another Permission plugin, which you can change below.
  rankup-vault-groups
: false
  # You can write here "GroupManager", "PermissionsEX", "LuckPerms", "Vault". Also, you can write a command using these placeholders %player% and %rank%. For example, "manuadd %player% %rank%"
  rankup-vault-groups-plugin
: "Vault"
  # True: Allows the permission plugin to be the boss. Check if the player group in said plugin doesn't match the one in PrisonRanksX then update it.
  rankup-vault-groups-check
: false
  # True: Enables autorankup asynchronous tasks in which /autorankup command can be used.
  autorankup
: true
  # True: The player will prestige when he/she has enough money to prestige while ranking up using "/rankupmax" command.
  rankupmax-with-prestige
: false
  # Time between auto rankups in ticks. (20 ticks = 1 second)
  autorankup-delay
: 10
  # Time between auto prestiges in ticks. (20 ticks = 1 second)
  autoprestige-delay
: 10
  # Time between auto rebirths in ticks. (20 ticks = 1 second)
  autorebirth-delay
: 10
  # True: Shows an actionbar message that shows your current progress to the next stage that appears above your hotbar.
  actionbar-progress
: true
  # True: Shows the actionbar message only while holding a diamond pickaxe.
  actionbar-progress-only-pickaxe
: true
  # What to be shown in the actionbar message.
  actionbar-progress-format
: "%prisonranksx_rankup_progress% &e%prisonranksx_rankup_percentage%"
  # Update time in ticks. (20 ticks = 1 second), (40 ticks = 2 seconds).
  actionbar-progress-updater
: 30
  # True: Updates the exp progress bar value to match the progress-format output below.
  expbar-progress
: false
  # Expbar update time. (10 ticks) = (0.5 second)
  expbar-progress-updater
: 10
  # The placeholder must return a number from 0 to 100 ! Otherwise it will not work properly.
  expbar-progress-format
: "%prisonranksx_rankup_percentage%"
  # True: Automatically saves player data every (autosave-time) ticks.
  autosave
: true
  # Time between auto save tasks in ticks (18000 ticks = 15 minutes)
  autosave-time
: 18000
  # True: Sends a save message every 15 minutes to the console telling you how long did it take to save data.
  save-notification
: true
  # True: Forces a rank/prestige/rebirth data save to the disk upon a rank/prestige/rebirth update? (not recommended). This is how it used to be in ancient versions.
  forcesave
: false
  # True: Save data when a player leaves the server or get kicked, and then release an unwanted amount of memory space that he had while in the server (highly recommended).
  save-on-leave
: true
  # True: Ignores spamming "/warp" commands and only executes the last one in the rankupmax process. Only commands that start with '[player] <command>' will be filtered.
  rankupmax-warp-filter
: false
  # True: Enables certain developer commands and other stuff.
  allow-easter-eggs
: true
  # True: Enables leaderboards that consist of players with the highest ranks/prestiges/rebirths.
  enable-leaderboard
: true
  # True: Reverses the worlds list above rules.
  enabled-worlds-instead-of-disabled
: false
  # Prestige Max Types: AMTQ, ASTQ, AR, ARS. Only change when the developer tells you to do so.
  prestigemax-type
: "AMTQ"
  # True: Enables infinite prestige config file, and ignores prestiges.yml.
  infinite-prestige
: false
Ranklist-text
: # Text based ranks list
  # Placeholders: %rank_name% %rank_displayname% %nextrank_name% %nextrank_displayname% %nextrank_cost% %nextrank_cost_formatted%
  rank-current-format
: "%rank_displayname% &a> %nextrank_displayname% &a[|] &2$&e%nextrank_cost_formatted% &a<&m---"
  rank-completed-format
: "&7&m%rank_name%&r &7> &7&m%nextrank_name%&r &8[|] &a&lCOMPLETED"
  rank-other-format
: "%rank_displayname% &7> &a%nextrank_displayname% &7[|] &f$&e%nextrank_cost_formatted%"
  # ============================================================================================================================================================================
  # True: Shows a certain amount of ranks in pages instead of showing them all at once in the chat. It can be used like this: "/ranks <pagenumber>."
  # ============================================================================================================================================================================
  enable-pages
: true
  # ============================================================================================================================================================================
  # How many ranks per page? 8 9 10 20..
  # ============================================================================================================================================================================
  rank-per-page
: 9
  # ============================================================================================================================================================================
  # This is how the players will see the ranks list in the game.
  # Removing [rankslist] line, will allow the list to become a custom list in which you can put any thing you want.
  # However, rank per page will count the text lines (header+footer) as ranks if you removed the [rankslist] line, so you may consider increasing it.
  # Also, you can use PlaceholderAPI placeholders here.
  # ============================================================================================================================================================================
  rank-with-pages-list-format
:
 - "&7&m+                           +&7"
  - "[rankslist]"
  - "&aRanks &7[<<] &e%currentpage% &9of &e%totalpages% &7[>>]"
  - "&7&m+                           +&7"
  # This will be used if "enable-pages" is set to "false".
  rank-list-format
:
 - "&7&m                           &7"
  - "[rankslist]"
  - "&7&m                           &7"
Prestigelist-text
: # Text based prestiges list
  # Placeholders: %prestige_name% %prestige_displayname% %nextprestige_name% %nextprestige_displayname% %nextprestige_cost% %nextprestige_cost_formatted%
  prestige-current-format
: "%prestige_displayname% &a> %nextprestige_displayname% &a| &2$&e%nextprestige_cost_formatted% &a<&m---"
  prestige-completed-format
: "&7&m%prestige_name%&r &7> &7&m%nextprestige_name%&r &8| &a&lCOMPLETED"
  prestige-other-format
: "%prestige_displayname% &7> &a%nextprestige_displayname% &7| &f$&e%nextprestige_cost_formatted%"
  enable-pages
: true
  prestige-per-page
: 9
  prestige-with-pages-list-format
:
 - "&7&m                           &7"
  - "[prestigeslist]"
  - "&aPrestiges &7[<<] &e%currentpage% &9of &e%totalpages% &7[>>]"
  - "&7&m                           &7"
  prestige-list-format
:
 - "&7&m                           &7"
  - "[prestigeslist]"
  - "&7&m                           &7"
Rebirthlist-text
: # Text based rebirths list
  # Placeholders: %rebirth_name% %rebirth_displayname% %nextrebirth_name% %nextrebirth_displayname% %nextrebirth_cost% %nextrebirth_cost_formatted%
  rebirth-current-format
: "%rebirth_displayname% &a> %nextrebirth_displayname% &a| &2$&e%nextrebirth_cost_formatted% &a<&m---"
  rebirth-completed-format
: "&7&m%rebirth_name%&r &7> &7&m%nextrebirth_name%&r &8| &a&lCOMPLETED"
  rebirth-other-format
: "%rebirth_displayname% &7> &a%nextrebirth_displayname% &7| &f$&e%nextrebirth_cost_formatted%"
  enable-pages
: true
  rebirth-per-page
: 9
  rebirth-with-pages-list-format
:
 - "&7&m                           &7"
  - "[rebirthslist]"
  - "&aRebirths &7[<<] &e%currentpage% &9of &e%totalpages% &7[>>]"
  - "&7&m                           &7"
  rebirth-list-format
:
 - "&7&m                           &7"
  - "[rebirthslist]"
  - "&7&m                           &7"
# ============================================================================================================================================================================
# You must have HolographicDisplays or DecentHolograms plugin installed on your server in order for this to work.
# ============================================================================================================================================================================
Holograms
:
  rankup
:
    enable
: true
    remove-time
: 3
    height
: 4
    format
: # placeholders: %player% %nextrank% %nextrank_display% or PlaceholderAPI placeholders
    - "&6%player%"
    - "&f&kii&r &bSuccessful Rankup! &f&kii&r"
    - "&7&l%nextrank_display%&r"
  prestige
:
    enable
: true
    remove-time
: 5
    height
: 4
    format
: # placeholders: %player% %nextprestige% %nextprestige_display% or PlaceholderAPI placeholders
    - "&c%player%"
    - "&f&kii&r &4Successful Prestige! &f&kii&r"
    - "&7&l%nextprestige_display%&r"
  rebirth
:
    enable
: true
    remove-time
: 5
    height
: 4
    format
: # placeholders: %player% %nextrebirth% %nextrebirth_display% or PlaceholderAPI placeholders
    - "&e%player%"
    - "&f&kii&r &6Successful Rebirth! &f&kii&r"
    - "&7&l%nextrebirth_display%&r"
# ============================================================================================================================================================================
# True: Uses a MySQL storage instead of a YAML storage file. In addition, when used with save-on-leave option, it will support Bungeecord data synchronization.
# ============================================================================================================================================================================
MySQL
:
  enable
: false
  host
: localhost
  port
: 3306
  database
: test
  table
: prisonranksx
  username
: root
  password
: "123"
  useSSL
: false
  autoReconnect
: true
  useCursorFetch
: true
# ============================================================================================================================================================================
#                                                                      Auto Commands For Level Resets
# ============================================================================================================================================================================
# '[rankpermissions] remove' = removes every permission that player got from ranking up <!> Of course Vault Must be installed
# '[prestigepermissions] remove' = removes every permission that player got from prestiging up <!> Of course Vault Must be installed
# '[rebirthpermissions] remove' = removes every permission that player got from rebirthing up <!> Of course Vault Must be installed
# ============================================================================================================================================================================
PrestigeOptions
:
  ResetMoney
: false
  ResetRank
: false
  # Global rankup_cost_increase, if you want to disable this, set it to 0. default: (prestigenumber * rankup_cost_increase_percentage), this will override the cost increase on prestiges.yml if set to value higher than 0.
  rankup_cost_increase_percentage
: 0
  # Types: DEFAULT=>{prestigeNumber * cost_increase}, POWER=>{prestigeNumber+1 ^ cost_increase}, EXTRA=>{(prestigeNumber * cost_increase) * 2}
  cost_increase_type
: DEFAULT
  # This expression is not for the global increase. It's for the ones inside prestiges.yml file.
  # Available Placeholders: {rankcost}, {prestigenumber}, {cost_increase}
  cost_increase_expression
: "{cost_increase} * ({rankcost} / 100)"
  # Executed when you prestige.
  prestige-cmds
:
 - "[rankpermissions] remove"
  # Executed when you delete someone's prestige using "/prx delplayerprestige."
  prestige-delete-cmds
:
 - "[prestigepermissions] remove"
  - "say Deleted prestige of %player%."
  # Executed when you do "/prx resetplayerprestige"
  # '[prestigepermissions$1] remove' = removes every permission that player got from prestiging up except the first prestige. It only works here.
  prestige-reset-cmds
:
 - "[prestigepermissions$1] remove"
RankOptions
:
  # Executed when you perform "/prx delplayerrank" on a player.
  rank-delete-cmds
:
 - "[rankpermissions] remove"
  # Executed when you reset someone's rank using "/prx resetplayerrank."
  rank-reset-cmds
:
 - "[rankpermissions] remove"
RebirthOptions
:
  ResetMoney
: false
  ResetRank
: true
  ResetPrestige
: true
  prestige_cost_increase_percentage
: 0
  cost_increase_type
: DEFAULT
  # Placeholders: {prestigecost}, {rebirthnumber}, {cost_increase}
  cost_increase_expression
: "{cost_increase} * ({prestigecost} / 100)"
  rebirth-cmds
:
 - "[rankpermissions] remove"
  - "[prestigepermissions] remove"
  rebirth-delete-cmds
:
 - "[rebirthpermissions] remove"
  rebirth-reset-cmds
:
 - "[rebirthpermissions$1] remove"
PlaceholderAPI
:
  # The character that will represent the progress bar blocks. By default it will show small squares because [squaredot] is a symbol from the very beginning of the config file.
  # You can use any symbol. It's not limited to the symbols provided by the plugin.
  rankup-progress-style
: ' [squaredot ]'
  # The color that will represent completion.
  rankup-progress-filled
: '&a'
  # The color that will represent how much is needed to complete the progress bar.
  rankup-progress-needed
: '&c'
  # True: Shows the text "rankup-progress-full" instead of a full progress bar.
  rankup-progress-full-enabled
: false
  # Text that will be shown once the progress bar is filled.
  rankup-progress-full
: "&aType &e/rankup &3!"
  # Text that will show on the place of the progress bar when you are the latest rank.
  rankup-progress-lastrank
: "Prestige now by typing &e/prestige"
  # Text that will show on the place of the percentage when you are the latest rank.
  rankup-percentage-lastrank
: "&c/prestige"
  # Text that will show on the place of the rank cost when you are the latest rank.
  rankup-cost-lastrank
: "&cHighest Rank"
  # Text that will show on the place of the next rank when you are the latest rank.
  rankup-lastrank
: "&cType /prestige"
  # True: Shows a text other than the last rank when you reach it.
  currentrank-lastrank-enabled
: false
  # The text that will be shown.
  currentrank-lastrank
: "&a/prestige"
  # The text that will be shown once you reach the highest prestige.
  prestige-lastprestige
: "&cHighest Prestige"
  # The text that will show when you don't have a prestige or you didn't prestige yet.
  prestige-notprestiged
: "&fNone"
  # The text that will be shown on the place of the next prestige when you don't have a prestige.
  nextprestige-notprestiged
: "&fNot Prestiged"
  # The symbol that will show alongside the money / balance from the placeholders.
  currency-symbol
: "$"
  # True: Shows the curreny symbol behind the balance. "$100.0"
  currency-symbol-behind
: true
  # The symbol that will show in any placeholder that uses percentages.
  percent-sign
: "%"
  # True: Shows the percent symbol behind the number. "%99"
  percent-sign-behind
: false
  rebirth-notrebirthed
: "&fNone"
  nextrebirth-notrebirthed
: "&fN/A"
  rebirth-lastrebirth
: "&4Last Rebirth"
  next-progress-style
: # Global progress bar for every level. Changes according to your level position / next objective (rank,prestige,rebirth). %prisonranksx_next_progress%
    rankup
: ' [| ]'
    prestige
: ' [squaredot ]'
    rebirth
: ' [>> ]'
  next-progress-filled
:
    rankup
: '&a'
    prestige
: '&b'
    rebirth
: '&6'
  next-progress-needed
:
    rankup
: '&c'
    prestige
: '&7'
    rebirth
: '&8'
  next-progress-full-isrankup-enabled
: false
  next-progress-full-isprestige-enabled
: false
  next-progress-full-isrebirth-enabled
: false
  next-progress-full-islast-enabled
: false
  next-progress-full-isrankup
: "&7Type &a/rankup&7!"
  next-progress-full-isprestige
: "&7Type &c/prestige&7!"
  next-progress-full-isrebirth
: "&7Type &c/rebirth&7!"
  next-progress-full-islast
: "&7You are at the latest stage."
  # What to show when there isn't any player that holds this position / no player that has prestiged, so there won't be 1st player in the leaderboard.
  leaderboard-name-rank-null
: "none"
  leaderboard-value-rank-null
: "none"
  leaderboard-name-prestige-null
: "none"
  leaderboard-value-prestige-null
: "none"
  leaderboard-name-rebirth-null
: "none"
  leaderboard-value-rebirth-null
: "none"
MoneyFormatter
: # The letter(s) that will be shown after the balance in any placeholder that uses formatted balance.
  thousand
: 'K'
  million
: 'M'
  billion
: 'B'
  trillion
: 'T'
  quadrillion
: 'Q'
  quintillion
: 'QT'
  sextillion
: 'S'
  septillion
: 'ST'
  octillion
: 'O'
  nonillion
: 'N'
  decillion
: 'D'
  undecillion
: 'UD'
  Duodecillion
: 'DD'
  zillion
: 'Z'
Main-GUIOptions
: # These items will be shown when there are enough levels to show in the next page.
  previouspage-itemNAME
: "ARROW"
  previouspage-itemDISPLAYNAME
: "&c<< Previous page"
  previouspage-itemLORE
:
 - "&fGo back!"
  previouspage-itemENCHANTMENTS
: [ ]
  previouspage-itemAMOUNT
: 1
  previouspage-itemDATA
: 0
  previouspage-itemFLAGS
: [ ]
  nextpage-itemNAME
: "ARROW"
  nextpage-itemDISPLAYNAME
: "&6Next Page >>"
  nextpage-itemLORE
:
 - "&fNavigate to the next page!"
  nextpage-itemENCHANTMENTS
: [ ]
  nextpage-itemAMOUNT
: 1
  nextpage-itemDATA
: 0
  nextpage-itemFLAGS
: [ ]
  no-previous-pages
: "&eThere are no previous pages."
  no-additional-pages
: "&eThere are no additional pages."
  currentpage-itemNAME
: "GLASS"
  currentpage-itemDISPLAYNAME
: "&cPage &4{currentpage} &cof &4{maxpages}"
  currentpage-itemLORE
:
 - "&fThis is the current page."
  currentpage-itemENCHANTMENTS
: [ ]
  currentpage-itemAMOUNT
: 1
  currentpage-itemDATA
: 0
  currentpage-itemFLAGS
: [ ]
Ranklist-gui
:
  title
: '             &7<&6<&3Ranks&6>&7>'
  # To disable keep it like this => constant-items: []
  constant-items
: [ ]
  # Ranks item slots if it's above 44 it will be added to the next page. This was made to separate the constant items and rank items.
  allowed-slots
: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55
  current-format
:
    # Each format uses a different way of parsing, so if a format is not working, try the next one if not, then the next.... until it works.
    # format: <itemname>:[data] | example: WOOL:1
    # format: <itemname>;[data] | example: WOOL;5
    # format: <itemid>#[data] | example: 35#2
    # format: <itemname>->[data] | example: STAINED_CLAY->14
    # format: <itemname> | example: DIAMOND
    # format: @HEAD@<texture> | example: @HEAD@b03338e1e9ae77cb28a195790fcbc0601c6588830ca429af19205c3e0642bed7
    # format: @HEAD@<url> | example: @HEAD@http://textures.minecraft.net/texture/b03338e1e9ae77cb28a195790fcbc0601c6588830ca429af19205c3e0642bed7
    # format: @HEAD@<base64> | example: @HEAD@eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYjAzMzM4ZTFlOWFlNzdjYjI4YTE5NTc5MGZjYmMwNjAxYzY1ODg4MzBjYTQyOWFmMTkyMDVjM2UwNjQyYmVkNyJ9fX0=
    # format: @HEAD@<name> | example: @HEAD@Notch
    itemNAME
: STAINED_GLASS_PANE;11
    itemAMOUNT
: 1
    itemDISPLAYNAME
: '&a %currentrank_display%'
    itemLORE
:
   - '&6Your current rank!'
    - '&7&m                       &r'
    - '&6Progress:'
    - ' %prisonranksx_rankup_progress% &a%prisonranksx_rankup_percentage%&c%'
    itemENCHANTMENTS
:
   - 'DURABILITY 10'
    itemFLAGS
:
   - 'HIDE_ENCHANTS'
    itemCOMMANDS
:
   - ' [player ] warp %currentrank%'
    - ' (close-inventory )'
    - ' (cancel-item_move )'
    # Bypass the format above and show specific format for a specific rank.
    custom
:
      B
:
        itemLORE
:
       - '&4Your rank is B!'
  completed-format
:
    itemNAME
: STAINED_GLASS_PANE;5
    itemAMOUNT
: 1
    itemDISPLAYNAME
: '&a %completedrank_display%'
    itemLORE
:
   - '&bCOMPLETED'
    - '&7&m                       &r'
    - '&bCost
: &7&m%completedrank_cost_formatted%'
    - '&bClick to warp!'
    itemENCHANTMENTS
:
   - 'DURABILITY 10'
    itemFLAGS
:
   - 'HIDE_ENCHANTS'
    itemCOMMANDS
:
   - ' [player ] warp %completedrank%'
    - ' (cancel-item_move )'
    custom
:
      A
:
        itemLORE
:
       - '&cYou have passed the rank &1A&c (the first rank ).'
      B
:
        itemLORE
:
       - '&cYou have passed the rank &2B&c.'
  other-format
:
    itemNAME
: STAINED_GLASS_PANE;14
    itemAMOUNT
: 1
    itemDISPLAYNAME
: '&a %otherrank_display%'
    itemLORE
:
    - '&cCost
: &3%otherrank_cost_formatted%'
    - '&cReward:'
    - '&e1x Rankup Key'
    itemENCHANTMENTS
: [ ]
    itemFLAGS
: [ ]
    itemCOMMANDS
:
   - ' (cancel-item_move )'
    custom
:
      B
:
        itemLORE
:
        - '&cCost
: &3%otherrank_cost_formatted%'
        - '&cReward:'
        - '&e&l/fly command'
Prestigelist-gui
:
  title
: "&3Prestiges"
  constant-items
: [ ]
  # Prestiges item slots. If it's above 44, it will be added to the next page.
  allowed-slots
: "9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55"
  current-format
:
    itemNAME
: EMERALD_BLOCK
    itemAMOUNT
: 1
    itemDISPLAYNAME
: "&a%currentprestige_display%"
    itemLORE
:
   - "&eYour current prestige!"
    itemENCHANTMENTS
:
   - DURABILITY 10
    itemFLAGS
:
   - HIDE_ENCHANTS
    itemCOMMANDS
:
   - "(cancel-item_move)"
  completed-format
:
    itemNAME
: EMERALD_BLOCK
    itemAMOUNT
: 1
    itemDISPLAYNAME
: "&a%completedprestige_display%"
    itemLORE
:
   - "&bCOMPLETED"
    itemENCHANTMENTS
: [ ]
    itemFLAGS
: [ ]
    itemCOMMANDS
:
   - "(cancel-item_move)"
  other-format
:
    itemNAME
: REDSTONE_BLOCK
    itemAMOUNT
: 1
    itemDISPLAYNAME
: "&a%otherprestige_display%"
    itemLORE
:
    - "&cCost
: &3%otherprestige_cost_formatted%"
    itemENCHANTMENTS
: [ ]
    itemFLAGS
: [ ]
    itemCOMMANDS
:
   - "(cancel-item_move)"
Rebirthlist-gui
:
  title
: "&4Rebirths"
  constant-items
: [ ]
  # Rebirths item slots. If it's above 44, it will be added to the next page.
  allowed-slots
: "9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55"
  current-format
:
    itemNAME
: GOLD_BLOCK
    itemAMOUNT
: 1
    itemDISPLAYNAME
: "&a%currentrebirth_display%"
    itemLORE
:
   - "&cYour current rebirth!"
    itemENCHANTMENTS
:
   - DURABILITY 10
    itemFLAGS
:
   - HIDE_ENCHANTS
    itemCOMMANDS
:
   - "(cancel-item_move)"
  completed-format
:
    itemNAME
: DIAMOND_BLOCK
    itemAMOUNT
: 1
    itemDISPLAYNAME
: "&a%completedrebirth_display%"
    itemLORE
:
   - "&9COMPLETED"
    itemENCHANTMENTS
: [ ]
    itemFLAGS
: [ ]
    itemCOMMANDS
:
   - "(cancel-item_move)"
  other-format
:
    itemNAME
: REDSTONE_BLOCK
    itemAMOUNT
: 1
    itemDISPLAYNAME
: "&a%otherrebirth_display%"
    itemLORE
:
    - "&cCost
: &e%otherrebirth_cost_formatted%"
    itemENCHANTMENTS
: [ ]
    itemFLAGS
: [ ]
    itemCOMMANDS
:
   - "(cancel-item_move)"
----------, Feb 10, 2022

- Added continuous prestige settings for infinite prestige in which you can add an action to be performed every time a player reaches X prestige.
- Added constant prestige settings for infinite prestige in which you can change the display for a range of prestiges.
Newest config file for infinite prestige:
Code (YAML):
# Enable the this configuration file by turning off the server and changing the option 'infinite-prestige' from false to true inside config.yml.
# placeholders:
# {number} = prestige number
# {rankcost} = current rank cost
# %player% = player name
Global-Settings
:
  display
: "&8[&9P{number}&8]"
  cost-expression
: "{number} * 100000"
  commands
:
 - "eco give %player% 500"
  broadcast
: [ ]
  final-prestige
: 1000000
# Execute at that specific prestige number.
Prestiges-Settings
:
  # ~Possible actions~
  # executecmds:
  # - "command %player%"
  # broadcast:
  # - "&6a broadcast message line."
  # - "&e%player% &7just prestiged."
  500
:
    executecmds
: [ ]
# Execute every X prestige.
# Actions that will be performed every time the player passes X amount of prestiges.
# So if a player passes 500/1000/1500/etc.... prestiges, this message will be broadcasted.
# Accepts: executecmds, broadcast.
Continuous-Prestiges-Settings
:
  500
:
    broadcast
:
   - "&6%player% has passed &a500 &6prestiges."
# Edit at X prestige.
# Permanent changes to prestige settings. Below, what will happen is, that prestiges numbered from 500 till 999 will have their
# display changed. Then, it will also get changed again when the player reaches prestige 1000.
Constant-Prestiges-Settings
:
  500
:
    display
: "&8[&bP{number}&8]"
    to
: 1000
  1000
:
    display
: "&8[&cP{number}&8]"
    to
: 2000
>> From Dev Builds
- Significantly improved performance of prestige max for infinite prestige.
- Added a command named "/prx scan" to fix errors in your config files automatically.
- Fixed leaderboard not showing players in the correct order for infinite prestige.
- Fixed creating ranks/prestiges/rebirths or editing their displays ingame doesn't show hex color codes without reloading the plugin.
- Fixed /autorankup and /autoprestige cannot be disabled after using /prx reload
- Fixed global commands and broadcast of prestigemax are not being executed when you prestige.
- Switching to infinite prestige is now possible while the server is online.
----------, Dec 31, 2021

- Added prestiges list support for infinite prestiges.
- '/prx setprestige' now works with infinite prestiges.
- Fixed not being able to max prestige because of infinite prestiges.
- Fixed inability to use hex color codes in 1.17
- Added %prisonranksx_currentrebirth_number% placeholder for PlaceholderAPI.
- Added %prisonranksx_prestige_number_formatted% placeholder for PlaceholderAPI for infinite prestiges.
----------, Oct 19, 2021

- Added 1.17 support.
- Recoded MySQL leaderboard system.
- Added experimental infinite prestige system.
* Enable it in your config file
Code (YAML):
Options :
  ...
  ...
  infinite-prestige
: true
* You must set ResetRank under PrestigeOptions section to false [temporal limitation]
Code (YAML):
PrestigeOptions:
  ResetRank
: false
* Formatted prestiges list gui or not is not supported. Therefore, it will send a custom list instead [temporal limitation].
* rankupmax-with-prestige won't work, so disable it. [temporal limitation]
* prestigemax uses the same system that normal prestiging uses. This is also temporary. It should be instant.
- MVdWPlaceholderAPI support has been refactored.
- Changed default rank gui list format to look like the one in the pictures.
- Added placeholders for PlaceholderAPI:
%prisonranksx_canprestige% = checks whether the player can prestige or not.
%prisonranksx_canrebirth% = same as above, but for rebirth.
%prisonranksx_rank_percentage_<rankname>% = shows the percentage you have till you reach a certain rank instead of just showing for the next rank.
%prisonranksx_rank_percentage_decimal_<rankname>% = same as above, but decimal (0.00) format.
%prisonranksx_rank_percentage_nolimit_<rankname>% = allow it to go beyond 100 percent.
%prisonranksx_rank_percentage_decimal_nolimit_<rankname>% = same as above, but in decimals.
%prisonranksx_rank_progress_<rankname>% = shows your progress for a certain rank.
%prisonranksx_rank_progress_double_<rankname>% = same as above, but with twice the amount of characters.
----------, Jul 18, 2021

- Fixed /autorankup disable not working.
- Fixed disabled-worlds list inside config.yml not working properly.
- Added an option to switch it to enabled-worlds instead of disabled.
- Added an option disable leaderboards if you don't use those leaderboards, you can disable them to save some memory.
- Added /autorankup %playername% to toggle autorankup for other players, must have the permission: "prisonranksx.autorankup.other"
- Optimized /prx reload.
Note: a new configuration file called "infinite_prestige.yml" will be generated in prisonranksx folder. However, you can't use this yet because It's not ready.
----------, Dec 28, 2020

- Adjusted /rankupmax issues.
----------, Dec 20, 2020

- Fixed rankup progress bar wrong calculations (needs x1000 the amount of next rank cost to show a difference in the progress bar)
- Fixed writing /ranks, /prestiges twice, pretty much destroys the plugin.
- Added statement close command for mysql. As a result, it will fix some problems with storing players data.
~ Plugin should work fine with 1.16.4 as there is no big difference between 1.16.3 and 1.16.4. However, I didn't test that. So if you find a problem, inform me asap.
----------, Dec 19, 2020

- Fixed rankupmax broadcasting the commands instead of executing them.
- Modified mysql data update.
----------, Oct 18, 2020

- Fixed plugin doesn't start due to ranks data getting loaded faster than it should.
- Added additional last rank check for rankup max to prevent some problems from happening.
- Removed "[op] command" due to security issues.
----------, Oct 16, 2020

- Fixed errors get thrown because of commands being dispatched asynchronously.
- Added a fallback for when loading a rank without a display, to prevent the plugin from getting disabled when there is a rank that doesn't have a display name.
- Slightly optimized the progress bars.
----------, Oct 14, 2020

- Slightly Improved loading performance for ranks, prestiges, and rebirths.
- Players with invalid information will now be ignored when saving player data, so it doesn't break the saving process.
----------, Oct 13, 2020

- Fixed mysql data saving goes beyond the amount of players online that are needed to be saved
- Fixed plugin fails to load when the default path is not called "default"
- Fixed rankup percentage placeholders fail to show when there are more than one rank with the cost 0
- Fixed errors get thrown when there is a player that doesn't have a path in rankdata.yml
- Confirmed that the plugin works on spigot 1.16.3
----------, Oct 7, 2020

FIXED:
  • Mysql connection issues
----------, Aug 27, 2020

ADDED:
  • Command: /prestigemax | permission: prisonranksx.prestigemax
  • [API] AsyncAutoPrestigeEvent | called everytime you prestige using /autoprestige
  • [API] AsyncAutoRankupEvent | called everytime you rankup using /autorankup
  • [API] AsyncPrestigeMaxEvent | called when prestigemax process ends
  • [API] AsyncRankupMaxEvent | called when rankupmax process ends
  • [API] AsyncRankRegisterEvent | called when a new player joins the server
  • [API] PrePrestigeMaxEvent | called before the prestigemax process starts
OPTIMIZED:
  • Vault group updates
  • Formatted balance parsing
  • Player data loading & saving
  • Recoded & Lowered Leaderboard memory usage
  • Save on leave option [enable to lower the memory usage]
  • Actionbar animations
  • Rankup/Prestige/Rebirth fireworks
  • Chat placeholders parsing
  • Messages loading
  • Text-based paginated rank/prestige/rebirth list
  • Everything related to prestiges
FIXED:
  • [Maybe] Being able to take items from gui lists
  • Auto rankup & auto prestige doesn't stop when a player leaves the server
  • Some permissions are ignored when using /rankupmax due to the process being fast
  • Sometimes Prestige text-list crashes the server when you have over 9000 prestiges
  • Luckperms not updating player groups
  • Heads cannot be used on main gui options
OTHER:
  • Confirmed support for 1.16.2
  • [API] Removed the X at the beginning from all events
  • [API] Renamed events: XRankupMaxEvent -> AsyncRankupMaxEvent, XAutoRankupEvent -> AsyncAutoRankupEvent. and now they are called asynchronously
  • "/prx help" theme will change when there is a holiday like Halloween.
  • Also enabling allow-easter-eggs on config.yml will show something upon rankup or prestige related to that holiday. like snow particles when it's christmas
In case you don't have prestigemax section on your commands.yml:
Code (YAML):
 prestigemax:
    enable
: true
    description
: "prestige to the latest prestige you can reach"
    permission
: "prisonranksx.prestigemax"
    permission-message
: "&cYou don't have permission to execute this command."
    usage
: "/<command>"
    aliases
: [pmax, maxprestige, maxp, maxpres, presmax ]
----------, Aug 24, 2020

- Added RGB color support for everything that can be colored (levels display name, item names, messages) by levels I mean: rank, prestige, and rebirth. of course for 1.16+ only
o usage: &#<hex>, example: &#123456Hello
[​IMG]
Display name of the rank A​
- Added custom placeholder requirements for All Levels:
o Usage example on (ranks.yml, prestiges.yml, and rebirths.yml):
Code (YAML):
requirements :
# number requirement
- "%ezblocks_blocks%>>1000" # 1000 broken blocks required to get promoted to the next level
# string requirement
- "%vault_group%->Vip" # You must be a vip to rankup
o Added custom requirement message (message that shows up if you didn't met the requirements), Usage:
Code (YAML):
custom-requirements-message :
- "&6You need to break 1000 blocks to rankup!"
- Added commands for gui constant-items
- Added placeholders:
============================================
== Global ==
%prisonranksx_current_displayname% | shows the levels display name you currently have, added to prevent the unnecessary spaces from showing between the levels
%prisonranksx_current_displayname_<spacecharacter>% | same as above, but instead of adding the normal space " " character you can put the character you want here
== Leaderboard ==
%prisonranksx_valuedisplay_rank_<number>% | shows the display name instead of the rank name
%prisonranksx_valuedisplay_prestige_<number>% | /\
%prisonranksx_valuedisplay_rebirth_<number>% | /\
%prisonranksx_name_stage_<number>% | shows the top player counting the rebirth, prestige, and the rank
%prisonranksx_value_stage_<number>% | shows the rank name, prestige name, and the rebirth name
%prisonranksx_valuedisplay_stage_<number>% | same as above but shows the display name instead of the name
===========================================
- Prestige and rebirth are now a bit faster than before
- Improved leaderboard performance to update asynchronously rather than being instantly updated everytime you execute a command. (weird thing that it didn't lag on a 100+ players server before :0)
- Fixed formatted balance shows null behind the number when it's above 1000 zillion
- Fixed errors gets thrown everytime you chat if you have a wrong rankdata values where you had to manually delete the rankdata.yml file inorder for it to go away
- Fixed /topprestiges show null player names which makes it to break sometimes
- Fixed /toprebirths show the names of topprestiges players
- Fixed \n doesn't work (doesn't create a new line) when used on messages.yml
- Fixed msg section on level configs doesn't send any message
- Fixed /prx setprestige, setrank, setrebirth doesn't execute any command ,addpermissions and delete permissions when used
----------, Jul 25, 2020

- Fixed an issue with registering new player data.
----------, Jul 5, 2020

- Updated Actionbar and materials to support 1.16
- Improved data loading and saving performance
o Filter player data and skip the unwanted data (bots, player who joined and quit immediately)
o Cached player names (were using #getOfflinePlayer)
o Regarding these changes, player names are now stored in rankdata.yml
- Fixed force-save sometimes fail to save due to the save tasks not being queued and overlapping the other tasks
- Added an option to configure the delay between auto save tasks
- Adjusted other little bugs.
was busy in other things
If your problem still exists, please contact me.
----------, Jul 2, 2020

- Added placeholders:
%prisonranksx_rank_cost_integer_<rank>%
%prisonranksx_prestige_cost_integer_<prestige>%
%prisonranksx_rebirth_cost_integer_<rebirth>%
- Fixed rankup-vault-group-check is always enabled. now it's disabled by default.
- Added player heads support for gui lists.
Usage:
Code (YAML):
    # format: @[email protected]<texture> | example: @[email protected]2bed7
    # format: @[email protected]<url> | example: @[email protected]://textures.minecraft.net/texture/b03338e1e9ae77cb28a195790fcbc0601c6588830ca429af19205c3e0642bed7
    # format: @[email protected]<base64> | example: @[email protected]taW5lY3JhZnQubmV0L3RleHR1cmUvYjAzMzM4ZTFlOWFlNzdjYjI4YTE5NTc5MGZjYmMwNjAxYzY1ODg4MzBjYTQyOWFmMTkyMDVjM2UwNjQyYmVkNyJ9fX0=
    # format: @[email protected]<name> | example: @[email protected]
----------, Jun 16, 2020

- Added the ability to use /rankupmax when you are at the latest rank to prestige.
- Added placeholderapi placeholders:
%prisonranksx_rankup_cost_plain%
%prisonranksx_rankup_cost_integer%
%prisonranksx_rankup_cost_integer_plain%
%prisonranksx_nextprestige_cost_plain%
%prisonranksx_nextprestige_cost_integer%
%prisonranksx_nextprestige_cost_integer_plain%
%prisonranksx_nextrebirth_cost_plain%
%prisonranksx_nextrebirth_cost_integer%
%prisonranksx_nextrebirth_cost_integer_plain%
----------, Jun 16, 2020

- Added rankup-vault-groups-check option explained here \/
Code (YAML):
  # Check if player group in the said plugin doesn't match the one in prisonranksx then update it.
  rankup-vault-groups-check
: true
- Added rankupmax for versions [1.5-1.7]
- Fixed prestige cost returns 0.0 in prestige list gui when a rebirth doesn't have prestige_cost_increase option
- Fixed actionbar progress doesn't get reloaded when using /prx reload
- Fixed prestige and rebirth admin commands breaks the plugin until a server restart
- Fixed rank, prestige, rebirth non-paginated chat list sending the footer above the level list.
- Improved rankupmax performance
- Fixed rankupmax-with-prestige option doesn't work as intended when resetrank for PrestigeOptions is set to false.
- Added the possibility to delete a player prestige using /prx delprestige instead of /prx delplayerprestige when the next argument is not a prestige
~ Added to rebirth too
~ Added /prx setprestige <name> 0/P0 which deletes the player prestige too
- [API] Added more causes to level updates
- [API] Added event calls to every possible rank update except for first time rank set.
- Added placeholders for placeholderapi:
%prisonranksx_currentrank_lastcolors%
%prisonranksx_currentrank_afterbracketcolor%
%prisonranksx_currentrank_afterspacecolor%
%prisonranksx_currentrank_colors%
%prisonranksx_plain_<placeholderwithcurlybraces>% = removes every character except for numbers, example usage:
%prisonranksx_plain_{prisonranksx_rankup_cost}%
%prisonranksx_plaindecimal_<placeholderwithcurlybraces>% = same but keeps the dots with the numbers.
%prisonranksx_integerize_<placeholderwithcurlybraces>% = converts a decimal number to integer.
%prisonranksx_currentrank_name_<playername>%
%prisonranksx_rankup_name_<playername>%
%prisonranksx_rebirth_name_<playername>%
%prisonranksx_nextrebirth_name_<playername>%
%prisonranksx_prestige_name_<playername>%
%prisonranksx_nextprestige_name_<playername>%
%prisonranksx_money_decimalformatted% = money formatted like this: 100,000,000
%prisonranksx_decimalformat_<placeholderwithcurlybraces>% = converts a decimal number to the decimal format above.
----------, Jun 15, 2020

- Fixed /rankupmax not working properly when {rebirthnumber} placeholder is being used.
- [API] Fixed e.setCancelled() keeps player in command spam checking.
- Improved MySql data update.
- Added placeholder for papi: %prisonranksx_rankup_percentage_plain%
which always show a number without the percent sign and ignores the placeholderapi option in config.yml
----------, Jun 11, 2020

- Re-added rankup max with prestige option. [now it will prestige you as long as you have enough money and continue to rankup max after prestiging]
- Changed expbar-progress to only work with levels.
- Added {rebirthnumber} placeholder to cost increase expression.
- Fixed not being able to open /ranks gui if there is not a cost increase option and you are not prestiged.
- Added rankupmax-warp-filter option:
Code (YAML):
Options :
  # if you want /warp commands to be ignored on rankupmax till the last rank you rankup to. only commands that start with '[player] <command>' will be filtered
  rankupmax-warp-filter
: false
 
----------, Jun 10, 2020

- Fixed an issue when you use /rankupmax and have ActionUtil installed but you don't use it in the plugin.
- Fixed /prx reload throws an error when top prestiges or top rebirths command is disabled.
- Updated LuckPerms to the latest version.
----------, Jun 6, 2020

- Added force-save option which saves player data upon a temp data update
- You can now enable or disable the save-on-leave option.
Code (YAML):
Options:
  forcesave
: false
  save-on-leave
: false
- Added expbar-progress option
Code (YAML):
Options :
  # don't enable if you use experience for another thing.
  expbar-progress
: false
  # expbar update time (10 ticks) (0.5 second)
  expbar-progress-updater
: 10
  # the placeholder must return a number from 0 to 100 ! otherwise it will not work properly
  expbar-progress-format
: "%prisonranksx_rankup
- Fixed async placeholderapi register for version 1.15.
- Fixed an exception gets thrown to the console when using save-on-leave when it wasn't configurable.
- Fixed issues that I forgot :O
- If your problem still not fixed please contact me.
- API:
~ Added canPrestige(Player player)
~ Added canRebirth(Player player)
----------, Jun 2, 2020

- Fixed rankupmax doesn't take rankup cost.
- Fixed actionbar progress exception gets thrown when a player leaves the server
- Added /rankupmax <torank> | rankup to a specific rank and stop.
- Added data save for flatfile when player leaves the server.
- Added command /prx reload-data | reloads rankdata.yml, prestigedata.yml, and rebirthdata.yml (Experimental)
- Added an option to disable auto data save on config.yml
Code (YAML):
Options:
  autosave
: true
----------, May 19, 2020

- Fixed /topprestiges and /toprebirths commands not working properly.
- Fixed /topprestiges and /toprebirths only shows online players.
- Fixed rankupmax msg doesn't replace %rank_display% and %rankup_display% color codes.
- Updated PlaceholderAPI to 2.10.5 (latest version)
- Updated MVdWPlaceholderAPI to 3.0.1 (latest version)
- Added additional checks to ErrorInspector.
- Changed MySQL data loading and data saving process.
- Optimized data saving process.
- Fixed other little bugs.
----------, Apr 30, 2020

- Fixed many bugs
- Added placeholders:
%prisonranksx_name_rank_<number>%
%prisonranksx_value_rank_<number>%
- Added placeholderapi setting:
Code (YAML):
  # what to show when there is no player that took this position i.e no player prestiged so there will be not 1st player in the leaderboard.
  leaderboard-name-rank-null
: none
  leaderboard-value-rank-null
: none
  leaderboard-name-prestige-null
: none
  leaderboard-value-prestige-null
: none
  leaderboard-name-rebirth-null
: none
  leaderboard-value-rebirth-null
: none
- Added options under Options in config.yml
Code (YAML):
  # send save message every 15 minutes to console?
  save-notification
: true
  # /rankupmax msg
  send-rankupmaxmsg
: true
- Added rankupmax msg in messages.yml
Code (YAML):
  # placeholders: %rank% %rank_display% %rankup% %rankup_display% %cost%
  rankupmax
: "&a&oYou have successfully ranked up from &6&o%rank% &a&oto &6&o%rankup%&a&o."
----------, Apr 26, 2020

- Added ErrorInspector to check for popular errors.
- Added command /prx errors.
- Added rebirth required_prestiges option. example \/
Code (YAML):
Rebirths:
  R1
:
    required_prestiges
: 10
- Fixed rankupmax doesn't execute commands from executecmds section.
- Fixed ranks, prestiges, and rebirths sends the broadcast message only to the player who did get promoted.
- Fixed rankup firework sends the firework after the nextrank.
- Fixed autorankup async event call.
- Fixed config.yml & messages.yml doesn't support UTF-8 chars.
- Fixed progressbars doesn't allow more than one character in the style section.
- Fixed addpermission, delpermission. doesn't work for versions before 1.7
- Optimized command executing for rankupmax.
----------, Apr 22, 2020

- Fixed async command dispatch for maxrankup
- Fixed /prx createprestige, /prx createrebirth. doesn't save nextprestige, nextrebirth for the previous one.
----------, Apr 20, 2020

- Fixed MySQL reading errors
- Fixed placeholders %prisonranksx_nextprestige_cost% & %prisonranksx_nextprestige_cost_formatted% not working after cost increase update.
----------, Apr 19, 2020

- Fixed GUIs custom section gets regenerated to default if changed or breaks the config if it's empty ((custom: {}))
- Fixed GUI commands being executed to the latest player who opened the gui
- Fixed prestige error when you are at the latest prestige
- Fixed autoprestige & autorankup sends a lot of messages when they are used together.
- Added actionbar-progress look for its settings in config.yml under Options (You don't need to remove the config file it will be added automatically)
Code (YAML):
Options :
  # actionbar that shows your current progress to the next stage. that appear above your hotbar.
  actionbar-progress
: true
  # show actionbar progress only while holding a diamond pickaxe?
  actionbar-progress-only-pickaxe
: true
  # basically placeholderapi placeholders.
  actionbar-progress-format
: ' %prisonranksx_rankup_progress% &e%prisonranksx_rankup_percentage%'
  # update time in ticks (20 ticks = 1 second), (40 ticks = 2 seconds).
  actionbar-progress-updater
: 40
[​IMG]
- Added custom cost increase expression calculator for both prestige and rebirth to make your own math expression. (this is the default expression)
Code (YAML):
PrestigeOptions :
  # placeholders: {rankcost}, {prestigenumber}, {cost_increase}
  cost_increase_expression
: ' {cost_increase } * ( {rankcost } / 100 )'
- Added /topprestiges, /toprebirths commands. you must delete your old commands.yml for them to generate. you can edit them on messages.yml:
Code (YAML):
 top-prestiges :
 - ' [header ]&7- &e&oTop &6&oPrestiges &7-'
  - '&81
: &e%name1% &8- &3 %value1%'
  - '&82
: &e%name2% &8- &3 %value2%'
  - '&83
: &e%name3% &8- &3 %value3%'
  - '&84
: &e%name4% &8- &3 %value4%'
  - '&85
: &e%name5% &8- &3 %value5%'
  - '&86
: &e%name6% &8- &3 %value6%'
  - '&87
: &e%name7% &8- &3 %value7%'
  - '&88
: &e%name8% &8- &3 %value8%'
  - '&89
: &e%name9% &8- &3 %value9%'
  - '&810
: &e%name10% &8- &3 %value10%'
  - '[footer]&6Page
: &e&o<%currentpage%/%totalpages%>'
  top-prestiges-last-page-reached
: '&e&oThere are only &6&o %page% &e&opage(s).'
  top-rebirths
:
 - ' [header ]&7- &c&oTop &4&oRebirths &7-'
  - '&81
: &c%name1% &8- &3 %value1%'
  - '&82
: &c%name2% &8- &3 %value2%'
  - '&83
: &c%name3% &8- &3 %value3%'
  - '&84
: &c%name4% &8- &3 %value4%'
  - '&85
: &c%name5% &8- &3 %value5%'
  - '&86
: &c%name6% &8- &3 %value6%'
  - '&87
: &c%name7% &8- &3 %value7%'
  - '&88
: &c%name8% &8- &3 %value8%'
  - '&89
: &c%name9% &8- &3 %value9%'
  - '&810
: &c%name10% &8- &3 %value10%'
  - '[footer]&4Page
: &c&o<%currentpage%/%totalpages%>'
  top-rebirths-last-page-reached
: '&c&oThere are only &4&o %page% &c&opage(s).'
والسلام عليكم
----------, Apr 16, 2020

- Added placeholders:
%prisonranksx_nextrebirth_cost%
%prisonranksx_nextrebirth_cost_formatted%
~ Leaderboard placeholders:
%prisonranksx_name_prestige_<number>%
%prisonranksx_value_prestige_<number>%
%prisonranksx_name_rebirth_<number>%
%prisonranksx_value_rebirth_<number>%
* example usage:
%prisonranksx_name_prestige_1% || will show the first player name in the leaderboard.
%prisonranksx_value_prestige_1% || will show the first player prestige in the leaderboard.
----------, Apr 14, 2020

- Fixed rebirth random commands.
----------, Apr 12, 2020

- Fixed player data doesn't save when the player leaves.
- Added placeholders:
%prisonranksx_rank_displayname_<rank>%
%prisonranksx_rank_cost_<rank>%
%prisonranksx_rank_costformatted_<rank>%
%prisonranksx_prestige_displayname_<prestige>%
%prisonranksx_prestige_cost_<prestige>%
%prisonranksx_prestige_costformatted_<prestige>%
%prisonranksx_rebirth_displayname_<rebirth>%
%prisonranksx_rebirth_cost_<rebirth>%
%prisonranksx_rebirth_costformatted_<rebirth>%
----------, Apr 12, 2020

- Reuploaded to disable debug messages.
Sorry for that.
----------, Apr 11, 2020

- Updated MySQL to be a real storage instead of just showing player data. [you can sync player data if you want]
- Lowered Ram Usage
- Added missing permissions for player commands.
----------, Apr 11, 2020

- Fixed GUI custom items not working.
- Fixed old MySQL data doesn't have rebirth column error.
- Changed LuckPerms rank updating process.
----------, Apr 9, 2020

- Fixed a problem with permissions.
~ Sorry gotta sleep z_Z.
----------, Apr 8, 2020

- Fixed /prx resetrank doesn't execute commands in rank-reset-cmds in config.
- Fixed events doesn't get called in several cases.
- Fixed commands are not displayed in /help, /? commands
- API Changes =>
Changed XPrestigeEvent to XPrestigeUpdateEvent
Changed XRebirthEvent to XRebirthUpdateEvent
Added XPrestigeUpdateCause, XRebirthUpdateCause.
<=
----------, Apr 8, 2020

- Fixed ranks random commands not working.
- Fixed /ranks, /prestiges, and /rebirths commands throwing errors when the first argument is not a number or a number under 1
- Added Messages: ranklist-invalid-page, prestigelist-invalid-page, and rebirthlist-invalid-page.
- Added rebirth setting: prestige_cost_increase_percentage works exactly like the prestige one.
- Fixed a typo in Mysql database creation statement
- Changed config loading and saving process. possibly fixes empty config loading.
- Added /autoprestige command.
- Updated plugin source code in GitHub.
----------, Apr 6, 2020

- Fixed placeholders {.._rankup_percentage} {......_progress} throwing errors when your current prestige doesn't have a rankup_cost_increase_percentage setting or it's 0.
- Fixed rankupmax issue with async entity spawning.
- Added RankupLegacy, PrestigeLegacy, and RebirthLegacy for old versions.
----------, Apr 1, 2020

- Fixed an issue with reloading.
----------, Mar 30, 2020

- Added GUI Allowed Slots which allows multi-paged GUI list with constant-items
Code (YAML):
allowed-slots : "0,1,2,3,4,5,6,7" # up to 1 billion
- Fixed global rankup_cost_increase_percentage being loaded as a number instead of a string
----------, Mar 30, 2020

- Added autorankup-delay option in config.yml
- Added prestige cost_increase_type in config.yml under PrestigeOptions
- Added Ranks Gui List alternative item name reader
Code (YAML):
itemNAME : "WOOL:1" # new method 1 if doesn't work
itemNAME
: "ORANGE_WOOL:1" # method 1 but different way if doesn't work
itemNAME
: "WOOL#1" # new method 2
itemNAME
: "WOOL" # old method that doesn't support item data
----------, Mar 29, 2020

- Fixed ranks wrong order in /ranks command. when it's not on Alphabetical order.
- Fixed /rankup cost doesn't count rankup_cost_increase_percentage for prestiges.
- Updated API
* Now you can use UUID in all methods to support versions before 1.7
----------, Mar 28, 2020

- Updated PlaceholderAPI from 2.10.3 to 2.10.4
- Fixed prestige executecmds commands not being executed.
- Fixed global rankup_cost_increase_percentage not working at all.
~ rankup cost increase percentage must be above 100 to increase. otherwise, the prices will be lower than the original prices.
- Fixed -path: prefix in command /prx setrank not working.
- Fixed default rank path always comes back even if you deleted it.
----------, Mar 25, 2020

- Updated LuckPerms to the latest version.
----------, Mar 24, 2020

- Added the ability to disable ranks, prestiges, and rebirths. so you can use another plugin alongside PrisonRanksX.
Code (YAML):
Options :
  # false to disable.
  rank-enabled
: true
  prestige-enabled
: true
  rebirth-enabled
: true
- Added missing commands arguments.
----------, Mar 24, 2020

- Added placeholders:
PlaceholderAPI:
%prisonranksx_rebirth_name%
%prisonranksx_rebirth_displayname%
MVDWPlaceholderAPI:
{prisonranksx_rebirth_name}
{prisonranksx_rebirth_displayname}
----------, Mar 23, 2020

- MySql, CustomItems, RankupVaultGroup options are now enabled.
- Added rankupmax-with-prestige option.
- 1.15 is now supported.
- Fixed /prx save, /prx reload not doing their jobs
- Added Automatic data saver (15min).
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Any problems/ideas contact me & don't post your problems in the review section.
----------, Mar 23, 2020

<!> this version was uploaded for testing purposes. And should not be used publicly. If you find any problem contact me.
- Recoded the entire plugin
* Huge Performance Boost
- Added Rebirth
* Rebirth Text & GUI List are available
- Major API Changes
- Separated the config files => {config.yml, messages.yml, commands.yml, ranks.yml, prestiges.yml, rebirths.yml, rankdata.yml, prestigedata.yml, rebirthdata.yml}
- Added a placeholder for PlaceholderAPI => %prisonranksx_next_progress% which shows a different progress for each stage (rank, prestige, rebirth)
- Added multiple rank paths
- USE-UUID option removed you are now forced to use UUIDs because they are better
- Added GUI constant items (items that are not ranks, rebirths...) so you can customize the GUI
- MySQL is currently disabled.
- Config no longer loses the green comments when it gets updated.
Latest config:
Code (YAML):
# --------------------------------------------------------------
# Symbols can be used in every message
# "[>>]", "»"
# "[<<]", "«"
# "[coolarrow]", "➤"
# "[<3]", "❤"
# "[shadowarrow]", "➢"
# "[shadowarrow_2]", "➣"
# "[shadowarrow_down]", "⧨"
# "[shadowsquare]", "❑"
# "[nuke]", "☢"
# "[+]", "✚"
# "[correct]", "✔"
# "[incorrect]", "✖"
# "[bowarrow]", "➸"
# "[squaredot]", "◼"
# "[happyface]", "☺"
# "[|]", "⎟"
# --------------------------------------------------------------
# Disabled worlds
# [you will not see messages of other worlds if allworlds-broadcast is false]
# [you can't rankup]
# [you can't prestige]
# [you can't rebirth]
# [you can't use /prx commands]
worlds
:
- "i_am_a_disabled_world"
- "i_should_not_be_messing_with_prisonranksx"
- "not_even_the_op_can_bypass_me"
Options
:
  # Wanna disable the prestige command? set this to false.
  prestige-enabled
: true
  # force display order default: "{rebirth}{prestige}{rank}"
  force-display-order
: "{rebirth}{prestige}{rank}"
  # Forces any chat plugin to place the rank display name aka prefix before the chat format without using a variable/placeholder.
  force-rank-display
: true
  # Does the same as above but shows the prestige prefix/display name with the rank ofc.
  force-prestige-display
: true
  # -
  force-rebirth-display
: true
  # Don't want rank's 'broadcast:' section to be shown in every world? set this to false . this uses the worlds list above.
  allworlds-broadcast
: false
  # If you want to send the rankup msg that one in the messages.yml file.
  send-rankupmsg
: true
  # If you want to send the prestige msg /\
  send-prestigemsg
: true
  # -
  send-rebirthmsg
: true
  # You better use this if your server is premium so players don't lose their ranks, prestiges and rebirths when they change user names in mojang website.
  USE-UUID
: true
  # Don't like the text rank list then try this setting [set it to true].
  GUI-RANKLIST
: false
  # You want a cool gui prestige list? use this [change it to true].
  GUI-PRESTIGELIST
: false
  # yep
  GUI-REBIRTHLIST
: false
  # Want your players to dance when they prestige? put a sound name here otherwise make it like this "" to disable.
  prestigesound-name
: "LEVEL_UP"
  # Sound volume if you make it higher other players will hear it.
  prestigesound-volume
: 1.0
  # Sound pitch you will hear the sound similar to the original one but with little changes like it's made with demon's mouth when it's high.
  prestigesound-pitch
: 1.0
  # You can disable this by making it empty as you see "".
  rankupsound-name
: "LEVEL_UP"
  # -
  rankupsound-volume
: 1.0
  # -
  rankupsound-pitch
: 1.0
  # -
  rebirthsound-name
: "GHAST_SCREAM"
  # -
  rebirthsound-volume
: 1.0
  # -
  rebirthsound-pitch
: 1.0
  # if you want every rank to have a restricted permission. the permission is: "prisonranksx.rankup.<the_rank_that_you_will_go_to>" without the quotes.
  per-rank-permission
: false
  # if you don't want the server to be a text garbage when the players rankup max then disable this by setting it to true.
  rankupmax-broadcastlastrankonly
: true
  # if you enable this the player may miss an important message you put in one of the ranks.
  rankupmax-msglastrankonly
: true
  # this is literally useless just disable it by making it true. except if you want the players to show their coolness when they rankup max.
  rankupmax-rankupmsglastrankonly
: true
  # Want vault plugin to handle the ranks instead of prisonranksx? then use this.
  rankup-vault-groups
: false
  # You can write here "GroupManager" or "PermissionsEX" or "LuckPerms" or "Vault" otherwise you can write the command using the placeholders %player% and %rank%.
  rankup-vault-groups-plugin
: "Vault"
  # enable autorankup task.
  autorankup
: true
  # if you want the player to prestige up when he gets enough money to prestige while ranking up using "/rankupmax" command
  rankupmax-with-prestige
: false
Ranklist-text
: # text based ranks list
  # placeholders: %rank_name% %rank_displayname% %nextrank_name% %nextrank_displayname% %nextrank_cost% %nextrank_cost_formatted%
  rank-current-format
: "%rank_displayname% &a> %nextrank_displayname% &a| &2$&e%nextrank_cost_formatted% &a<&m---"
  rank-completed-format
: "&7&m%rank_name%&r &7> &7&m%nextrank_name%&r &8| &a&lCOMPLETED"
  rank-other-format
: "%rank_displayname% &7> &a%nextrank_displayname% &7| &f$&e%nextrank_cost_formatted%"
  # You have a big collection of ranks? then use this to make your ranks list fancier.
  enable-pages
: true
  # How many ranks per page? 8 9 10 20..
  rank-per-page
: 9
  # This is how the players will see the ranks list in the game customize it to your liking.
  # If you want a custom list just remove [rankslist] placeholder and put your thing
  # however rank per page will count the text lines (header+footer) as ranks if you removed [rankslist] so you may increase it
  # you can use PlaceholderAPI placeholders here.
  rank-with-pages-list-format
:
 - "&7&m                           &7"
  - "[rankslist]"
  - "&aRanks &7[<<] &e%currentpage% &9of &e%totalpages% &7[>>]"
  - "&7&m                           &7"
  rank-list-format
:
 - "&7&m                           &7"
  - "[rankslist]"
  - "&7&m                           &7"
Prestigelist-text
: # text based prestiges list
  # placeholders: %prestige_name% %prestige_displayname% %nextprestige_name% %nextprestige_displayname% %nextprestige_cost% %nextprestige_cost_formatted%
  prestige-current-format
: "%prestige_displayname% &a> %nextprestige_displayname% &a| &2$&e%nextprestige_cost_formatted% &a<&m---"
  prestige-completed-format
: "&7&m%prestige_name% &7> &7&m%nextprestige_name% &8| &a&lCOMPLETED"
  prestige-other-format
: "%prestige_displayname% &7> &a%nextprestige_displayname% &7| &f$&e%nextprestige_cost_formatted%"
  enable-pages
: true
  prestige-per-page
: 9
  prestige-with-pages-list-format
:
 - "&7&m                           &7"
  - "[prestigeslist]"
  - "&aPrestiges &7[<<] &e%currentpage% &9of &e%totalpages% &7[>>]"
  - "&7&m                           &7"
  prestige-list-format
:
 - "&7&m                           &7"
  - "[prestigeslist]"
  - "&7&m                           &7"
Rebirthlist-text
: # text based rebirths list
  # placeholders: %rebirth_name% %rebirth_displayname% %nextrebirth_name% %nextrebirth_displayname% %nextrebirth_cost% %nextrebirth_cost_formatted%
  rebirth-current-format
: "%rebirth_displayname% &a> %nextrebirth_displayname% &a| &2$&e%nextrebirth_cost_formatted% &a<&m---"
  rebirth-completed-format
: "&7&m%rebirth_name% &7> &7&m%nextrebirth_name% &8| &a&lCOMPLETED"
  rebirth-other-format
: "%rebirth_displayname% &7> &a%nextrebirth_displayname% &7| &f$&e%nextrebirth_cost_formatted%"
  enable-pages
: true
  rebirth-per-page
: 9
  rebirth-with-pages-list-format
:
 - "&7&m                           &7"
  - "[rebirthslist]"
  - "&aRebirths &7[<<] &e%currentpage% &9of &e%totalpages% &7[>>]"
  - "&7&m                           &7"
  rebirth-list-format
:
 - "&7&m                           &7"
  - "[rebirthslist]"
  - "&7&m                           &7"
# You must have HolographicDisplays plugin installed on your server in order for this to work.
Holograms
:
  rankup
:
    enable
: true
    remove-time
: 3
    height
: 4
    format
: # placeholders: %player% %nextrank% %nextrank_display%
    - "&6%player%"
    - "&b&kii&3Ranked Up To&b&kii"
    - "&e&l%nextrank%"
  prestige
:
    enable
: true
    remove-time
: 5
    height
: 4
    format
:
   - "&c%player%"
    - "&9&kii&6Prestiged Up To&9&kii"
    - "&4&l%nextprestige%"
  rebirth
:
    enable
: true
    remove-time
: 5
    height
: 4
    format
:
   - "&c%player%"
    - "&c&kii&4Reborn To&c&kii"
    - "&e&l%nextrebirth%"
MySQL
: # wanna store players data in a database? enable this. but keep in mind this is only for reading (showing the rank in a website, prestige etc....)
  enable
: false
  host
: localhost
  port
: 3306
  database
: test
  table
: prisonranksx
  username
: root
  password
: "123"
Main-GUIOptions
:
  previouspage-itemNAME
: "ARROW"
  previouspage-itemDISPLAYNAME
: "&c<< Previous page"
  previouspage-itemLORE
:
 - "&f"
  previouspage-itemENCHANTMENTS
: [ ]
  previouspage-itemDATA
: 0
  nextpage-itemNAME
: "ARROW"
  nextpage-itemDISPLAYNAME
: "&6Next Page >>"
  nextpage-itemLORE
:
 - "&f"
  nextpage-itemENCHANTMENTS
: [ ]
  nextpage-itemDATA
: 0
  no-previous-pages
: "&eThere are no previous pages."
  no-additional-pages
: "&eThere are no additional pages."
  currentpage-itemNAME
: "NAME_TAG"
  currentpage-itemDISPLAYNAME
: "&cPage &4{currentpage} &cof &4{maxpages}"
  currentpage-itemLORE
:
 - "&f"
  currentpage-itemENCHANTMENTS
: [ ]
  currentpage-itemDATA
: 0
Ranklist-gui
:
  title
: "&6Ranks"
  constant-items
: # placeholders: [_ = space] [@ = new line/new enchantment/new flag] [%at% = @ symbol] [%us% = _ symbol] [: = split enchantment name and the level]
  - "slot=0 item=DIAMOND amount=1 name=&6Spaces_Of_Course lore=&[email protected]&7List enchantments=durability:1 flags=HIDE_ENCHANTS"
  - "slot=1 item=DIAMOND amount=1 name=&6Illegal_Enchantments lore=&[email protected]&[email protected]&6GUI enchantments=durability:[email protected]:7 flags=HIDE_ENCHANTS"
  - "slot=2 item=DIAMOND amount=1 name=&6_&6 lore=&[email protected]&[email protected]&6GUI enchantments=durability:1"
  - "slot=3 item=DIRT amount=1 name=&3&lCustomName enchantments=durability:1 flags=HIDE_ENCHANTS"
  - "slot=4 item=STONE amount=1"
  - "slot=5 item=GLASS amount=1 name=&9Glass"
  - "slot=6 item=DIAMOND amount=1 name=&4Same_Enchantment lore=&f&lDifferent_name enchantments=unbreaking:1 flags=HIDE_ENCHANTS"
  - "slot=7 item=DIAMOND amount=1 name=&6_&6 lore=&[email protected]&[email protected]&6GUI enchantments=durability:1 flags=HIDE_ENCHANTS"
  - "slot=8 item=DIAMOND amount=1 name=&6_&6 lore=&[email protected]&[email protected]&6GUI enchantments=durability:1 flags=HIDE_ENCHANTS"
  current-format
: # placeholders: %currentrank% %currentrank_display% %currentrank_cost% %currentrank_cost_formatted%| format: <itemname>:[data] | example: WOOL:1 | data is optional
    itemNAME
: EMERALD_BLOCK
    itemAMOUNT
: 1
    itemDISPLAYNAME
: "&a%currentrank_display%"
    itemLORE
: # placeholder api supported
    - "&6Your current rank!"
    itemENCHANTMENTS
:
   - DURABILITY 10
    itemFLAGS
:
   - HIDE_ENCHANTS
    itemCOMMANDS
: # placeholder api supported. possible prefixes { (cancel-item_move),(closeinv),[op] <command>,[console] <command>,[player] <command>}
    - "(cancel-item_move)"
    - "[console] warp %currentrank%"
  completed-format
: # placeholders: %completedrank% %completedrank_display% %completedrank_cost% %completedrank_cost_formatted%
    itemNAME
: EMERALD_BLOCK
    itemAMOUNT
: 1
    itemDISPLAYNAME
: "&a%completedrank_display%"
    itemLORE
:
   - "&bCOMPLETED"
    itemENCHANTMENTS
: [ ]
    itemFLAGS
: [ ]
    itemCOMMANDS
:
   - "(cancel-item_move)"
  other-format
: # placeholders: %otherrank% %otherrank_display% %otherrank_cost% %otherrank_cost_formatted%
    itemNAME
: REDSTONE_BLOCK
    itemAMOUNT
: 1
    itemDISPLAYNAME
: "&a%otherrank_display%"
    itemLORE
:
    - "&cCost
: &3%otherrank_cost_formatted%"
    itemENCHANTMENTS
: [ ]
    itemFLAGS
: [ ]
    itemCOMMANDS
:
   - "(cancel-item_move)"
Prestigelist-gui
:
  title
: "&3Prestiges"
  current-format
:
    itemNAME
: EMERALD_BLOCK
    itemAMOUNT
: 1
    itemDISPLAYNAME
: "&a%currentprestige_display%"
    itemLORE
:
   - "&eYour current prestige!"
    itemENCHANTMENTS
:
   - DURABILITY 10
    itemFLAGS
:
   - HIDE_ENCHANTS
    itemCOMMANDS
:
   - "(cancel-item_move)"
  completed-format
:
    itemNAME
: EMERALD_BLOCK
    itemAMOUNT
: 1
    itemDISPLAYNAME
: "&a%completedprestige_display%"
    itemLORE
:
   - "&bCOMPLETED"
    itemENCHANTMENTS
: [ ]
    itemFLAGS
: [ ]
    itemCOMMANDS
:
   - "(cancel-item_move)"
  other-format
:
    itemNAME
: REDSTONE_BLOCK
    itemAMOUNT
: 1
    itemDISPLAYNAME
: "&a%otherprestige_display%"
    itemLORE
:
    - "&cCost
: &3%otherprestige_cost_formatted%"
    itemENCHANTMENTS
: [ ]
    itemFLAGS
: [ ]
    itemCOMMANDS
:
   - "(cancel-item_move)"
Rebirthlist-gui
:
  title
: "&4Rebirths"
  current-format
:
    itemNAME
: GOLD_BLOCK
    itemAMOUNT
: 1
    itemDISPLAYNAME
: "&a%currentrebirth_display%"
    itemLORE
:
   - "&cYour current rebirth!"
    itemENCHANTMENTS
:
   - DURABILITY 10
    itemFLAGS
:
   - HIDE_ENCHANTS
    itemCOMMANDS
:
   - "(cancel-item_move)"
  completed-format
:
    itemNAME
: DIAMOND_BLOCK
    itemAMOUNT
: 1
    itemDISPLAYNAME
: "&a%completedrebirth_display%"
    itemLORE
:
   - "&9COMPLETED"
    itemENCHANTMENTS
: [ ]
    itemFLAGS
: [ ]
    itemCOMMANDS
:
   - "(cancel-item_move)"
  other-format
:
    itemNAME
: REDSTONE_BLOCK
    itemAMOUNT
: 1
    itemDISPLAYNAME
: "&a%otherrebirth_display%"
    itemLORE
:
    - "&cCost
: &e%otherrebirth_cost_formatted%"
    itemENCHANTMENTS
: [ ]
    itemFLAGS
: [ ]
    itemCOMMANDS
:
   - "(cancel-item_move)"
# autocommands:
# '[rankpermissions] remove' = removes every permission that player got from ranking up <!> Of course Vault Must be installed
# '[prestigepermissions] remove' = removes every permission that player got from prestiging up <!> Of course Vault Must be installed
# '[rebirthpermissions] remove' = removes every permission that player got from rebirthing up <!> Of course Vault Must be installed
PrestigeOptions
:
  ResetMoney
: false
  ResetRank
: true
  # global rankup_cost_increase, if you want to disable this set it to 0 algorthim: (prestigenumber * rankup_cost_increase_percentage)
  rankup_cost_increase_percentage
: 0
  # executed when you prestige
  prestige-cmds
:
 - "[rankpermissions] remove"
  # executed when you do /prx delplayerprestige
  prestige-delete-cmds
:
 - "[prestigepermissions] remove"
  - "say Hi %player%"
  # executed when you do /prx resetplayerprestige
  # '[prestigepermissions$1] remove' = removes every permission that player got from prestiging up except the first prestige, it only works here
  prestige-reset-cmds
:
 - "[prestigepermissions$1] remove"
RankOptions
:
  # executed when you type /prx delplayerrank
  rank-delete-cmds
:
 - "[rankpermissions] remove"
  # executed when you do /prx resetplayerrank
  rank-reset-cmds
:
 - "[rankpermissions] remove"
RebirthOptions
:
  ResetMoney
: false
  ResetRank
: true
  ResetPrestige
: true
  rebirth-cmds
:
 - "[rankpermissions] remove"
  - "[prestigepermissions] remove"
  rebirth-delete-cmds
:
 - "[rebirthpermissions] remove"
  rebirth-reset-cmds
:
 - "[rebirthpermissions$1] remove"
PlaceholderAPI
:
  rankup-progress-style
: ' [squaredot ]'
  rankup-progress-filled
: '&a'
  rankup-progress-needed
: '&c'
  rankup-progress-full-enabled
: false
  rankup-progress-full
: "&aType &e/rankup &3!"
  rankup-progress-lastrank
: "Prestige now by typing &e/prestige"
  rankup-percentage-lastrank
: "&c/prestige"
  rankup-cost-lastrank
: "&cHighest Rank"
  rankup-lastrank
: "&cType /prestige"
  currentrank-lastrank-enabled
: false
  currentrank-lastrank
: "&a/prestige"
  prestige-lastprestige
: "&cHighest Prestige"
  prestige-notprestiged
: "&fNone"
  nextprestige-notprestiged
: "&fNot Prestiged"
  currency-symbol
: "$"
  currency-symbol-behind
: true
  percent-sign
: "%"
  percent-sign-behind
: false
  rebirth-notrebirthed
: "&fNone"
  nextrebirth-notrebirthed
: "&fN/A"
  rebirth-lastrebirth
: "&4Last Rebirth"
  next-progress-style
: # global progress bar for every level. changes according to your level position (rank,prestige,rebirth) [configurable]
    rankup
: ' [| ]'
    prestige
: ' [squaredot ]'
    rebirth
: ' [>> ]'
  next-progress-filled
:
    rankup
: '&a'
    prestige
: '&b'
    rebirth
: '&6'
  next-progress-needed
:
    rankup
: '&c'
    prestige
: '&7'
    rebirth
: '&8'
  next-progress-full-isrankup-enabled
: false
  next-progress-full-isprestige-enabled
: false
  next-progress-full-isrebirth-enabled
: false
  next-progress-full-islast-enabled
: false
  next-progress-full-isrankup
: "&7Type &a/rankup&7!"
  next-progress-full-isprestige
: "&7Type &c/prestige&7!"
  next-progress-full-isrebirth
: "&7Type &c/rebirth&7!"
  next-progress-full-islast
: "&7You are at the latest stage."
MoneyFormatter
:
  thousand
: 'K'
  million
: 'M'
  billion
: 'B'
  trillion
: 'T'
  quadrillion
: 'Q'
  quintillion
: 'QT'
  sextillion
: 'S'
  septillion
: 'ST'
  octillion
: 'O'
  nonillion
: 'N'
  decillion
: 'D'
  undecillion
: 'UD'
  Duodecillion
: 'DD'
  zillion
: 'Z'
# ----------------------------------------------
# Don't Forget This !
# ----------------------------------------------
defaultrank
: A
lastrank
: D
defaultpath
: "default"
firstprestige
: P1
lastprestige
: P2
firstrebirth
: R1
lastrebirth
: R2
----------, Mar 11, 2020

- Fixed a little mistake.
----------, Dec 11, 2019

- Added MySQL autoreconnect option
----------, Dec 11, 2019

- Fixed events bug for 1.14
*I am not sure if this version is working properly. because I lost the old files and I had to decompile the plugin and edit it again.
----------, Dec 7, 2019

- Added XMaterial Resource to support 1.14 items
----------, Aug 9, 2019

- Possible fix for placeholders not being parsed after several minutes/hours
- Improved RankupMax
- Developers API Changes
* added XRankupMaxEvent methods:
<String> getRankupFrom() | <List> getPassedRankups() | <int> getRankupStreak()
* Changed enum type name from getRankupAction to RankupAction
----------, Aug 4, 2019

- Fixed the message: "Your Max rankup process is already running." being sent to players who tried to rankupmax while they couldn't afford the next rank.
----------, Aug 1, 2019

- Optimized Prestige.
----------, Jul 31, 2019

- Forgot to make rankup-percentage-lastrank work with {prisonranksx_rankup_percentage_decimal}
- Added missing placeholders in command "/prx getplaceholders papi" + "/prx getplaceholders normal"
----------, Jul 30, 2019

No need to update the config manually.
- Edited MVdWPlaceholder Hook a bit
- Added PlaceholderAPI stuff in the configuration file [also applied to mvdwplaceholderapi]
* "rankup-percentage-lastrank" incase you don't want the same message for progress placeholder and the percentage one
* "currentrank-lastrank-enabled" to enable the thing below
* "currentrank-lastrank" the incredible stuff [no need to explain]
You will see an arrow after the new things that I added.
Code (YAML):
PlaceholderAPI:
  rankup-progress-style
: ' [squaredot ]'
  rankup-progress-filled
: '&a'
  rankup-progress-needed
: '&c'
  rankup-progress-doublevalues
: false
  rankup-progress-full-enabled
: false
  rankup-progress-full
: "&aType &e/rankup &3!"
  rankup-progress-lastrank
: "&aType &e/prestige to go to a high level &3!"
  rankup-percentage-lastrank
: "&c/prestige" < ------
  rankup-cost-lastrank
: "&cHighest Rank"
  rankup-lastrank
: "&cType /prestige"
  currentrank-lastrank-enabled
: false < -----
  currentrank-lastrank
: "&a/prestige" < -------
  prestige-lastprestige
: "&cHighest Prestige"
  prestige-notprestiged
: "&fNone"
  nextprestige-notprestiged
: "&fNot Prestiged"
  currency-symbol
: "$"
  currency-symbol-behind
: true
  percent-sign
: "%"
  percent-sign-behind
: false
----------, Jul 30, 2019

I accidentally uploaded the wrong version.
Sorry for that.
----------, Jul 30, 2019

- Small Optimizations for MVdWPlaceholders
- Added symbol "[square]", "■"
- Added the ability to use papi placeholders in holograms
----------, Jul 30, 2019

<!> You don't need the expansion anymore. remove it <!>
- Fixed placeholders breaks when you reload the server. now it supports
"/reload" and "/papi reload" but it dosen't support "/plugman reload" [I tried many times to implement that but looks like it's impossible :i]
- The command "/prx reload" now reloads PlaceholderAPI & MVdWPlaceholderAPI Placeholders
- Added Direct Support for PermissionsEX because PEX dosen't like Vault for some reason
- API Changes:
to use PRXAPI now you have to do this for example:
Code (Java):

PRXAPI prxAPI ;

public void onEnable ( ) {
  prxAPI = new PRXAPI ( ) ;
  Bukkit. getPluginManager ( ). registerEvents ( this, this ) ;
}

public void onDisable ( ) {

}

@EventHandler
public void onJoin (PlayerJoinEvent e ) {
  prxAPI. getPlayerRank (prxAPI. getSafePlayer (e. getPlayer ( ) ) ;
}
----------, Jul 28, 2019

- Fixed addpermission/delpermission adds/deletes the permission only to/in the world the player is on by default
- Added a way to add permission in different worlds also applies to delpermission
*
Code (YAML):
addpermission :
- [mycoolworldname ] permission.permission
----------, Jul 27, 2019

- Fixed small mistake in rankupmax/maxrankup now add permissions / del permissions will work again.
----------, Jul 27, 2019

- Removed commands-handler because it's no longer needed
- Added addpermission + delpermission section for ranks and prestiges
That is faster than adding a command to add a permission
Code (YAML):
Ranks:
  B
:
    nextrank
: LASTRANK
    display
: "&6[B]"
    executecmds
: [ ]
    addpermission
:
    - "essentials.warps.B"
    - "some.other.permission"
    delpermission
:
    - "essentials.warps.A"
- Changed autocommands from using commands to remove permissions to programmatically removing them
- Added a temp command "/prxconvertperms" with the permission: prisonranksx.convertperms to convert permissions managements commands in executecmds to addpermission section don't worry it will make a backup of your config file incase something goes wrong
----------, Jul 27, 2019

- Improved command executing for rankupmax a bit
Regarding this I added an option to switch between two methods in the configuration file.
Code (YAML):
Options :
  #change to "1" [new method] or "2" [very old method]  I removed the recent method because its laggy
  commands-handler
: "1"
- Changed little things in MVdWPlaceholderAPI hook class
~ I will work on other commands handler that will be much faster than this
----------, Jul 27, 2019

- Added MVdWPlaceholderAPI Support
Code (Text):
{prisonranksx_currentrank_name}
{prisonranksx_currentrank_displayname}
{prisonranksx_rankup_name}
{prisonranksx_rankup_displayname}
{prisonranksx_rankup_progress}
{prisonranksx_rankup_progress_double}
{prisonranksx_rankup_percentage}
{prisonranksx_rankup_cost}
{prisonranksx_rankup_cost_formatted}
{prisonranksx_prestige_name}
{prisonranksx_prestige_displayname}
{prisonranksx_nextprestige_cost}
{prisonranksx_nextprestige_cost_formatted}
{prisonranksx_money}
- Little optimizations
----------, Jul 26, 2019

- Added the ability to use * in "/prx resetrank" & "/prx delplayerprestige" command so you can reset everyone's rank or delete everyone's prestige
- Added luckperms support for rankup-vault-groups
- Added luckperms auto command
* [luckperms-rankpermissions] remove
* [luckperms-prestigepermissions] remove
----------, Jul 19, 2019

- Added %rank% placeholder for executecmds in rankupmax
- Added %rank% %rankup% %rankupdisplay% placeholders for executecmds in autorankup
----------, Jul 4, 2019

- Updated placeholderapi to 2.10.3
- Added the ability to use %rankup%, %rankupdisplay%, %rankupcost% placeholders in rankupmax commands.
----------, Jul 3, 2019

- Improved "/prx delrank" to check if the rank is between or the first or the last and let it do everything for you.
----------, Jun 23, 2019

- Added MySQL Support
Code (YAML):
MySQL :
  enable
: true
  host
: localhost
  port
: 3306
  database
: test
  username
: root
  password
: 123
  table
: prisonranksx
Start your server and this section will be generated. after that edit it to with your mysql info then restart the server and the player info will be saved everytime you rankup,prestige.
----------, Jun 22, 2019

- Changed little things.
----------, Jun 21, 2019

- Added XAutoRankupEvent for the API
- Added PlaceholderAPI percent-sign thing
Code (YAML):
PlaceholderAPI :
  ............
  percent-sign
: "%"
  percent-sign-behind
: false
[Edit] - Fixed rankupmax not replacing the placeholder %player% for the commands
----------, Jun 19, 2019

- Added "/autorankup" command
* can be disabled or enabled in the config
Code (YAML):
Options :
  ............
  autorankup
: true
- Added autorankup messages
Code (YAML):
Messages :
  ............
  autorankup-enabled
: '&eAuto Rankup &aEnabled'
  autorankup-disabled
: '&eAuto Rankup &cDisabled'
  autorankup-nopermission
: '&cYou don''t have permission to use auto rankup'
  autorankup-lastrank
: '&eAuto Rankup &7automatically &cdisabled &7because you are at the latest rank'
* let me now if you found any problem
----------, Jun 19, 2019

- Small Optimizations
----------, Jun 19, 2019

- Added
Code (YAML):
PlaceholderAPI :
  ......... .
  curreny-symbol-behind
: true
to choose whether the symbol will show in front or behind the placeholder
----------, Jun 18, 2019

- Added currency-symbol under PlaceholderAPI section in the configuration file
Code (YAML):
PlaceholderAPI :
  ...... ..
  currency-symbol
: "$"
*This has been added to hide the symbol when the placeholder shows "Highest Rank" or what ever text you put.
#Suggested by BUTTERLOVER7683#
----------, Jun 18, 2019

- Prestige system recoded
* Have a nice day.
----------, Jun 18, 2019

- Fixed a little mistake
Sorry for the inconvenience.
----------, Jun 17, 2019

- Prestige problemo fixed.
----------, Jun 17, 2019

- Fixed rankup cost increase takes lower amount of money
----------, Jun 17, 2019

- Fixed placeholders bug if you are at the last rank.
----------, Jun 17, 2019

- Placeholders Recoded
* Instant Update
* Lightweight on your server
This update is important in terms of performance.
- Added missing stuff in RankupMax
* such as send-firework
----------, Jun 13, 2019

- Recoded rankupmax
* now it's much faster than before
----------, Jun 10, 2019

- Added forceprestigedisplay under Options section
- Now you can use the placeholder {prestige} in the chat format
~ started working in recode ; currently im recoding the rankupmax
----------, Jun 7, 2019

- Fixed global rankup cost increase overwrite the prestiges rankup cost increase even if it equals 0
- Added an option: "rankup-vault-groups" you can use this if you want the rankup to change your rank automatically in groupmanager or permissionsex or any other permissions plugin
*
Code (YAML):
 rankup-vault-groups : true
  #You can put here "GroupManager" or "PermissionsEX" otherwise you can put a command instead.
  rankup-vault-groups-plugin
: manuadd %player% %rank%
2.3.2 Config:
Code (YAML):
worlds :
- iamdisabled
Options
:
  prestige-enabled
: true
  customrankslist
: false
  forcedisplay
: true
  customlist
:
 - '&6 [ B ] > $1000'
  customlist-prestige
:
 - '&aPrestige-I'
  - '&bPrestige-II'
  customlist-paginate
: true
  customlist-paginate-items
: 9
  customlist-paginate-firstline
: '&3Ranks &7 [ << ] &a %currentpage% &9of &a%totalpages%
    &7 [ >> ] '
  defaultlist-beginline
: '&8&m+ --------------------------------- -+'
  defaultlist-endline
: '&8&m+ --------------------------------- -+'
  defaultlistformat
: ' %ranklistdisplay% &8[>>] %ranklistnextdisplay% %moneysymbol%&f%ranknextcost_formatted%'
  defaultlist-paginate
: true
  defaultlist-paginate-items
: 9
  defaultlist-paginate-firstline
: '&aRanks &7 [ << ] &e %currentpage% &9of &e%totalpages%
    &7 [ >> ] '
  defaultlist-completedrank-checker
: true
  defaultlist-completedrank-rankformat
: '&7 [ %ranklist%]&r'
  defaultlist-completedrank-rankupformat
: '&7 [ %ranklistnext%]&r'
  defaultlist-completedrank-rankupcostformat
: '&bCompleted'
  defaultlist-moneysymbol
: '&c$'
  hologramrankup
: true
  hologramformat
: '&6 %player% &3Ranked Up To &c%rankup%'
  hologram-removetime
: 5
  hologram-multilines
: true
  hologram-height
: 4
  hologram-linedformat
:
 - '&6 %player%'
  - '&b&kii&3Ranked Up To&b&kii'
  - '&e&l %rankup%'
  allworlds-broadcast
: false
  autoforcedisplay-space
: true
  send-rankupmsg
: true
  USE-UUID
: false
  GUI-RANKLIST
: false
  GUI-PRESTIGELIST
: true
  prestigesound-name
: LEVEL_UP
  prestigesound-volume
: 1.0
  prestigesound-pitch
: 1.0
  rankupsound-name
: LEVEL_UP
  rankupsound-volume
: 1.0
  rankupsound-pitch
: 1.0
  per-rank-permission
: true
  rankupmax-broadcastlastrankonly
: false
  rankupmax-msglastrankonly
: false
  rankupmax-rankupmsglastrankonly
: false
  rankup-vault-groups
: true
  rankup-vault-groups-plugin
: PermissionsEX
  rankupsound
: true
Main-GUIOptions
:
  previouspage-itemNAME
: ARROW
  previouspage-itemDATA
: 0
  previouspage-itemDISPLAYNAME
: '&c<< Previous page'
  nextpage-itemNAME
: ARROW
  nextpage-itemDATA
: 0
  nextpage-itemDISPLAYNAME
: '&6Next Page >>'
  no-previous-pages
: '&eThere are no previous pages.'
  no-additional-pages
: '&eThere are no additional pages.'
  currentpage
: '&cPage &4 { currentpage } &cof &4 { maxpages } '
Ranklist-GUI
:
  title
: '&6Ranks'
  currentrank-options
:
    itemNAME
: EMERALD_BLOCK
    itemDATA
: 0
    itemAMOUNT
: 1
    itemDISPLAYNAME
: '&a %currentrank_display%'
    itemLORE
:
   - '&6Your current rank!'
    itemENCHANTMENTS
:
   - DURABILITY 10
    itemFLAGS
:
   - HIDE_ENCHANTS
    itemCOMMANDS
:
   - ( cancel-item_move )
    - ' [ console ] warp %currentrank%'
  completedrank-options
:
    itemNAME
: EMERALD_BLOCK
    itemDATA
: 0
    itemAMOUNT
: 1
    itemDISPLAYNAME
: '&a %completedrank_display%'
    itemLORE
:
   - '&bCOMPLETED'
    itemENCHANTMENTS
: [ ]
    itemFLAGS
: [ ]
    itemCOMMANDS
:
   - ( cancel-item_move )
  notcompletedrank-options
:
    itemNAME
: REDSTONE_BLOCK
    itemDATA
: 0
    itemAMOUNT
: 1
    itemDISPLAYNAME
: '&a %notcompletedrank_display%'
    itemLORE
:
    - '&cCost
: &3%notcompletedrank_cost_formatted%'
    itemENCHANTMENTS
: [ ]
    itemFLAGS
: [ ]
    itemCOMMANDS
:
   - ( cancel-item_move )
Prestigelist-GUI
:
  title
: '&3Prestiges'
  currentprestige-options
:
    itemNAME
: EMERALD_BLOCK
    itemDATA
: 0
    itemAMOUNT
: 1
    itemDISPLAYNAME
: '&a %currentprestige_display%'
    itemLORE
:
   - '&eYour current prestige!'
    itemENCHANTMENTS
:
   - DURABILITY 10
    itemFLAGS
:
   - HIDE_ENCHANTS
    itemCOMMANDS
:
   - ( cancel-item_move )
  completedprestige-options
:
    itemNAME
: EMERALD_BLOCK
    itemDATA
: 0
    itemAMOUNT
: 1
    itemDISPLAYNAME
: '&a %completedprestige_display%'
    itemLORE
:
   - '&bCOMPLETED'
    itemENCHANTMENTS
: [ ]
    itemFLAGS
: [ ]
    itemCOMMANDS
:
   - ( cancel-item_move )
  notcompletedprestige-options
:
    itemNAME
: REDSTONE_BLOCK
    itemDATA
: 0
    itemAMOUNT
: 1
    itemDISPLAYNAME
: '&a %notcompletedprestige_display%'
    itemLORE
:
    - '&cCost
: &3%notcompletedprestige_cost_formatted%'
    itemENCHANTMENTS
: [ ]
    itemFLAGS
: [ ]
    itemCOMMANDS
:
   - ( cancel-item_move )
prestigeOptions
:
  resetMoney
: true
  resetRank
: true
  rankup_cost_increase_percentage
: -404
  prestige-cmds
:
 - ' [ pex-rankpermissions ] remove'
  prestige-delete-cmds
:
 - ' [ pex-prestigepermissions ] remove'
  - eco set %player% 0
  prestige-reset-cmds
:
 - ' [ pex-prestigepermissions ] remove'
  - ' [ groupmanager-prestigepermissions ] remove'
rankOptions
:
  rank-delete-cmds
:
 - ' [ pex-rankpermissions ] remove'
  rank-reset-cmds
:
 - ' [ pex-rankpermissions ] remove'
PlaceholderAPI
:
  rankup-progress-style
: ' [ squaredot ] '
  rankup-progress-filled
: '&a'
  rankup-progress-needed
: '&c'
  rankup-progress-doublevalues
: false
  rankup-progress-full-enabled
: false
  rankup-progress-full
: '&aType &e/rankup &3!'
  rankup-progress-lastrank
: '&aType &e/prestige to go to a high level &3!'
  rankup-cost-lastrank
: '&cHighest Rank'
  rankup-lastrank
: '&cType /prestige'
  prestige-lastprestige
: '&cHighest Prestige'
  prestige-notprestiged
: '&fNone'
  nextprestige-notprestiged
: '&fNot Prestiged'
  prestige-isnext-enabled
: false
  prestige-isnext
: '&6Type &e/prestige &6to goto the next prestige!'
Moneyformatter
:
  thousand
: K
  million
: M
  billion
: B
  trillion
: T
  quadrillion
: Q
  quintillion
: QT
  sextillion
: S
  septillion
: ST
  octillion
: O
  nonillion
: N
  decillion
: D
  undecillion
: UD
  Duodecillion
: DD
  zillion
: Z
Messages
:
  notenoughmoney
:
 - '&7&m ------------------------------------------------ -'
  - ''
  - '&eYou need &f$ %rankupcost_formatted% &eto rankup to &a%rankup%'
  - ''
  - '&7&m ------------------------------------------------ -'
  notenoughmoney-other
:
 - '&7&m ------------------------------------------------ -'
  - ''
  - '&eYou need &f$ %rankupcost_formatted% &eto rankup %player% to &a%rankup%'
  - ''
  - '&7&m ------------------------------------------------ -'
  nopermission
: '&cInsufficent Permission!'
  playernotfound
: '&cThere''s no player with that name.'
  delrank
: '&e %args1% &cRank has been deleted'
  setrank
: '&cChanged &e %target% &cRank to &e%settedrank% &crank.'
  resetrank
: '&cRestored &e %target% &cRank to %firstrank%'
  createrank
: '&cCreated rank &e %createdrank% &cwith price:&a%rankcost%'
  setnextrank
: '&cChanged &e %args1% &cnextrank to &a%args2%'
  setrankdisplay
: '&cChanged &e %args1% &cdisplay to &r%args2%'
  setrankcost
: '&cChanged &e %args1% &cRank Cost to &a%args2%'
  delplayerrank
: '&cDeleted &e %player% &cRank'
  addrankcmd
: '&c %args1% &eUpdated with: &7%args2%'
  addrankbroadcast
: '&c %args1% &eUpdated! with: &7%args2%'
  addrankmsg
: '&c %args1% &eUpdated! with: &7%args2%'
  setdefaultrank
: '&cDefault rank changed to &e %args1%'
  setlastrank
: '&cLast rank changed to &e %args1%'
  reload
: '&eConfig Successfully reloaded.'
  runfromconsole
: '&6You should run this in game or do /forcerankup %player% if you
    want to rankup a player'
  notcorrectworld
: '&cYou cannot run this command here.'
  rankup
: '&9You have ranked up to %rankupdisplay%'
  delprestige
: '&e %args1% &cPrestige has been deleted'
  setfirstprestige
: '&cFirst prestige changed to &e %args1%'
  setlastprestige
: '&cLast prestige changed to &e %args1%'
  setprestige
: '&cChanged &e %target% &cPrestige to &e%settedprestige% &cprestige.'
  resetprestige
: '&cRestored &e %target% &cPrestige to &e%firstprestige%'
  createprestige
: '&cCreated prestige &e %createdprestige% &cwith price:&a%prestigecost%'
  setnextprestige
: '&cChanged &e %previousprestige% &cnext prestige to &a%nextprestige%'
  setprestigedisplay
: '&cChanged &e %prestige% &cdisplay to &e%changeddisplay%'
  setprestigecost
: '&cChanged Prestige &e %prestige% &ccost to %prestigecost%'
  prestige
: '&aYou have prestiged to &r %prestigenextdisplay%'
  noprestige
: '&aYou can''t prestige at this rank.'
  delplayerprestige
: '&cDeleted &e %player% &cPrestige'
  prestige-notenoughmoney
:
 - '&7&m ------------------------------------------------ -'
  - ''
  - '&eYou need &f$ %prestigenextcost_formatted% &eto prestige to &a%prestigenext%'
  - ''
  - '&7&m ------------------------------------------------ -'
  lastprestige
:
 - '&7&m --------------------------------------- '
  - '&cYou are at the latest prestige'
  - '&7&m --------------------------------------- '
  lastrank
:
 - '&7&m --------------------------------------- '
  - '&aYou are at the latest rank'
  - '&7&m --------------------------------------- '
  forcerankup-msg
: '&a %player% &cranked up to &e%nextrank%'
  forcerankup-lastrank
: '&a %player% &6is already at the latest rank.'
  rankup-nopermission
: '&cYou don''t have permission to rankup to %nextrank%'
  rankup-other-nopermission
: '&cYou don''t have permission to force a rankup for %target%
    to %nextrank%'
  ranksgui-open
: '&aOpening ranks gui ... '
  prestigesgui-open
: '&cOpening prestige list gui ... '
defaultrank
: Activator
lastrank
: E
firstprestige
: P-1
lastprestige
: P-2
Ranks
:
  Activator
:
    display
: '&7 [ Activator ] '
    cost
: 0.0
    nextrank
: B
  B
:
    display
: '&6 [ B ] '
    cost
: 1000.0
    nextrank
: C
    executecmds
:
   - pex user %player% add essentials.warps.B
    broadcast
:
   - '&7&m --------------------------------- -'
    - '&6 %player% ranked up to %rankupdisplay%'
    - '&7&m --------------------------------- -'
    msg
: [ ]
    randomcmds
:
      '1'
:
        chance
: 5
        commands
:
       - forcerankup %player%
      '2'
:
        chance
: 20
        commands
:
       - crate givekey %player% specialkey 1
      '3'
:
        chance
: 50
        commands
:
       - eco give %player% 1000
    actionbar
:
      interval
: 15
      text
:
     - '&6You have ranked up to %rankupdisplay%'
      - '&3You have ranked up to %rankupdisplay%'
      - '&eYou have ranked up to %rankupdisplay%'
  C
:
    display
: '&7 [ &aC&7 ] '
    nextrank
: D
    cost
: 2000.0
    executecmds
: [ ]
    broadcast
: [ ]
    msg
: [ ]
  D
:
    display
: '&7 [ &aD&7 ] '
    nextrank
: E
    cost
: 3000.0
    executecmds
: [ ]
    broadcast
: [ ]
    msg
: [ ]
  E
:
    display
: '&7 [ &aE&7 ] '
    nextrank
: LASTRANK
    cost
: 4000.0
    executecmds
: [ ]
    broadcast
: [ ]
    msg
: [ ]
Prestiges
:
  P1
:
    display
: '&7 [ &cP1&7 ] '
    cost
: 100000.0
    nextprestige
: P2
  P2
:
    display
: '&7 [ &cP2&7 ] '
    cost
: 250000.0
    rankup_cost_increase_percentage
: 50
    nextprestige
: LASTPRESTIGE
 
----------, Jun 6, 2019

- Updated PlaceholderAPI hook to the non-deprecated method
- Updated PlaceholderAPI to 2.10.2
----------, May 12, 2019

- Fixed prestige commands bugs
- Next update I will try to remove the mess I did (Code Cleanup)
----------, May 11, 2019

- Fixed bugs
----------, May 5, 2019

- Fixed bugs
----------, May 2, 2019

- Fixed lag problems
- Added global rankup_cost_increase_percentage under prestigeOptions [OPTIONAL]
----------, May 2, 2019

- Bug fixes
* I am so busy
----------, Apr 8, 2019

- Fixed dumb bug
- Added placeholder %prisonranksx_rankup_percentage_decimal%
----------, Mar 29, 2019

- Fixed placeholders rankup cost, rankup percentage, rankup progress dosen't count rankup_cost_increase prestige option
----------, Mar 28, 2019

- Added the ability to use papi placeholders in bc messages
----------, Mar 19, 2019

- I Added the ability to use placeholderapi placeholders for not enough money messages
----------, Mar 19, 2019

- Small Bug Fixes
----------, Mar 18, 2019

- Added ActionUtil Support
* To use it you must download actionutil from here
* And then you can put the actions here \/
Code (YAML):
 examplerank:
    display
: '&6 [ExampleRank ]'
    cost
: 5000.0
    nextrank
: LASTRANK
    actions
:
   - "[MESSAGE] &6Example &e&laction"
* With this plugin you can do a lot of things | included in this list
Code (Text):
Message
MESSAGE
Sends a message to the player
Arguments:
message
Example: [MESSAGE] &cHello &2World
Broadcast
BROADCAST
Sends a message to every online player
Arguments:
message
Example: [BROADCAST] &aHello Players
Player Command
PLAYERCOMMAND
Makes the player execute a command
Arguments:
command
Example: [PLAYERCOMMAND] balance
Console Command
CONSOLECOMMAND
Executes a command as the console
Arguments:
command
Example: [CONSOLECOMMAND] eco give %player_name% 1000
Teleport
TELEPORT
Teleports a player to the given location
Arguments:
world: the world name
*x: [player's current X coorindate]
*y: [player's current Y coordinate]
*z: [player's current Z coordinate]
*yaw: [player's current yaw]
*pitch: [player's current pitch]
Example: [TELEPORT] hub;0;60;0;90;90
Bungee
BUNGEE
Sends the player to the specified BungeeCord server
Arguments:
server
Example: [BUNGEE] lobby
Sound
SOUND
Plays a sound to the player
Arguments:
sound: list found here (may be different between versions)
volume
pitch
Example: [SOUND] ENTITY_ARROW_HIT_PLAYER;2.0;2.0
Sound Broadcast
SOUNDBROADCAST
Plays a sound to every online player
Arguments:
sound: list found here (may be different between versions)
volume
pitch
Example: [SOUNDBROADCAST] ENTITY_ARROW_HIT_PLAYER;2.0;2.0
Title Message
TITLEMESSAGE
Sends a title message to the player
Arguments:
title
subtitle
fade-in ticks
display ticks
fade-out ticks
Example: [TITLEMESSAGE] Hello;%player_name%;20;60;20
Title Broadcast
TITLEBROADCAST
Sends a title message to every player
Arguments:
title
subtitle
fade-in ticks
display ticks
fade-out ticks
Example: [TITLEBROADCAST] Hello;Players;20;60;20
ActionBar Message
ACTIONBARMESSAGE
Sends a message to the player through the actionbar
Arguments:
message
Example: [ACTIONBARMESSAGE] &cThis shows in the actionbar
ActionBar Broadcast
ACTIONBARBROADCAST
Sends a message to every player in the server through the actionbar
Arguments:
message
Example: [ACTIONBARBROADCAST] &cEveryone sees this in the actionbar
Centre Message
CENTERMESSAGE
Sends a centered message to the player
NB: This is not guaranteed to display perfectly
Arguments:
message
Example: [CENTERMESSAGE] &bThis is centered
Centre Broadcast
CENTERBROADCAST
Sends a centered message to every online player
NB: This is not guaranteed to display perfectly
Arguments:
message
Example: [CENTERBROADCAST] &bThis is centered for everyone
JSON Message
JSONMESSAGE
Sends a JSON message to the player. Executes Minecraft's /tellraw command, so usage may change between versions
Arguments:
json
Example: [JSONMESSAGE] {"text":"Go to Google","color":"red","clickEvent":{"action":"open_url","value":"google.com"}}
JSON Broadcast
JSONBROADCAST
Sends a JSON message to every player on the server. Executes Minecraft's /tellraw command, so usage may change between versions
Arguments:
json
Example: [JSONMESSAGE] {"text":"Go to Google","color":"red","clickEvent":{"action":"open_url","value":"google.com"}
- Fixed small bugs
----------, Mar 3, 2019

- Added ranks,prestiges actionbar section
* animated actionbar, interval the time it takes to change to the next line , it works in server ticks [20 ticks = 1 second]
for example:
Code (YAML):
 B:
    actionbar
:
      interval
: 5
      text
:
     - "&1You have ranked up to %prisonranksx_currentrank_name%"
      - "&2You have ranked up to %prisonranksx_currentrank_name%"
      - "&3You have ranked up to %prisonranksx_currentrank_name%"
* if you don't want it to be animated just put a one line, it will skip the interval option
- Improved Performance
* rankupmax now runs Asynchronously to prevent lag
* rank list gui, prestige list gui also runs Asynchronously to prevent lag
- Added Messages:
Code (YAML):

  ranksgui-open
: "&aOpening ranks gui..."
  prestigesgui-open
: "&cOpening prestige list gui..."
- Added Options:
Code (YAML):
 rankupmax-broadcastlastrankonly : true
  rankupmax-msglastrankonly
: true
  rankupmax-rankupmsglastrankonly
: true
- Added Placeholders:
* %prisonranksx_progress_double%
* %prisonranksx_percentage_nolimit% | if you want the percentage to go over 9000 or something
- Fixed the first 3 default ranks shows in rank list even if you deleted them.
- Fixed other bugs.
----------, Feb 2, 2019

<!> You don't have to update the config manually <!>
- Added PlaceholderAPI options:
* prestige-notprestiged
* nextprestige-notprestiged
- Added per-rank-permission option
* permission: prisonranksx.rankup. <rankname>
* example: prisonranksx.rankup. B
- Added Messages:
* forcerankup-lastrank
* rankup-nopermission
* rankup-other-nopermission
- Added Ranks subsection allow-prestige: true allows you to prestige at any specified rank
# You can see allow-prestige under the rank C
Latest Config [2.2.4]:
Code (YAML):
#<!> Editing ranks in game will remove every green text you see here <!>
#RankUP Permission is : prisonranksx.rankup
#RankUPMax Permission is : prisonranksx.rankupmax
#RankUP Other Permission is : prisonranksx.rankup.other
#RankUP Other : Is if you want to rankup other players using your money
#ForceRankup : Is a command for admins if you want to rankup other players without losing money
#Version 1.3+
#Symbols can be used in every message
#"[>>]", "»"
#"[<<]", "«"
#"[coolarrow]", "➤"
#"[<3]", "❤"
#"[shadowarrow]", "➢"
#"[shadowarrow_2]", "➣"
#"[shadowarrow_down]", "⧨"
#"[shadowsquare]", "❑"
#"[nuke]", "☢"
#"[+]", "✚"
#"[correct]", "✔"
#"[incorrect]", "✖"
#"[bowarrow]", "➸"
#"[squaredot]", "◼"
#"[happyface]", "☺"
#"[|]", "⎟"
#Disabled worlds
#[you will not see messages of other worlds if allworlds-broadcast is false]
#[you can't rankup]
#[you can't prestige]
#[you can't use /prx commands]
worlds
:
- iamdisabled
#customrankslist: true = sets a custom list when you execute /ranks
#forcedisplay: true = adds the rank prefix before GroupManager/Pex Prefixes without using a variable [COOL OPTION]
#..
#..
#defaultlist-paginate: true = adds rank pages if there's alot of ranks [configurable][/ranks 2,3,4] etc..
#defaultlist-paginate-items: 9 = maximum amount of ranks to be shown in a page 'defaultlist-paginate' must be true if you want to use this
#Holographic Displays must be installed! if you want to use hologramrankup!
#..
#allworlds-broadcast: true = broadcast rank up messages to everyworld in the server | false = only not disabled worlds
#autoforcedisplay-space: true = automatically adds space[key] after rank display format in the chat [forcedisplay must be true]
#per-rank-permission: true = different permission per rank and the permission is: prisonranksx.rankup.<rankname>
Options
:
  prestige-enabled
: true
  customrankslist
: false
  forcedisplay
: true
  customlist
:
 - "&6[B] > $1000"
  customlist-prestige
:
 - "&aPrestige-I"
  - "&bPrestige-II"
  customlist-paginate
: true
  customlist-paginate-items
: 9
  customlist-paginate-firstline
: "&3Ranks &7[<<] &a%currentpage% &9of &a%totalpages% &7[>>]"
  defaultlist-beginline
: "&8&m+----------------------------------+"
  defaultlist-endline
: "&8&m+----------------------------------+"
  defaultlistformat
: "%ranklistdisplay% &8[>>] %ranklistnextdisplay% %moneysymbol%&f%ranknextcost_formatted%"
  defaultlist-paginate
: true
  defaultlist-paginate-items
: 9
  defaultlist-paginate-firstline
: "&aRanks &7[<<] &e%currentpage% &9of &e%totalpages% &7[>>]"
  defaultlist-completedrank-checker
: true
  defaultlist-completedrank-rankformat
: "&7[%ranklist%]&r"
  defaultlist-completedrank-rankupformat
: "&7[%ranklistnext%]&r"
  defaultlist-completedrank-rankupcostformat
: "&bCompleted"
  defaultlist-moneysymbol
: "&c$"
  hologramrankup
: true
  hologramformat
: "&6%player% &3Ranked Up To &c%rankup%"
  hologram-removetime
: 5
  hologram-multilines
: true
  hologram-height
: 4
  hologram-linedformat
:
 - "&6%player%"
  - "&b&kii&3Ranked Up To&b&kii"
  - "&e&l%rankup%"
  allworlds-broadcast
: false
  autoforcedisplay-space
: true
  send-rankupmsg
: true
  USE-UUID
: true
  GUI-RANKLIST
: true
  GUI-PRESTIGELIST
: true
  prestigesound-name
: "LEVEL_UP" #keep empty to disable
  prestigesound-volume
: 1.0
  prestigesound-pitch
: 1.0
  rankupsound-name
: "LEVEL_UP"
  rankupsound-volume
: 1.0
  rankupsound-pitch
: 1.0
  per-rank-permission
: true
Main-GUIOptions
:
  previouspage-itemNAME
: "ARROW"
  previouspage-itemDATA
: 0
  previouspage-itemDISPLAYNAME
: "&c<< Previous page"
  nextpage-itemNAME
: "ARROW"
  nextpage-itemDATA
: 0
  nextpage-itemDISPLAYNAME
: "&6Next Page >>"
  no-previous-pages
: "&eThere are no previous pages."
  no-additional-pages
: "&eThere are no additional pages."
  currentpage
: "&cPage &4{currentpage} &cof &4{maxpages}"
Ranklist-GUI
:
  title
: "&6Ranks"
  currentrank-options
:
    itemNAME
: EMERALD_BLOCK
    itemDATA
: 0
    itemAMOUNT
: 1
    itemDISPLAYNAME
: "&a%currentrank_display%"
    itemLORE
:
   - "&6Your current rank!"
    itemENCHANTMENTS
:
   - DURABILITY 10
    itemFLAGS
:
   - HIDE_ENCHANTS
    itemCOMMANDS
: #placeholder api supported.
    - "(cancel-item_move)"
    - "[console] warp %currentrank%"
  completedrank-options
:
    itemNAME
: EMERALD_BLOCK
    itemDATA
: 0
    itemAMOUNT
: 1
    itemDISPLAYNAME
: "&a%completedrank_display%"
    itemLORE
:
   - "&bCOMPLETED"
    itemENCHANTMENTS
: [ ]
    itemFLAGS
: [ ]
    itemCOMMANDS
:
   - "(cancel-item_move)"
  notcompletedrank-options
:
    itemNAME
: REDSTONE_BLOCK
    itemDATA
: 0
    itemAMOUNT
: 1
    itemDISPLAYNAME
: "&a%notcompletedrank_display%"
    itemLORE
:
    - "&cCost
: &3%notcompletedrank_cost_formatted%"
    itemENCHANTMENTS
: [ ]
    itemFLAGS
: [ ]
    itemCOMMANDS
:
   - "(cancel-item_move)"
Prestigelist-GUI
:
  title
: "&3Prestiges"
  currentprestige-options
:
    itemNAME
: EMERALD_BLOCK
    itemDATA
: 0
    itemAMOUNT
: 1
    itemDISPLAYNAME
: "&a%currentprestige_display%"
    itemLORE
:
   - "&eYour current prestige!"
    itemENCHANTMENTS
:
   - DURABILITY 10
    itemFLAGS
:
   - HIDE_ENCHANTS
    itemCOMMANDS
:
   - "(cancel-item_move)"
  completedprestige-options
:
    itemNAME
: EMERALD_BLOCK
    itemDATA
: 0
    itemAMOUNT
: 1
    itemDISPLAYNAME
: "&a%completedprestige_display%"
    itemLORE
:
   - "&bCOMPLETED"
    itemENCHANTMENTS
: [ ]
    itemFLAGS
: [ ]
    itemCOMMANDS
:
   - "(cancel-item_move)"
  notcompletedprestige-options
:
    itemNAME
: REDSTONE_BLOCK
    itemDATA
: 0
    itemAMOUNT
: 1
    itemDISPLAYNAME
: "&a%notcompletedprestige_display%"
    itemLORE
:
    - "&cCost
: &3%notcompletedprestige_cost_formatted%"
    itemENCHANTMENTS
: [ ]
    itemFLAGS
: [ ]
    itemCOMMANDS
:
   - "(cancel-item_move)"
#autocommands:
#'[pex-rankpermissions] remove' = removes every permission that player got from ranking up <!> PermissionsEX Must be installed
#'[pex-prestigepermissions] remove' = removes every permission that player got from prestiging up <!> PermissionsEX Must be installed
#'[groupmanager-rankpermissions] remove' = removes every permission that player got from ranking up <!> EssentialsGroupManager Must be installed
#'[groupmanager-prestigepermissions] remove' = removes every permission that player got from prestiging up <!> EssentialsGroupManager Must be installed
prestigeOptions
:
  resetMoney
: true
  resetRank
: true
  #executed when you prestige
  prestige-cmds
:
 - "[pex-rankpermissions] remove"
  #executed when you do /pex delplayerprestige
  prestige-delete-cmds
:
 - "[pex-prestigepermissions] remove"
  - "eco set %player% 0"
  #executed when you do /pex resetplayerprestige
  prestige-reset-cmds
:
 - "[pex-prestigepermissions] remove"
  - "[groupmanager-prestigepermissions] remove"
rankOptions
:
  #executed when you type /pex delplayerrank
  rank-delete-cmds
:
 - "[pex-rankpermissions] remove"
  #executed when you do /pex resetplayerrank
  rank-reset-cmds
:
 - "[pex-rankpermissions] remove"
#rankup-progress-doublevalues: true = will make the progress longer just for better looking and will increase every 5%
PlaceholderAPI
:
  rankup-progress-style
: ' [squaredot ]'
  rankup-progress-filled
: '&a'
  rankup-progress-needed
: '&c'
  rankup-progress-doublevalues
: false
  rankup-progress-full-enabled
: false
  rankup-progress-full
: "&aType &e/rankup &3!"
  rankup-progress-lastrank
: "&aType &e/prestige to go to a high level &3!"
  rankup-cost-lastrank
: "&cHighest Rank"
  rankup-lastrank
: "&cType /prestige"
  prestige-lastprestige
: "&cHighest Prestige"
  prestige-notprestiged
: "&fNone"
  nextprestige-notprestiged
: "&fNot Prestiged"
#to use in /ranks cmd use this placeholder: %ranknextcost_formatted%
Moneyformatter
:
  thousand
: 'K'
  million
: 'M'
  billion
: 'B'
  trillion
: 'T'
  quadrillion
: 'Q'
  quintillion
: 'QT'
  sextillion
: 'S'
  septillion
: 'ST'
  octillion
: 'O'
  nonillion
: 'N'
  decillion
: 'D'
  undecillion
: 'UD'
  Duodecillion
: 'DD'
  zillion
: 'Z'
Messages
:
  notenoughmoney
:
 - "&7&m-------------------------------------------------"
  - ""
  - "&eYou need &f$%rankupcost_formatted% &eto rankup to &a%rankup%"
  - ""
  - "&7&m-------------------------------------------------"
  notenoughmoney-other
:
 - "&7&m-------------------------------------------------"
  - ""
  - "&eYou need &f$%rankupcost_formatted% &eto rankup %player% to &a%rankup%"
  - ""
  - "&7&m-------------------------------------------------"
  nopermission
: "&cInsufficent Permission!"
  playernotfound
: "&cThere's no player with that name."
  delrank
: "&e%args1% &cRank has been deleted"
  setrank
: "&cChanged &e%target% &cRank to &e%settedrank% &crank."
  resetrank
: "&cRestored &e%target% &cRank to %firstrank%"
  createrank
: "&cCreated rank &e%createdrank% &cwith price:&a%rankcost%"
  setnextrank
: "&cChanged &e%args1% &cnextrank to &a%args2%"
  setrankdisplay
: "&cChanged &e%args1% &cdisplay to &r%args2%"
  setrankcost
: "&cChanged &e%args1% &cRank Cost to &a%args2%"
  delplayerrank
: "&cDeleted &e%player% &cRank"
  addrankcmd
: "&c%args1% &eUpdated with: &7%args2%"
  addrankbroadcast
: "&c%args1% &eUpdated! with: &7%args2%"
  addrankmsg
: "&c%args1% &eUpdated! with: &7%args2%"
  setdefaultrank
: "&cDefault rank changed to &e%args1%"
  setlastrank
: "&cLast rank changed to &e%args1%"
  reload
: "&eConfig Successfully reloaded."
  runfromconsole
: "&6You should run this in game or do /forcerankup %player% if you want to rankup a player"
  notcorrectworld
: "&cYou cannot run this command here."
  rankup
: "&9You have ranked up to %rankupdisplay%"
  delprestige
: "&e%args1% &cPrestige has been deleted"
  setfirstprestige
: "&cFirst prestige changed to &e%args1%"
  setlastprestige
: "&cLast prestige changed to &e%args1%"
  setprestige
: "&cChanged &e%target% &cPrestige to &e%settedprestige% &cprestige."
  resetprestige
: "&cRestored &e%target% &cPrestige to &e%firstprestige%"
  createprestige
: "&cCreated prestige &e%createdprestige% &cwith price:&a%prestigecost%"
  setnextprestige
: "&cChanged &e%previousprestige% &cnext prestige to &a%nextprestige%"
  setprestigedisplay
: "&cChanged &e%prestige% &cdisplay to &e%changeddisplay%"
  setprestigecost
: "&cChanged Prestige &e%prestige% &ccost to %prestigecost%"
  prestige
: "&aYou have prestiged to &r%prestigenextdisplay%"
  noprestige
: "&aYou can't prestige at this rank."
  delplayerprestige
: "&cDeleted &e%player% &cPrestige"
  prestige-notenoughmoney
:
 - "&7&m-------------------------------------------------"
  - ""
  - "&eYou need &f$%prestigenextcost_formatted% &eto prestige to &a%prestigenext%"
  - ""
  - "&7&m-------------------------------------------------"
  lastprestige
:
 - "&7&m---------------------------------------"
  - "&cYou are at the latest prestige"
  - "&7&m---------------------------------------"
  lastrank
:
 - "&7&m---------------------------------------"
  - "&aYou are at the latest rank"
  - "&7&m---------------------------------------"
  forcerankup-msg
: "&a%player% &cranked up to &e%nextrank%"
  forcerankup-lastrank
: "&a%player% &6is already at the latest rank."
  rankup-nopermission
: "&cYou don't have permission to rankup to %nextrank%"
  rankup-other-nopermission
: "&cYou don't have permission to force a rankup for %target% to %nextrank%"
#PlaceHolders:
#%rank% = current rank
#%rankdisplay% = current rank display format
#%rankup% = next rank
#%rankupdisplay% = next rank display
#%player% = gets player name
#[ESSENTIALSCHAT] {pranks} = shows current rank
#[ESSENTIALSCHAT] {pranksdisplay} = shows current rank display format
#----------------------------------------------
#Don't Forget This !
#----------------------------------------------
defaultrank
: A
lastrank
: D
firstprestige
: P-1
lastprestige
: P-2
#Broadcast,Msg Supports MultiLines + executecmds supports multi commands :P
#To Disable just do broadcast: []
#msg: []
#executecmds: []
#Or Just Remove.!
#---------------------------
#To set as lastrank type: 'LASTRANK' in nextrank section [v1.3+]
#---------------------------
Ranks
:
  A
:
    display
: '&7 [A ]'
    cost
: 0
    nextrank
: B
  B
:
    display
: '&6 [B ]'
    cost
: 1000
    nextrank
: C
    executecmds
:
   - eco give %player% 10
    - pex user %player% add essentials.warps.B
    broadcast
:
   - '&6 %player% ranked up to %rankupdisplay%'
    randomcmds
:
      '1'
:
        chance
: 5
        commands
:
       - forcerankup %player%
      '2'
:
        chance
: 20
        commands
:
       - crate givekey %player% specialkey 1
      '3'
:
        chance
: 50
        commands
:
       - eco give %player% 1000
  C
:
    display
: '&e [C ]'
    cost
: 5000
    nextrank
: D
    executecmds
:
   - crate givekey %player% rankupkey 1
    - pex user %player% add essentials.warps.C
    broadcast
:
   - '&6 %player% ranked up to %rankupdisplay%'
    allow-prestige
: true
  D
:
    display
: '&9 [D ]'
    cost
: 15000
    send-firework
: true
    firework-builder
:
      flicker
: true
      trail
: true
      effect
:
     - STAR
      color
:
     - BLUE
      - WHITE
      fade
:
     - AQUA
      power
: 1
    nextrank
: LASTRANK
    executecmds
:
   - crate givekey %player% rankupkey 1
    - pex user %player% add essentials.warps.D
    broadcast
:
   - '&6 %player% ranked up to %rankupdisplay%'
Prestiges
:
  P-1
:
    display
: '&8 [&cP1&8 ]'
    cost
: 100000
    nextprestige
: P-2
    rankup_cost_increase_percentage
: 50
    executecmds
:
   - crate givekey %player% prestigekey 1
    - manuaddp %player% essentials.fly
    broadcast
:
   - ' %player% has prestiged to &cPrestige &7[1]'
    msg
: [ ]
    send-firework
: true
    firework-builder
:
      flicker
: true
      trail
: true
      effect
:
     - BALL_LARGE
      color
:
     - RED
      fade
:
     - WHITE
      power
: 1
    randomcmds
:
      '1'
:
        chance
: 100
        commands
:
       - eco give %player% 100000
  P-2
:
    display
: '&8 [&cP2&8 ]'
    cost
: 500000
    nextprestige
: LASTPRESTIGE
    executecmds
:
   - manuaddp %player% test.test
    broadcast
: [ ]
    msg
: [ ]
    send-firework
: false
    firework-builder
: { }
----------, Nov 22, 2018

- Fixed Bukkit GUI Error
- Fixed Prestige Placeholders: %prisonranksx_prestige_cost% | %prisonranksx_nextprestige_cost%
----------, Nov 17, 2018

- [API] Added getPlayerRankupCostWithIncrease, getPlayerRankupCostFormattedWithIncrease
- Fixed /ranks [GUI And Chat] Rankup Cost Increase Bug
- Fixed Placeholder %prisonranksx_rankup_cost% and %prisonranksx_rankup_cost_formatted% Rankup Cost Increase Bug
- Added zillion to Money Formatter section
default:
Code (YAML):
zillion : Z
----------, Nov 16, 2018

- Added prestige sub-node "rankup_cost_increase_percentage"
it will look like this in config:
Code (YAML):
Prestiges:
  P-1
:
    display
: '&8 [&cP1&8 ]'
    cost
: 100000
    nextprestige
: P-2
    rankup_cost_increase_percentage
: 50 < ----
    executecmds
: ........................
- Small Bug fixes
----------, Nov 15, 2018

- Added /prestige <player> | can be used both ingame and in console
- [API] Fixed setPlayerRank not working at all
- [API] Added setPlayerPrestige,getPlayerNextPrestige,getPlayerNextPrestigeDisplay,getPlayerNextPrestigeCost.
- Fixed rankupsound not being added by default in the config.
- Fixed other small bugs.
----------, Nov 10, 2018

<!> If you have PrisonRanksX v2.1.X You don't need to update the config manually <!>
- Updated GUI Rank list, Prestige list with new things
* added custom section to make a custom item for a custom rank
like this :
Code (Text):
  completedrank-options:
    itemNAME: STAINED_GLASS_PANE
    itemDATA: 5
    itemAMOUNT: 1
    itemDISPLAYNAME: '&a%completedrank_display%'
    itemLORE:
    - '&bCOMPLETED'
    - '&7&m                       &r'
    - '&bCost: &7&m%completedrank_cost_formatted%'
    - '&bReward Received:'
    - '&7&m1x Rankup Key'
    itemENCHANTMENTS:
    - DURABILITY 10
    itemFLAGS:
    - HIDE_ENCHANTS
    itemCOMMANDS:
    - "(cancel-item_move)"
    custom:
      A:
        itemLORE:
        - '&3FIRST RANK'
that means the Rank A will get the lore FIRST RANK instead of COMPLETED
* as you see above: added itemCOMMANDS run console,player,op command in this section you can use any of the following prefixes.
* [console] op %player%
* [player] warp %currentrank%
* [op] gm 1
* (cancel-item_move) , (close-inventory)
* also supports placeholderapi
* added placeholderapi support for items lore
- Added Firework Custom Colors: LIGHT_RED,LIGHT_BLUE,SKY_BLUE,BROWN,GOLD,LIGHT_PURPLE,TURQUOISE
- Fixed small/rare bugs.
- Added prestige-soundname, rankup-soundname
- My Server GUI : ) \/
[​IMG]
----------, Oct 5, 2018

- Recoded PAPI Placeholders
- Added placeholders: {prisonranksx_prestige_name}, {prisonranksx_prestige_displayname}
- Fixed rushed ,not tested PRXAPI void methods.
- Added a placeholder updater when you reload the server, also supports plugman reload
- Added a placeholder updater for every prisonranksx command
- Code uub2myzashins
Reported bugs: 0
Fixed Bugs: 1
Changes: 4
- Any Ideas, Bugs, Any Questions Contact Me or Hop to the discussion page of prisonranksx and describe what you want -
----------, Sep 28, 2018

- Fixed /rankup takes lower money than the rank cost if the rank cost is above 1 Trillion
- PrxConvertNamesToUUID Works perfectly now for the ranks and the prestiges

- Any bug you found contact me -
-
Reported Bugs: 0
Fixed Bugs: 2
Changes: 1
Added: 0
----------, Sep 19, 2018

- No Config Changes -
- Fixed PrisonRanksX Placeholders
- Added Money Updater for PrisonRanksX Formatted Money
- Added the following enums to XRankupEvent RankupAction:
* RANKSET [when you do /prx setrank]
* RANKSET_BYPRESTIGE [when your rank resets because you prestiged]
- Fixed XRankupEvent not being fired when you /forcerankup a player
- Fixed /RankupMax sometimes shows a wrong rank in not enough money msg

Reported bugs: 0
----------, Sep 18, 2018

<!> Unlike other updates this time you should update the config manually or it will use the default config<!>
Special Thanks to MasterDoctor for his PaginatedGUI Lib
his account: https://www.spigotmc.org/members/masterdoctor.79213/
Resource: https://www.spigotmc.org/threads/paginated-gui.277689/

- 1.5 Minecraft Support
- Added GUI ranks list [USE-GUIRANKLIST] in config
- Added GUI prestige list [USE-GUIPRESTIGELIST] in config
* configurable like you want in the config including Unsafe Enchantments, Item Flags Inventory Title
* Also automatically paginated when you have a lot of ranks
- Fixed Placeholders UUID Problem
- Improved Performance
* Removed Repeating Task , now the placeholders are now being updated in these events
* [XRankupEvent<custom>, BlockBreakEvent<for mining>, CommandEvent<i forgot>, PlayerJoinEvent]
- Added rank,prestige -reset-commands + -del-commands when you execute one of these commands
* /prx delplayerrank, /prx delplayerprestige, /prx resetrank , /prx resetprestige
* including [auto-command] thing that has the ability to remove every permission player got from ranking up or prestiging up
- Auto-Commands:

[pex-rankpermissions] remove = removes every permission that player got from ranking up <!> PermissionsEX Must be installed
[pex-prestigepermissions] remove = removes every permission that player got from prestiging up <!> PermissionsEX Must be installed
[groupmanager-rankpermissions] remove = removes every permission that player got from ranking up <!> EssentialsGroupManager Must be installed
[groupmanager-prestigepermissions] remove = removes every permission that player got from prestiging up <!> EssentialsGroupManager Must be installed
- Fixed over 20 Bugs
Latest Config:

Code (YAML):
#<!> Editing ranks in game will remove every green text you see here <!>
#RankUP Permission is : prisonranksx.rankup
#RankUPMax Permission is : prisonranksx.rankupmax
#RankUP Other Permission is : prisonranksx.rankup.other
#RankUP Other : Is if you want to rankup other players using your money
#ForceRankup : Is a command for admins if you want to rankup other players without losing money
#Version 1.3+
#Symbols can be used in every message
#"[>>]", "»"
#"[<<]", "«"
#"[coolarrow]", "➤"
#"[<3]", "❤"
#"[shadowarrow]", "➢"
#"[shadowarrow_2]", "➣"
#"[shadowarrow_down]", "⧨"
#"[shadowsquare]", "❑"
#"[nuke]", "☢"
#"[+]", "✚"
#"[correct]", "✔"
#"[incorrect]", "✖"
#"[bowarrow]", "➸"
#"[squaredot]", "◼"
#"[happyface]", "☺"
#"[|]", "⎟"
#Disabled worlds
#[you will not see messages of other worlds if allworlds-broadcast is false]
#[you can't rankup]
#[you can't prestige]
#[you can't use /prx commands]
worlds
:
- iamdisabled
#customrankslist: true = sets a custom list when you execute /ranks
#forcedisplay: true = adds the rank prefix before GroupManager/Pex Prefixes without using a variable [COOL OPTION]
#..
#..
#defaultlist-paginate: true = adds rank pages if there's alot of ranks [configurable][/ranks 2,3,4] etc..
#defaultlist-paginate-items: 9 = maximum amount of ranks to be shown in a page 'defaultlist-paginate' must be true if you want to use this
#Holographic Displays must be installed! if you want to use hologramrankup!
#..
#allworlds-broadcast: true = broadcast rank up messages to everyworld in the server | false = only not disabled worlds
#autoforcedisplay-space: true = automatically adds space[key] after rank display format in the chat [forcedisplay must be true]
Options
:
  prestige-enabled
: true
  forcedisplay
: true
  customlist
:
 - "&6[B] > $1000"
  customlist-prestige
:
 - "&aPrestige-I"
  - "&bPrestige-II"
  customlist-paginate
: true
  customlist-paginate-items
: 9
  customlist-paginate-firstline
: "&3Ranks &7[<<] &a%currentpage% &9of &a%totalpages% &7[>>]"
  defaultlist-beginline
: "&8&m+----------------------------------+"
  defaultlist-endline
: "&8&m+----------------------------------+"
  defaultlistformat
: "%ranklistdisplay% &8[>>] %ranklistnextdisplay% %moneysymbol%&f%ranknextcost_formatted%"
  defaultlist-paginate
: true
  defaultlist-paginate-items
: 9
  defaultlist-paginate-firstline
: "&aRanks &7[<<] &e%currentpage% &9of &e%totalpages% &7[>>]"
  defaultlist-completedrank-checker
: true
  defaultlist-completedrank-rankformat
: "&7[%ranklist%]&r"
  defaultlist-completedrank-rankupformat
: "&7[%ranklistnext%]&r"
  defaultlist-completedrank-rankupcostformat
: "&bCompleted"
  defaultlist-moneysymbol
: "&c$"
  hologramrankup
: true
  hologramformat
: "&6%player% &3Ranked Up To &c%rankup%"
  hologram-removetime
: 5
  hologram-multilines
: true
  hologram-height
: 4
  hologram-linedformat
:
 - "&6%player%"
  - "&b&kii&3Ranked Up To&b&kii"
  - "&e&l%rankup%"
  rankupsound
: true
  allworlds-broadcast
: false
  autoforcedisplay-space
: true
  send-rankupmsg
: true
  USE-UUID
: true
  GUI-RANKLIST
: true
  GUI-PRESTIGELIST
: true
Main-GUIOptions
:
  previouspage-itemNAME
: "ARROW"
  previouspage-itemDATA
: 0
  previouspage-itemDISPLAYNAME
: "&6Next Page >>"
  nextpage-itemNAME
: "ARROW"
  nextpage-itemDATA
: 0
  nextpage-itemDISPLAYNAME
: "&c<< Previous page"
  no-previous-pages
: "&eThere are no previous pages."
  no-additional-pages
: "&eThere are no additional pages."
  currentpage
: "&cPage &4{currentpage} &cof &4{maxpages}"
Ranklist-GUI
:
  title
: "&6Ranks"
  currentrank-options
:
    itemNAME
: EMERALD_BLOCK
    itemDATA
: 0
    itemAMOUNT
: 1
    itemDISPLAYNAME
: "&a%currentrank_display%"
    itemLORE
:
   - "&6Your current rank!"
    itemENCHANTMENTS
:
   - DURABILITY 10
    itemFLAGS
:
   - HIDE_ENCHANTS
  completedrank-options
:
    itemNAME
: EMERALD_BLOCK
    itemDATA
: 0
    itemAMOUNT
: 1
    itemDISPLAYNAME
: "&a%completedrank_display%"
    itemLORE
:
   - "&bCOMPLETED"
    itemENCHANTMENTS
: [ ]
    itemFLAGS
: [ ]
  notcompletedrank-options
:
    itemNAME
: REDSTONE_BLOCK
    itemDATA
: 0
    itemAMOUNT
: 1
    itemDISPLAYNAME
: "&a%notcompletedrank_display%"
    itemLORE
:
    - "&cCost
: &3%notcompletedrank_cost_formatted%"
    itemENCHANTMENTS
: [ ]
    itemFLAGS
: [ ]
Prestigelist-GUI
:
  title
: "&3Prestiges"
  currentprestige-options
:
    itemNAME
: EMERALD_BLOCK
    itemDATA
: 0
    itemAMOUNT
: 1
    itemDISPLAYNAME
: "&a%currentprestige_display%"
    itemLORE
:
   - "&eYour current prestige!"
    itemENCHANTMENTS
:
   - DURABILITY 10
    itemFLAGS
:
   - HIDE_ENCHANTS
  completedprestige-options
:
    itemNAME
: EMERALD_BLOCK
    itemDATA
: 0
    itemAMOUNT
: 1
    itemDISPLAYNAME
: "&a%completedprestige_display%"
    itemLORE
:
   - "&bCOMPLETED"
    itemENCHANTMENTS
: [ ]
    itemFLAGS
: [ ]
  notcompletedprestige-options
:
    itemNAME
: REDSTONE_BLOCK
    itemDATA
: 0
    itemAMOUNT
: 1
    itemDISPLAYNAME
: "&a%notcompletedprestige_display%"
    itemLORE
:
    - "&cCost
: &3%notcompletedprestige_cost_formatted%"
    itemENCHANTMENTS
: [ ]
    itemFLAGS
: [ ]
#autocommands:
#'[pex-rankpermissions] remove' = removes every permission that player got from ranking up <!> PermissionsEX Must be installed
#'[pex-prestigepermissions] remove' = removes every permission that player got from prestiging up <!> PermissionsEX Must be installed
#'[groupmanager-rankpermissions] remove' = removes every permission that player got from ranking up <!> EssentialsGroupManager Must be installed
#'[groupmanager-prestigepermissions] remove' = removes every permission that player got from prestiging up <!> EssentialsGroupManager Must be installed
prestigeOptions
:
  resetMoney
: true
  resetRank
: true
  #executed when you prestige
  prestige-cmds
:
 - "[pex-rankpermissions] remove"
  #executed when you do /pex delplayerprestige
  prestige-delete-cmds
:
 - "[pex-prestigepermissions] remove"
  - "eco set %player% 0"
  #executed when you do /pex resetplayerprestige
  prestige-reset-cmds
:
 - "[pex-prestigepermissions] remove"
  - "[groupmanager-prestigepermissions] remove"
rankOptions
:
  #executed when you type /pex delplayerrank
  rank-delete-cmds
:
 - "[pex-rankpermissions] remove"
  #executed when you do /pex resetplayerrank
  rank-reset-cmds
:
 - "[pex-rankpermissions] remove"
#rankup-progress-doublevalues: true = will make the progress longer just for better looking and will increase every 5%
PlaceholderAPI
:
  rankup-progress-style
: ' [squaredot ]'
  rankup-progress-filled
: '&a'
  rankup-progress-needed
: '&c'
  rankup-progress-doublevalues
: false
  rankup-progress-full-enabled
: false
  rankup-progress-full
: "&aType &e/rankup &3!"
  rankup-progress-lastrank
: "&aType &e/prestige to go to a high level &3!"
  rankup-cost-lastrank
: "&cHighest Rank"
  rankup-lastrank
: "&cType /prestige"
#to use in /ranks cmd use this placeholder: %ranknextcost_formatted%
Moneyformatter
:
  thousand
: 'K'
  million
: 'M'
  billion
: 'B'
  trillion
: 'T'
  quadrillion
: 'Q'
  quintillion
: 'QT'
  sextillion
: 'S'
  septillion
: 'ST'
  octillion
: 'O'
  nonillion
: 'N'
  decillion
: 'D'
  undecillion
: 'UD'
  Duodecillion
: 'DD'
Messages
:
  notenoughmoney
:
 - "&7&m-------------------------------------------------"
  - ""
  - "&eYou need &f$%rankupcost_formatted% &eto rankup to &a%rankup%"
  - ""
  - "&7&m-------------------------------------------------"
  notenoughmoney-other
:
 - "&7&m-------------------------------------------------"
  - ""
  - "&eYou need &f$%rankupcost_formatted% &eto rankup %player% to &a%rankup%"
  - ""
  - "&7&m-------------------------------------------------"
  nopermission
: "&cInsufficent Permission!"
  playernotfound
: "&cThere's no player with that name."
  delrank
: "&e%args1% &cRank has been deleted"
  setrank
: "&cChanged &e%target% &cRank to &e%settedrank% &crank."
  resetrank
: "&cRestored &e%target% &cRank to %firstrank%"
  createrank
: "&cCreated rank &e%createdrank% &cwith price:&a%rankcost%"
  setnextrank
: "&cChanged &e%args1% &cnextrank to &a%args2%"
  setrankdisplay
: "&cChanged &e%args1% &cdisplay to &r%args2%"
  setrankcost
: "&cChanged &e%args1% &cRank Cost to &a%args2%"
  delplayerrank
: "&cDeleted &e%player% &cRank"
  addrankcmd
: "&c%args1% &eUpdated with: &7%args2%"
  addrankbroadcast
: "&c%args1% &eUpdated! with: &7%args2%"
  addrankmsg
: "&c%args1% &eUpdated! with: &7%args2%"
  setdefaultrank
: "&cDefault rank changed to &e%args1%"
  setlastrank
: "&cLast rank changed to &e%args1%"
  reload
: "&eConfig Successfully reloaded."
  runfromconsole
: "&6You should run this in game or do /forcerankup %player% if you want to rankup a player"
  notcorrectworld
: "&cYou cannot run this command here."
  rankup
: "&9You have ranked up to %rankupdisplay%"
  delprestige
: "&e%args1% &cPrestige has been deleted"
  setfirstprestige
: "&cFirst prestige changed to &e%args1%"
  setlastprestige
: "&cLast prestige changed to &e%args1%"
  setprestige
: "&cChanged &e%target% &cPrestige to &e%settedprestige% &cprestige."
  resetprestige
: "&cRestored &e%target% &cPrestige to &e%firstprestige%"
  createprestige
: "&cCreated prestige &e%createdprestige% &cwith price:&a%prestigecost%"
  setnextprestige
: "&cChanged &e%previousprestige% &cnext prestige to &a%nextprestige%"
  setprestigedisplay
: "&cChanged &e%prestige% &cdisplay to &e%changeddisplay%"
  setprestigecost
: "&cChanged Prestige &e%prestige% &ccost to %prestigecost%"
  prestige
: "&aYou have prestiged to &r%prestigenextdisplay%"
  noprestige
: "&aYou must be at the latest rank to prestige!"
  delplayerprestige
: "&cDeleted &e%player% &cPrestige"
  prestige-notenoughmoney
:
 - "&7&m-------------------------------------------------"
  - ""
  - "&eYou need &f$%prestigenextcost_formatted% &eto prestige to &a%prestigenext%"
  - ""
  - "&7&m-------------------------------------------------"
  lastprestige
:
 - "&7&m---------------------------------------"
  - "&cYou are at the latest prestige"
  - "&7&m---------------------------------------"
  lastrank
:
 - "&7&m---------------------------------------"
  - "&aYou are at the latest rank"
  - "&7&m---------------------------------------"
  forcerankup-msg
: "&a%player% &cRanked UP to &e%nextrank%"
#PlaceHolders:
#%rank% = current rank
#%rankdisplay% = current rank display format
#%rankup% = next rank
#%rankupdisplay% = next rank display
#%player% = gets player name
#[ESSENTIALSCHAT] {pranks} = shows current rank
#[ESSENTIALSCHAT] {pranksdisplay} = shows current rank display format
#----------------------------------------------
#Don't Forget This !
#----------------------------------------------
defaultrank
: A
lastrank
: D
firstprestige
: Prestige-I
lastprestige
: Prestige-II
#Broadcast,Msg Supports MultiLines + executecmds supports multi commands :P
#To Disable just do broadcast: []
#msg: []
#executecmds: []
#Or Just Remove.!
#---------------------------
#To set as lastrank type: 'LASTRANK' in nextrank section [v1.3+] [you can ignore this if you use a custom list]
#---------------------------
Ranks
:
  A
:
    display
: '&7 [A ]'
    cost
: 0
    nextrank
: B
  B
:
    display
: '&6 [B ]'
    cost
: 1000
    nextrank
: C
    executecmds
:
   - eco give %player% 10
    - pex user %player% add essentials.warps.B
    broadcast
:
   - '&6 %player% ranked up to %rankupdisplay%'
    randomcmds
:
      '1'
:
        chance
: 5
        commands
:
       - forcerankup %player%
      '2'
:
        chance
: 20
        commands
:
       - crate givekey %player% specialkey 1
      '3'
:
        chance
: 50
        commands
:
       - eco give %player% 1000
  C
:
    display
: '&e [C ]'
    cost
: 5000
    nextrank
: D
    executecmds
:
   - crate givekey %player% rankupkey 1
    - pex user %player% add essentials.warps.C
    broadcast
:
   - '&6 %player% ranked up to %rankupdisplay%'
  D
:
    display
: '&9 [D ]'
    cost
: 15000
    send-firework
: true
    firework-builder
:
      flicker
: true
      trail
: true
      effect
:
     - STAR
      color
:
     - BLUE
      - WHITE
      fade
:
     - AQUA
      power
: 1
    nextrank
: LASTRANK
    executecmds
:
   - crate givekey %player% rankupkey 1
    - pex user %player% add essentials.warps.D
    broadcast
:
   - '&6 %player% ranked up to %rankupdisplay%'
Prestiges
:
  Prestige-I
:
    display
: '&8 [&cP1&8 ]'
    cost
: 100000
    nextprestige
: Prestige-II
    executecmds
:
   - crate givekey %player% prestigekey 1
    - manuaddp %player% essentials.fly
    broadcast
:
   - ' %player% has prestiged to &cPrestige &7[1]'
    msg
: [ ]
    send-firework
: true
    firework-builder
:
      flicker
: true
      trail
: true
      effect
:
     - BALL_LARGE
      color
:
     - RED
      fade
:
     - WHITE
      power
: 1
    randomcmds
:
      '1'
:
        chance
: 100
        commands
:
       - eco give %player% 100000
  Prestige-II
:
    display
: '&8 [&cP2&8 ]'
    cost
: 500000
    nextprestige
: Prestige-III
    executecmds
:
   - manuaddp %player% test.test
    broadcast
: [ ]
    msg
: [ ]
    send-firework
: false
    firework-builder
: { }
Also please don't decompile the Main class lol
----------, Sep 7, 2018

Added UUID Option
Added "/prx convertnamesToUUID" command
Fixed small bugs.
Compatible with 1.7 + 1.8 + 1.9 + 1.10 + 1.11 + 1.12 + 1.13
And may work on 1.6 + 1.5 [Not Tested]
----------, Aug 3, 2018

- Improved world checks
- Fixed auto space bug
- Fixed when typing a prestige command with missing arguments dosen't show anything
----------, Jul 21, 2018

- Updated PlaceholderAPI to the latest version
- Added 2 commands:
* /prx delplayerrank <player>
* /prx delplayerprestige <player>
- Added 2 messages for the commands above
- Small improvements
----------, Jul 20, 2018

- Added "/prestiges" command to list prestige ranks
- Added firework-builder for ranks it was for prestiges only
- Added random commands with chances looks like this in the config:
Code (YAML):
   randomcmds:
      '1'
:
        chance
: 5
        commands
:
       - "forcerankup %player%"
      '2'
:
        chance
: 20
        commands
:
       - "crate givekey %player% specialkey 1"
      '3'
:
        chance
: 50
        commands
:
       - "eco give %player% 1000"
- Added "customlist-prestige"
- Added "defaultlist-completedrank-checker"
* shows a custom format in ranks list if you reached that rank like this:
A > B = COMPLETED
B > C = COMPLETED

C > D = $50000
I hope you understand what i mean : means that you reached A + B + C Ranks and your next rank is D
----------, Jul 15, 2018

<!> If you have PrisonRanksX 1.6/1.7 You don't need to update the config manually it will be automatically updated <!>
- Added a firework builder for prestige ranks here is an example of what i mean:
Code (YAML):
 'Prestige-I':
    display
: "&8[&cP1&8]"
    cost
: 100000
    nextprestige
: Prestige-II
    executecmds
:
   - "crate givekey %player% prestigekey 1"
    - "pex user %player% add essentials.fly"
    broadcast
:
   - "%player% has prestiged to &cPrestige &7[1]"
    msg
: [ ]
    send-firework
: true
    firework-builder
:
      flicker
: true
      trail
: true
      effect
:
     - BALL_LARGE
      color
:
     - RED
      fade
:
     - WHITE
      power
: 2
- Added every prestige command
- Added 2 PlaceholderAPI Options
- Added 1 Message
- Removed prestige default list + paginate system i will add it in a new version
- Fixed placeholders wrong thinges
- Fixed resetRank,resetMoney not working for the first prestige
- Added rank chat checker if your rank is null
- I Got bored of developing this plugin but anyway i will make a final version but i don't know when i will do this
- Any Bugs/Ideas Contact Me :) -
----------, Jul 3, 2018

<!> If you have PrisonRanksX 1.6 You don't need to update the config manually it will be automatically updated :) <!>
- Added a Prestige System
* Added "/prestige" command | Permission: prisonranksx.prestige
- Added "/rankupmax" command | Permission: prisonranksx.rankupmax
- Added On Prestige Firework [Beta Not Customizable]
- Fixed Forcerankup being able to rankup to a null rank
- Corrected "/rankup <player>" messages | Permission: prisonranksx.rankup.other
- Added prestigeOptions in Config.yml
- Added "/prx help 2" shows prestige commands currently only one command added : "/prx setprestige <player> <prestige>" incasesensitive
- Fixed if you removed everything from ranked.yml | prestiged.yml null messages being sent to the console
- Sorry for taking long time to do this i was in a break or what ever you call it :p
- Any Bugs Just Tell me in the discussion page or start a conversation
----------, Jun 9, 2018

I updated the plugin because there was a mistake that ruined the plugin and it was not working thats all the update 1.7 Will be a huge update
----------, May 15, 2018

- Added An API
- Added hologram-multiline
- Added OnChat Null Rank Checker
- Fixed %ranklistnextcost% shows incorrect message
- Fixed %ranknextcost% only accept integer numbers
- Prestige System currently is not added i just added a messages for it
----------, May 14, 2018

- /prx setrank <player> <rank> is no longer case sensitive
- Added PlaceholderAPI Placeholders:
* %prisonranksx_rankup_name%
* %prisonranksx_rankup_displayname%
- Fixed PlaceholderAPI Placeholders RepeatingTasks,Lag
* rankup_cost
* rankup_cost_formatted
-- Any Bugs Contact Me --
----------, May 7, 2018

- Added customlist paginator
- Added /prx delrank <rank>
- Changed notenoughmoney from string to string list [Multi lines]
- Improved ingame rank creating now it will automatically sets the recent rank you created to lastrank and the nextrank of the older rank to recent rank so you will just use one command instead of 3 commands
- Fixed null rank checker
- Added hologram-removetime
- Added PlaceholderAPI Placeholders:
* %prisonranksx_rankup_cost%
* %prisonranksx_rankup_cost_formatted%
* %prisonranksx_money% [Formatted Money]
- And i fixed other things that i forgot :p
----------, May 6, 2018

- Fixed unable to put larger numbers more than 100B in /prx createrank
----------, May 4, 2018

- Added chat paginator for defaultlist-format
- Added defaultlist-paginate
- Added defaultlist-paginate-items
- Added defaultlist-paginate-firstline
- Added PlaceholderAPI: rankup-progress-full [Custom text when percentage is %100]
- Fixed PlaceholderAPI Null Pointer spam in console
- Fixed Null rank display
- Added a checker for null ranks
- Fixed autoforcedisplay-space
- Fixed forcedisplay still shows in disabled worlds when there's more than one world in the list
- Fixed other small bugs
----------, May 2, 2018

- Added Money formatter | k,M [Million],B [Billion],etc... can be changed in the config [Special Thanks to Yoreni for the method]
* To use in "/ranks" list do: %ranknextcost_formatted%
* To use in messages [setrankcost] [createrank] do: %rankcost_formatted%
----------, May 1, 2018

- Added defaultlist-beginline
- Added defaultlist-endline
- Added defaultlist placeholders \/
* %ranklistnext%
* %ranklistnextdisplay%
* %ranklistnextcost%
- Fixed scoreboard placeholders lagging / changing to previous value
- Fixed addrankcmd
- Fixed addrankbroadcast
- Fixed addrankmsg
- Fixed not being able to put spaces in [Ingame commands] addrankcmd,etc...
- Fixed "lastrank" placeholder in nextrank section
- Fixed an error ouccerred msg being sent when you are at the latest rank
- rankup-sound now will check your server version and play the correct sound name
----------, Apr 30, 2018

Added 4 Options for PlaceholderAPI In Config if you use it you should update the plugin
- Added rankup-progress-filled {color}
- Added rankup-progress-needed {color}
- Added rankup-progress-style
- Added rankup-progress-doublevalues {true/false}
----------, Apr 25, 2018

- Fixed rankup_percentage & rankup_progress changes to null in scoreboards or lagging at %100
- MVdWPlaceholder use: {placeholderapi_prisonranksx_rankup_progress}
- PlaceholderApi use: {prisonranksx_rankup_progress}
----------, Apr 24, 2018

- Fixed 1.9+ console crashlog
- Fixed world checks
- Added {prisonranksx_rankup_progress} placeholder
- Fixed rankup_percentage randomly changes to other number
- Improved performance
----------, Apr 24, 2018

Resource Information
Author:
----------
Total Downloads: 58,260
First Release: Apr 20, 2018
Last Update: Jun 13, 2023
Category: ---------------
All-Time Rating:
83 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings