diff --git a/Community-Scripts.md b/Community-Scripts.md index f3a62fd..8c2880e 100644 --- a/Community-Scripts.md +++ b/Community-Scripts.md @@ -32,7 +32,7 @@ The JavaScript Expansion for PlaceholderAPI allows for expansions that wouldn't * [**Health Bar**](#health-bar) * [**Player Exp Points**](#player-exp-points) * [**Number of Players in Group of Worlds**](#number-of-players-in-group-of-worlds) -* [**Suffix Format**](#suffix-format) +* [**Number Suffix**](#number-suffix) *** ### Random Integer Between @@ -1164,13 +1164,13 @@ number_in_group_of_worlds: *** -### Suffix Format +### Number Suffix * **Author:** cj89898 * **Description:** Formats numbers to a shortened version with a suffix. Suffixes and Decimals can both be customized. -* **Usage:** `%javascript_suffixFormat_%` - Can use placeholders surrounded by `{}` -* **Example:** `%javascript_suffixFormat_{vault_eco_balance}%` could return `1.89S` +* **Usage:** `%javascript_numberSuffix_%` - Can use placeholders surrounded by `{}` +* **Example:** `%javascript_numberSuffix_{vault_eco_balance}%` could return `1.89S` -**Save as** `suffixFormat.js` +**Save as** `numberSuffix.js` ```javascript @@ -1196,6 +1196,6 @@ formatNum(num); **Add to** `javascript_placeholders.yml` ```yaml -suffix_format: - file: suffixFormat.js +numberSuffix: + file: numberSuffix.js ``` \ No newline at end of file