Command Argument Aliases & Custom Model Data for Rank Items
A new config section will appear under command-aliases called arguments that will let you change the static words in the commands like "prefix" to another text.
You can now add custom model data for the rank items. If you are updating, you will have to add this option if you want to use it. use the custom-model-data option in line with all the other item information. See the example below
Code (YAML):
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: LIME_CONCRETE
# {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.'
# add custom model data to the rank item for a resource pack custom-model-data: 123
# <------------ custom model data # this will change the lore and item when the rank is completed # this could be useful if you want to unlock lore or add a secret message completion-lore:
enabled: false
# this will override the completed head head: 21771
item: EMERALD_BLOCK
lore: - '&7<&m &7>'
- '&a&l&nRank Completed'
- '&7<&m &7>'
custom-model-data: 123
# <------------ custom model data # this will change the lore and item if the player cannot rankup to the rank not-on-rank:
enabled: false
head: 69288
item: SCULK
lore: - '&7<&m &7>'
- '&cYou do not have access'
- '&cto this rank yet'
- '&7<&m &7>'
custom-model-data: 123
# <------------ custom model data 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' # kill 3 MythicMobs SkeletalKnights #- 'mythic:SkeletalKnight >= 3' # 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'