Viewing Formatter

v1.9.0

Formatter

by andre_601


How to install the Formatter expansion:

As this is a verified expansion you have two possible ways of installation.

In-game: You can run these commands to download and install:

/papi ecloud download Formatter

/papi reload

Manual: Simply click the green download button to download the expansion, then copy the expansion to the /plugins/PlaceholderAPI/expansions/ folder.

Then run the /papi reload command.


Description

This expansion allows you to format text and numbers in various ways. Currently supported TEXT options: - Turn it Uppercase - Turn it Lowercase - Get Substring of it - Replace specific characters with another one Currently supported NUMBER options: - Format it (E.g. 1000 -> 1,000) - Turn it into a duration (e.g. 70 seconds -> 1d 10s) Check the GitHub Repository for a full list of features. THIS EXPANSION ONYL SUPPORTS JAVA 11 AND NEWER!

Placeholders

%formatter_number_format_<number>% %formatter_number_format_[locale]:[format]_<number>% %formatter_number_time_<number>% %formatter_number_time_seconds_<number> %formatter_number_time_secs_<number>% %formatter_number_time_minutes_<number>% %formatter_number_time_mins_<number>% %formatter_number_time_hours_<number>% %formatter_number_time_hrs_<number>% %formatter_text_substring_[start]:[end]_<text>% %formatter_text_uppercase_<text>% %formatter_text_lowercase_<text>% %formatter_join_<target>_<separator>_<text>% %formatter_replace_<target>_<replacement>_<text>%

View the full list of Placeholders here.

Version 1.9.0 Release Notes

- Added `%formatter_num_round_<number>%` placeholder to round a number - Use `%formatter_num_round_[precision]:[mode]_<number>%` for optional precision and rounding behaviour. More info: https://github.com/Andre601/Formatter-Expansion#rounding--round

Copyright © 2021 PlaceholderAPI All Rights Reserved.