
%player:dimension% Placeholder
This mod will no longer receive updates as I discovered that TextPlaceholderAPI already provides this functionality.
This modification introduces a set of placeholders that display information about the player's current dimension, including data about the mod that added this dimension to the game. It requires mods that support the Placeholders API to function.
Available Placeholders
%player:dimension%
— displays the name of the dimension where the player is located%player:dimension_mod%
— shows the name of the mod that added the current dimension%player:dimension_raw%
— returns the dimension path in technical format%player:dimension_mod_raw%
— displays the dimension namespace
Usage Examples
For Minecraft's "The Nether":
dimension
=The Nether
dimension_mod
=Minecraft
dimension_raw
=the_nether
dimension_mod_raw
=minecraft
For Ad Astra's "Moon":
dimension
=Moon
dimension_mod
=Ad Astra
dimension_raw
=moon
dimension_mod_raw
=ad_astra
And so on for other dimensions.
System Features
The mod is perfectly suited for integration with chat plugins, information displays, and other systems that use placeholders to show information about player locations in multi-dimensional servers. The name conversion code is based on solutions used in the Dimension Viewer mod.