%player:dimension% Placeholder

%player:dimension% Placeholder

Mod

Adds placeholders that return the (mod that adds the) dimension a player is in

Server Utility

188 downloads
3 followers
Follow Save
%player:dimension% Placeholder has been archived. %player:dimension% Placeholder will not receive any further updates unless the author decides to unarchive the project.
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

%player:dimension% Placeholder

This mod will no longer be updated because I just noticed TextPlaceholderAPI already does this. :(

Adds placeholders that return the (mod that adds the) dimension a player is in.
To be used with mods that implement Placeholders API.

Placeholders:

  • %player:dimension% - returns the dimension a player is in
  • %player:dimension_mod% - returns the name of the "mod" that adds the dimension a player is in
  • %player:dimension_raw% - returns dimension path
  • %player:dimension_mod_raw% - returns dimension namespace

Examples:

Minecraft's "The Nether":

  • dimension = The Nether
  • dimension_mod = Minecraft
  • dimension_raw = the_nether
  • dimension_mod_raw = minecraft

Ad Astra's "Moon"

  • dimension = Moon
  • dimension_mod = Ad Astra
  • dimension_raw = moon
  • dimension_mod_raw = ad_astra

etc.

Planned features:

  • Configurable colors for dimensions (green for overworld, red for the_nether, purple for the_end, ...)

Original inspiration + most of the "makeTitleCase" code: https://modrinth.com/mod/dimension-viewer


Project members

unilock

Owner

Details

Licensed MIT
Published a year ago
Updated a year ago