mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI.git
synced 2025-01-25 09:41:46 +01:00
added an entry for NumberFormatter
This commit is contained in:
parent
95bfc5c8cf
commit
2dfcd03423
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user