Placeholders
Edit on GitHubAdded in (3.5.0)
Placeholders that can be used literally anywhere at any time! These only work if PlaceholderAPI is installed! (v2.11.2+)
Summary
Placeholders
List of all available placeholders, change all <world_name> to the world name you desire (CAse SeNSatiVE)
betterrtp_count: Get total amount of rtp's donebetterrtp_cooldown: Get cooldown in current worldbetterrtp_cooldown_<world_name>: Get cooldown of a specified worldbetterrtp_cooldowntime: Get cooldown time subject to in current worldbetterrtp_cooldowntime_<world_name>: Get cooldown time subject to in this worldbetterrtp_canrtp: Get the reason or yes output if player can rtp in current worldbetterrtp_canrtp_<world_name>: Get the reason or yes output if player can rtp in set worldbetterrtp_canrtpcooldown: 'Get if a player can rtp just based off their cooldown'betterrtp_canrtpcooldown_<world_name>: 'Get if a player can rtp just based off their cooldown for this world'betterrtp_canrtpprice: 'Get if a player can rtp just based off their bank account'betterrtp_canrtpprice_<world_name>: 'Get if a player can rtp just based off their bank account for this world'betterrtp_canrtphunger: 'Get if a player can rtp just based off their hunger'betterrtp_canrtphunger_<world_name>: 'Get if a player can rtp just based off their hunger for this world'betterrtp_price: Get the price of rtping in current worldbetterrtp_price_<world_name>: Get the price of rtping in specified world
Config
Editable characteristics of placeholders in the placeholders.yml file
-
TimeFormat
- Mostly used for Cooldowns
Days: '{0} Day(s)' #Displays the amount of days in time (removed if 0) Hours: '{0} Hours' #Displays hours of time (removed if 0) Minutes: '{0} Mins' #Displays minutes of time (removed if 0) Seconds: '{0} Secs' #You get it... ZeroAll: 'None' #If all times are 0, this is shown Infinite: 'Inf' #If a time is < 0 (When a cooldown is LOCKED) Separator: Middle: ', ' #Ex: 1 Days, 5 Hours, 2 mins and 5 secs Last: ' and ' #Ex: 1 Mins and 10 Secs -
CanRTP
- Placeholders for the %betterrtp_canrtp(...)% placeholders
Success: '&aYes' #RTP'ing is ready NoPermission: '&cNo Permission' #Player doesn't have permission for this world Cooldown: '&fCooling Down' #Player is cooling down Price: '&cNo. &7Reason: &eBankrupt' #No Vault money Hunger: '&cNo. &7Reason: &3Starvation' #Not enough Hunger