Added a new option in ranks.yml called not-on-rank.
Code (YAML):
not-on-rank:
enabled: true
lore: - '&7<&m &7>'
- '&cYou do not have access'
- '&cto this rank yet'
- '&7<&m &7>'
Looks just like completion-lore, but this lore will show up if orderly progression is true and the rank is not their next rank.
Code (YAML):
default:
1: # I advise not to use spaces in the name, otherwise players will have to use rank numbers instead of names in commands name: '&9&lStarter'
# If HeadDataBase is installed, this will try and get a head ID, otherwise Base64 head: 193
# this item will be used if heads is disabled item: EMERALD_BLOCK
# {cost} to get x/total - with prefix & suffix around each number # {req1} to get the first requirement x/total ({req2} {req3} etc) # lore will change from red to green after completion if there is ^^ included lore: - '&e<△> &c&lREQUIREMENTS &e<△>'
- '&7→ &fPrice: {cost
}'
- '&7→ &fHours Played: {req3
}'
- '&7→ &fMob Kills: {req1
}'
- '&7→ &fStone Broken: {req2
}'
- '&e<△> &c&lREWARDS &e<△>'
- '&7→ &9&lStarter &ftitle.'
# this will change the lore when the rank is completed # this could be useful if you want to unlock lore or add a secret message completion-lore:
enabled: false
lore: - '&7<&m &7>'
- '&a&l&nRank Completed'
- '&7<&m &7>'
# this will change the lore if the player cannot rankup to the rank not-on-rank:
enabled: false
lore: - '&7<&m &7>'
- '&cYou do not have access'
- '&cto this rank yet'
- '&7<&m &7>'
hide-nbt: true
requirements: # vv operator - can be "<=" ">=" "!=" "=" ">" "<" ||| true/false & text can only use "!=" & "=" # papi placeholder vv vv vv required amount - Make sure you download the placeholder before you use it - '
%statistic_mob_kills% >= 100' #- '%mcmmo_power_level% >= 5' - '
%statistic_mine_block:STONE% >= 500' # playtime - '
%statistic_hours_played% >= 1' # auto checks and takes away with options defined in currency cost: 3
commands: # use {player} to replace it with the players name # does not need a '/' in front of the command - 'broadcast &e&lCongrats to &a
{player
} &e&lfor ranking up to &9&lStarter'
#- 'lp user {player} promote playerranks'
One last thing that was changed is the notranks.default permission is now required to use the commands. This is enabled by default.