Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Placeholders & PlaceholderAPI support

phil14052 edited this page Aug 10, 2020 · 3 revisions

CustomCobbleGen supports both custom made placeholders and PlaceholderAPI placeholders, which can be used in the lang.yml file.

Intern placeholder

The intern placeholders can only be used in the lang.yml

Placeholder Result
%player_name% Returns the name of the player specified
%selected_tier_level% Returns the currently selected tier level
%selected_tier_name% Returns the currently selected tier name
%selected_tier_class% Returns the currently selected tier class
%selected_tier_price_money% Returns the amount of money needed to buy the tier
%selected_tier_price_xp% Returns the amount of XP needed to buy the tier
%selected_tier_price_level% Returns the amount of levels needed to buy the tier
%selected_tier_supported_mode% Returns the supported generator mode if specified
%tier_level% Returns the level of the tier specified
%tier_name% Returns the name of the tier specified
%tier_class% Returns the class of the tier specified
%tier_price_money% Returns the amount of money needed to buy the tier specified
%tier_price_xp% Returns the amount of XP needed to buy the tier specified
%tier_price_level% Returns the island level required to buy the tier specified
%tier_supported_mode% Returns the supported generator mode if specified

PlaceholderAPI placeholders

The PlaceholderAPI can be used by all plugins that support PlaceholderAPI and can also be used in the lang.yml file and in tier descriptions.

Placeholder Result
%customcobblegen_selected_tier_level% Returns the currently selected tier level
%customcobblegen_selected_tier_name% Returns the currently selected tier name
%customcobblegen_selected_tier_class% Returns the currently selected tier class
%customcobblegen_selected_tier_price_money% Returns the amount of money needed to buy the tier
%customcobblegen_selected_tier_price_xp% Returns the amount of XP needed to buy the tier
%customcobblegen_selected_tier_price_level% Returns the island level required to buy the tier
%customcobblegen_selected_tier_price_items% Returns the items needed to buy the tier
%customcobblegen_selected_tier_supported_mode% Returns the supported generator mode if specified
%customcobblegen_is_tier_<CLASS>_<LEVEL>_purchased% Returns the supported generator mode if specified

Full list of placeholders that can be used with PlaceholderAPI is here: https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders

Clone this wiki locally