PrisonRanksX is a rankup plugin that focuses on providing the user full customizability to every bit of it. This means allowing the user to achieve the wanted result with one way or another. Although the focus is the customizability, the performance of it is not to be underestimated.
The plugin balances between the user needs and the efficiency of the features it provides. This prevents the plugin from having a negative effect on your server.
- Ability to create and edit ranks,prestiges, and rebirths without leaving the game.
- Can configure almost everything.
- Supports PlaceholderAPI, and MVdWPlaceholderAPI by injecting placeholders into them or using placeholders provided from other plugins in PrisonRanksX messages and other actions.
- Store players data in a MySQL database as an optional setting which also allows network rank synchronizing.
- Supports Vault by allowing it to listen to PrisonRanksX whenever a player data update occurs or by adding permissions and deleting them asynchronously from online players.
- Direct support for LuckPerms, PermissionsEX, and GroupManager by using their API to manage players permissions instead of Vault which is optional by the way.
- RGB color support as long as you are using 1.16+ and the place you try to use them on is supported by the game itself.
- Various amount of placeholders that suits your needs.
- Custom placeholder requirements for each stage when you want to make leveling up more challenging by providing other requirements than just money.
- 1 Jar file for all versions. No need to look for the correct version, just download the latest one.
- Multi-pages rank, prestige, and rebirth chat based text list which has different formats depending on the level player is on [Completed, Current, Neither] or you can just switch to custom list if you don't want anything that fancy.
- Multi-pages GUI rank, prestige, and rebirth list which has pretty much the same settings you can add in the text list.
- Infinite Prestiges.
- Prestige, Rank, Rebirth, and combined leaderboards.
- Fully Open Source (You can fork the plugin and do whatever you want with it, edit the source code, mark it as your own, etc.... I don't care).
↑ ANIMATED ACTIONBAR (WITH ANIMATION EFFECTS) ↑ ↑ FAST PRESTIGE MAX + INFINITE PRESTIGES ↑ ↑ RANKS LIST GUI WITH UNLIMITED PAGES ↑ ↑ RANKUP FIREWORK AND HOLOGRAM (FULLY CUSTOMIZABLE) ↑ ↑ LEADERBOARDS (FOR RANKS, PRESTIGES, OR REBIRTHS ONLY, OR ALL OF THEM COMBINED) ↑ ↑ ACTIONBAR RANKUP PROGRESS (FULLY CUSTOMIZABLE + CAN BE DISABLED) ↑ ↑ RGB COLORS ↑ ↑ EASY TO USE EXTENSIVE API (FOR DEVELOPERS) ↑
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'
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
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. 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"
PlaceholderAPI:
[_______________] <RANK> [_______________]
%prisonranksx_currentrank_name% | shows your current rank plain name (without colors)
%prisonranksx_currentrank_displayname% | shows your current rank display name (with colors) taken from `display` option from ranks.yml
%prisonranksx_rankup_percentage% | shows your current progress in to the next rank without decimal numbers (5%, 12%)
%prisonranksx_rankup_percentage_decimal% | shows your current progress to the next rank with decimal numbers (5.3%, 12.45%)
%prisonranksx_rankup_percentage_nolimit% | shows your current progress to the next rank without decimal numbers (5%, 12%) and without limit (%122, %254)
%prisonranksx_rankup_percentage_decimal_nolimit% | shows your current progress to the next rank with decimal numbers (5.5%, 12.41%) and without limit (%122.43, %454.96)
%prisonranksx_rankup_percentage_plain% | shows your current progress to the next rank in a plain format without decimals and without percent symbol (50, 20)
%prisonranksx_rankup_progress% | shows your progress to the next rank as a progress bar as defined in your config.yml (||||||||||)
%prisonranksx_rankup_progress_double% | shows your progress to the next rank as a progress bar as defined in your config.yml, but with double the amount of characters [20 characters] (||||||||||||||||||||)
%prisonranksx_rankup_name% | shows your next rank plain name (without colors)
%prisonranksx_rankup_displayname% | shows your next display name as defined in your ranks.yml from `display: '<takethis>'`
%prisonranksx_rankup_cost% | shows your next rank cost with decimals ($25000.50, $1000.0)
%prisonranksx_rankup_cost_formatted% | shows your next rank cost with decimals and a shortcut suffix ($5K, $250K, $5.5M, $10.4B)
%prisonranksx_rank_displayname_<rank>% | shows a certain rank's display name (This is Case-Sensitive)
%prisonranksx_rank_cost_<rank>% | shows a certain rank's cost (This is Case-Sensitive)
%prisonranksx_rank_costformatted_<rank>% | shows a certain rank's formatted cost ($12K, $3.5Q) (This is Case-Sensitive)
%prisonranksx_currentrank_lastcolors% | shows last color codes used in your rank's display name
%prisonranksx_currentrank_afterbracketcolor% | shows color codes used after the first bracket "[" in your rank's display name
%prisonranksx_currentrank_afterspacecolor% | shows color codes used after the first space " " in your rank's display name
%prisonranksx_currentrank_colors% | shows all color codes used in your current rank's display name
%prisonranksx_currentrank_name_<playername>% | shows rank plain name of a certain player
%prisonranksx_rankup_name_<playername>% | shows next rank plain name of a certain player
%prisonranksx_rankup_cost_plain% | shows next rank cost without currency sign (20000.5)
%prisonranksx_rankup_cost_integer% | shows next rank cost with decimal numbers ($200000)
%prisonranksx_rankup_cost_integer_plain% | shows next rank cost without currency symbol and without decimal numbers (20000)
%prisonranksx_rank_percentage_<rankname>% | shows progress of a certain rank (50%)
%prisonranksx_rank_percentage_decimal_<rankname>% | shows progress of a certain rank with decimal numbers (50.25%)
%prisonranksx_rank_percentage_nolimit_<rankname>% | shows progress of a certain rank that can go above 100 (122%)
%prisonranksx_rank_percentage_decimal_nolimit_<rankname>% | shows progress of a certain rank that can go above 100 and with decimal numbers (223.54%)
%prisonranksx_rank_progress_<rankname>% | shows a progress bar for a certain rank
%prisonranksx_rank_progress_double_<rankname>% | shows a progress bar for a certain rank with twice the amount of characters