Placeholders - AlonsoAliaga/AlonsoLevels GitHub Wiki
Placeholders
Available placeholders for PlaceholdersAPI.
%alonsolevels_developer%
Returns plugin developer.
Example: AlonsoAliaga
%alonsolevels_version%
Returns plugin version.
Example: 0.1-BETA
%alonsolevels_is_max_level% (🔰 Added in 2.3.1-BETA[-PRO])
Returns if player is max level or not.
%alonsolevels_loaded% (🔰 Added in 2.3.1-BETA[-PRO])
Returns if player is loaded in cache or not.
%alonsolevels_level%
Returns player's level.
Example: 200
%alonsolevels_color% (🔰 PREMIUM ONLY)
Returns player's color based on his level. Requires colors.yml file configured.
Example: §a
%alonsolevels_last_color% (🔰 PREMIUM ONLY - Added in 2.3-BETA-PRO)
Returns player's color based on his level. Requires colors.yml file configured with multiple colors per rank per level.
Otherwise, returns the same color as %alonsolevels_color% placeholder.
Example: §b
%alonsolevels_colored_level% (🔰 PREMIUM ONLY)
Returns player's level with color defined in colors.yml file.
Example: 200
%alonsolevels_level_format%
Returns player's level with star.
Example: 200✫
%alonsolevels_colored_level_format% (🔰 PREMIUM ONLY)
Returns player's level with star and with color defined in colors.yml file.
Example: 200✫
%alonsolevels_next_level% (🔰 Added in 1.5-BETA)
Returns player's next level or returns "&c&lMAX" if already max level (Taken from config).
Example: 201
%alonsolevels_next_level_color% (🔰 PREMIUM ONLY)
Returns player's next color level based on his level. Requires colors.yml file configured.
Example: §c
%alonsolevels_colored_next_level% (🔰 PREMIUM ONLY)
Returns player's next level with color defined or returns "&c&lMAX" if already max level (Taken from config).
Example: 201
%alonsolevels_next_level_format% (🔰 Added in 1.5-BETA)
Returns player's next level with star or returns "&c&lMAX" if already max level (Taken from config).
Example: 201✫
%alonsolevels_next_colored_level_format% (🔰 PREMIUM ONLY)
Returns player's next level with star and color defined or returns "&c&lMAX" if already max level (Taken from config).
Example: 201✫
%alonsolevels_colorize_YOURCUSTOMTEXT% (🔰 PREMIUM ONLY - Added in 2.3-BETA-PRO)
Returns YOURCUSTOMTEXT parsed with colors from player level. Supports placeholderapi with {} instead of %%.
If you want to use PlaceholderAPI you must use {player_name} instead of %player_name%.
You can add spaces using the placeholder {S} or {SPACE} to add one space " ".
Example: §aYOURCUSTOMTEXT
%alonsolevels_colorize_ignorespaces_YOURCUSTOMTEXT% (🔰 PREMIUM ONLY - Added in 2.3-BETA-PRO)
Returns YOURCUSTOMTEXT parsed with colors from player level. Supports placeholderapi with {} instead of %%.
If you want to use PlaceholderAPI you must use {player_name} instead of %player_name%.
You can add spaces using the placeholder {S} or {SPACE} to add one single space " ".
💠 How is this different from %alonsolevels_colorize_YOURCUSTOMTEXT%?
If color selected has multiple colors, this will add the color for each letter IGNORING spaces.
This means messages WON'T skip a color if character is empty space.
Example: §aYOURCUSTOMTEXT
%alonsolevels_experience%
Returns player's experience.
Example: 120000
%alonsolevels_experience_format%
Returns player's experience with format.
Example: 120k
%alonsolevels_progress_bar%
Returns current level progress bar.
Example: ◼️ ◼️ ◼️ ◼️ ◼️ ◼️ ◼️ ◼️ ▢ ▢ ▢ ▢
%alonsolevels_progress_bar_format%
Returns current level progress bar, if player is in maximum level returns message from config.
Example: MAX LEVEL!
%alonsolevels_empty_progress_bar%
Returns empty progress bar.
Example: ▢ ▢ ▢ ▢ ▢ ▢ ▢ ▢ ▢ ▢ ▢ ▢
%alonsolevels_progress%
Returns current level progress with color.
Example: 12000/150000
%alonsolevels_progress_format%
Returns current level progress with color and format.
Example: 12k/150k
%alonsolevels_progress_stripped%
Returns current level progress without color.
Example: 12000/150000
%alonsolevels_progress_stripped_format%
Returns current level progress without color but format.
Example: 12k/150k
%alonsolevels_progress_percent%
Returns current level progress percent.
Example: 78
%alonsolevels_progress_percent_format%
Returns current level progress percent with % symbol.
Example: 78%
%alonsolevels_experience_to_level_up%
Returns experience left to level up.
Example: 60000
%alonsolevels_experience_to_level_up_format%
Returns experience left to level up with format.
Example: 60k
%alonsolevels_required_experience_in_current_level%
Returns experience in current level.
Example: 120000
%alonsolevels_required_experience_in_current_level_format%
Returns experience in current level with format.
Example: 120k
%alonsolevels_total_required_experience_in_current_level% (🔰 Since 2.3-BETA(-PRO))
Returns total required experience in current level. (Not only the experience required for the next level)
Example: 160000
%alonsolevels_total_required_experience_in_current_level_format% (🔰 Since 2.3-BETA(-PRO))
Returns total requitred experience in current level with format. (Not only the experience required for the next level)
Example: 160k
%alonsolevels_required_experience_in_next_level% (🔰 Since 2.3.1-BETA(-PRO))
Returns experience in next level.
Example: 120000
%alonsolevels_required_experience_in_next_level_format% (🔰 Since 2.3.1-BETA(-PRO))
Returns experience in next level with format.
Example: 120k
%alonsolevels_total_required_experience_in_next_level% (🔰 Since 2.3.1-BETA(-PRO))
Returns total required experience in next level. Returns 0 if max level.
Example: 160000
%alonsolevels_total_required_experience_in_next_level_format% (🔰 Since 2.3.1-BETA(-PRO))
Returns total required experience in next level with format. Returns 0 if max level.
Example: 160k
%alonsolevels_coin_multiplier%
Returns total coin multiplier for player or 1.0 if player is not loaded.
Example: 2.5 or 1.0
%alonsolevels_coin_multiplier_format%
Returns total coin multiplier for player or 1.0 if player is not loaded, all in format from config.yml file.
Example: §62.5 or §71.0
%alonsolevels_additional_coin_multiplier%
Returns total ADDITIONAL coin multiplier for player or 0.0 if player is not loaded.
Example: 1.5 or 0.0
%alonsolevels_additional_coin_multiplier_format%
Returns total ADDITIONAL coin multiplier for player or 0.0 if player is not loaded, all in format from config.yml file.
Example: §6+1.5 or §7+0.0
%alonsolevels_available_normal_rewards% (🔰 PREMIUM ONLY)
Returns amount of available normal rewards for the player to claim. This IGNORES server restrictions.
%alonsolevels_available_veteran_rewards% (🔰 PREMIUM ONLY)
Returns amount of available veteran rewards for the player to claim. This IGNORES server restrictions.
%alonsolevels_available_all_rewards% (🔰 PREMIUM ONLY)
Returns amount of available rewards for the player to claim. This IGNORES server restrictions.
%alonsolevels_available_normal_rewards_format% (🔰 PREMIUM ONLY)
Returns the string defined in config file when player has available normal rewards to claim. This IGNORES server restrictions.
%alonsolevels_available_veteran_rewards_format% (🔰 PREMIUM ONLY)
Returns the string defined in config file when player has available veteran rewards to claim. This IGNORES server restrictions.
%alonsolevels_available_all_rewards_format% (🔰 PREMIUM ONLY)
Returns the string defined in config file when player has available rewards to claim. This IGNORES server restrictions.
%alonsolevels_recently_added_experience% (🔰 PREMIUM ONLY)
Returns the last amount of experience added to the player. If not available, returns selected value from config.