added an entry for NumberFormatter

This commit is contained in:
vk2gpz 2023-01-07 12:10:59 +11:00 committed by GitHub
parent 95bfc5c8cf
commit 2dfcd03423
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 1 deletions

View File

@ -66,7 +66,7 @@ If the command itself isn't there and `NO DOWNLOAD COMMAND` instead is shown, th
- **[MySQLTokens](#mysqltokens)**
- ### **N**
- *No Expansions*
- **[NumberFormatter](#numberformatter)**
- ### **O**
- **[OtherPlayer](#otherplayer)**
@ -815,6 +815,25 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can
----
- ### **NumberFormatter**
> /papi ecloud download NumberFormatter
More info about this expansion can be found on the [PAPI-NumberFormatter](https://polymart.org/resource/3316)).
For instance:
if %tokenenchant_token_long% returns 43535709321
%nf_4X_tokenenchant_token_long% will return 43B,
%nf_#,##0.#_tokenenchant_token_long% will return 43,535,709,321.
`[]` is optional and `<>` is required.
```
%nf_<format>_<other_placeholder>% # Converts a number produced by %other_placeholder% to a number using the specified format.
```
----
- ### **OtherPlayer**
> /papi ecloud download OtherPlayer