Placeholders

Common Placeholders

If you want to use with PlaceholderAPI in other plugins, simply replace %np_ with %nameplates_. (e.g. %nameplates_offset_30%)

If this is a nested placeholder and contains relational placeholders, add %rel_ before the placeholder. (e.g. %rel_np_conditional_friend%)

If this placeholder is shared by all players, you can add %shared_ before the placeholder to improve performance (e.g. %shared_customcrops_season_world%)

placeholder
value

%player_name%

player name

%player_x%

x coordinate

%player_y%

y coordinate

%player_z%

z coordinate

%player_world%

world name

%player_remaining_air%

the remaining oxygen

%np_offset_[-256~256]%

generate offset characters

%np_tag-image%

nameplate image

%np_tag-text%

nameplate text

%np_tag%

full nameplate tag

%np_equipped_nameplate%

id of the equipped nameplate

%np_equipped_nameplate-name%

display name of the equipped nameplate

%np_equipped_bubble%

id of the equipped bubble

%np_equipped_bubble-name%

display name of the equipped bubble

%np_is-latest%

check if the plugin is the latest

%np_gradient_[1~20]%

generate gradient offset numbers based on speed (1~20)

%np_time_12%

time in 12-hour format

%np_time_24%

time in 24-hour format

%np_biome%

id of the biome

%np_actionbar%

actionbar message from other plugins or commands

%np_image_[id]%

the image registered in CustomNameplates

%np_img_[id]%

the raw image character

%np_is_showing%

gets whether the player has used the toggle command to display the tag (true/false)

%np_is_previewing%

gets whether the player is previewing the tag (true/false)

%np_conditional_[id]%

%np_background_[id]%

%np_nameplate_[id]%

%np_bubble_[id]%

%np_switch_[id]%

%np_vanilla_[id]%

%np_static_[id]%

%np_shift_[id]%

Extra Placeholders

Extra placeholders are additional variables provided by the plugin. These variables are currently only available after the PlaceholderAPI is installed, which provides some useful variables.

placeholder
value

%npex_offset_[number]%

generate offset characters

%npex_lunarphase_[world]%

gets the lunar phase in the specified world

%npex_lunarphase%

gets the lunar phase in the world player in

%npex_weather_[world]%

gets the weather in the specified world

%npex_weather%

gets the weather in the world player in

%npex_time12_[world]%

time in 12-hour format

%npex_time12%

time in 12-hour format

%npex_time24_[world]%

time in 24-hour format

%npex_time24%

time in 24-hour format

%npex_background_[left-margin]_[right-margin]_[width]%

generates a background based on the given parameters

%npex_newline%

returns \n

Last updated