PlaceholderAPI

List of all plugin's placeholders

circle-info

All text between the less-than and greater-than signs (<>) is a placeholder/variable, replace it with the requested value without the less-than and greater-than signs (<>).

What's PlaceholderAPI?

PlaceholderAPIarrow-up-right is a famous plugin that allows plugins to communicate via placeholders, every plugin that supports it can have placeholders from other plugins that have it, also it has a built-in system to download placeholders from a platform called eCloudarrow-up-right that have thousands of placeholder expansions that can be used on your server.

Placeholders

zHomes plugin provides PlaceholderAPI arrow-up-rightplaceholders that you can be used in any plugin that supports PlaceholderAPIarrow-up-right.

The expansion is inside the plugin itself, meaning that you don't have to download it from eCloudarrow-up-right, as long as you have PlaceholderAPI installed, the placeholder expansion will be there.

Placeholder
Description
Output Example

%zhomes_version%

Returns the current version of zhomes

1.0.0

%zhomes_hashome_<home>%

Check if the player has a home with name home

True | False

%zhomes_set% or %zhomes_numberofhomes%

Number of homes a player have

10

%zhomes_homes%

All homes a player have

home1, home2, home3

%zhomes_limit% or %zhomes_max%

The limit of homes a player can have (Configured in config.yml)

15

%zhomes_numberofhomes/limit% or %zhomes_set/max%

Same thing to "%zhomes_numberofhomes%/%zhomes_limit%", but return "Disabled" is limit is not enabled on the plugin

10/15 | Disabled

%zhomes_home_<number>%

Returns the name of the home <number> of the player (So if he has 3 homes "a", "b" & "c"), %zhomes_home_1% would return "a" and so on

home1 | home2

%zhomes_home_<number>_world_%

Returns the world name of the home <number>

world_the_end

%zhomes_home_<number>_<x|y|z|pitch|yaw>%

Returns the parsed coordinate of the home <number>

No example

%zhomes_home_<number>_<x|y|z|pitch|yaw>_full%

Returns the full parsed coordinate (All the decimals) of the home <number>

No example

%zhomes_home_<number>_<x|y|z|pitch|yaw>_<decimals>%

Returns the parsed coordinate of the home <number> with the number of decimals in <decimals>

No example

circle-info

Even if you don't have PlaceholderAPI installed, all of these placeholders will still work inside the plugin & it's configuration files

Last updated

Was this helpful?