Skip to content

Commit 6db60d1

Browse files
CopilotNonSwag
andcommitted
Address feedback comments for ServiceIO placeholders documentation
Co-authored-by: NonSwag <[email protected]>
1 parent fb36155 commit 6db60d1

File tree

1 file changed

+10
-18
lines changed

1 file changed

+10
-18
lines changed

content/docs/serviceio/placeholders.mdx

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ description: PlaceholderAPI integration for ServiceIO
44
icon: Variable
55
---
66

7-
import { Callout } from "fumadocs-ui/components/callout"
7+
88

99
<Callout title="Requirements">
10-
ServiceIO v2.3.1+ and [PlaceholderAPI](https://github.com/PlaceholderAPI/PlaceholderAPI) are required for placeholder support.
10+
ServiceIO v2.3.0+ and [PlaceholderAPI](https://github.com/PlaceholderAPI/PlaceholderAPI) are required for placeholder support.
1111
</Callout>
1212

1313
ServiceIO provides PlaceholderAPI integration, allowing you to use ServiceIO data in other plugins that support placeholders.
@@ -32,7 +32,7 @@ All ServiceIO placeholders follow the format:
3232
- `%serviceio_balance_formatted%` - Player's current balance (formatted with currency)
3333
- `%serviceio_balance_formatted_<world>%` - Player's balance in a specific world (formatted with currency)
3434

35-
<Callout title="Economy Placeholders">
35+
<Callout type="info" title="Economy Placeholders">
3636
Economy placeholders require an economy service provider to be installed and configured with ServiceIO.
3737
</Callout>
3838

@@ -46,7 +46,7 @@ All ServiceIO placeholders follow the format:
4646
- `%serviceio_banks%` - List of all available banks (comma-separated)
4747
- `%serviceio_banks_<world>%` - List of banks available in a specific world (comma-separated)
4848

49-
<Callout title="Bank Placeholders">
49+
<Callout type="info" title="Bank Placeholders">
5050
Bank placeholders require an economy service provider with bank support to be installed and configured with ServiceIO.
5151
</Callout>
5252

@@ -56,7 +56,7 @@ All ServiceIO placeholders follow the format:
5656

5757
### VaultUnlocked Compatibility
5858

59-
ServiceIO also provides VaultUnlocked-compatible placeholders using the `%vaultunlocked_*%` format for advanced economy features:
59+
ServiceIO also provides VaultUnlocked-compatible placeholders using the `%vaultunlocked_*%` format for compatibility reasons:
6060

6161
- `%vaultunlocked_balance%` - Player's balance
6262
- `%vaultunlocked_balance_<world>%` - Balance in a specific world
@@ -65,7 +65,7 @@ ServiceIO also provides VaultUnlocked-compatible placeholders using the `%vaultu
6565
- `%vaultunlocked_accounts%` - List of accounts the player is a member of
6666
- `%vaultunlocked_accounts_count%` - Number of accounts the player belongs to
6767

68-
<Callout title="VaultUnlocked Placeholders">
68+
<Callout type="info" title="VaultUnlocked Placeholders">
6969
VaultUnlocked placeholders provide advanced multi-currency and account management features. See the [VaultUnlocked documentation](https://github.com/TheNewEconomy/VaultUnlocked) for the complete list of available placeholders.
7070
</Callout>
7171

@@ -105,23 +105,15 @@ bank-list: "Available banks: %serviceio_banks%"
105105
current-bank: "Your current bank: %serviceio_bank%"
106106
```
107107
108-
### In MOTD or Other Text
109-
```yaml
110-
# Welcome message with player data
111-
welcome-message: "Welcome %serviceio_displayname%! Your balance: %serviceio_balance_formatted%"
112-
113-
# Group-based welcome
114-
group-welcome: "Hello %serviceio_prefix%%player_name%! You belong to: %serviceio_groups%"
115-
```
116-
117108
## Troubleshooting
118109
119110
<Callout type="error" title="Placeholder Not Working?">
120111
Ensure that:
121-
1. ServiceIO v2.3.1+ is installed
112+
1. ServiceIO v2.3.0+ is installed
122113
2. PlaceholderAPI is installed and enabled
123-
3. The relevant service provider (economy, permissions) is installed and working
114+
3. The relevant service provider (economy, permissions...) is installed and working
124115
4. ServiceIO has successfully detected and registered the service provider
116+
5. There is no typo in the placeholder and it is properly used `%serviceio_<PLACEHOLDER>%`
125117
</Callout>
126118

127-
If a placeholder returns empty or default values, check your ServiceIO configuration and ensure the appropriate service providers are properly installed and configured.
119+
If a placeholder shows the literal placeholder text instead of the expected value, check your ServiceIO configuration and ensure the appropriate service providers are properly installed and configured.

0 commit comments

Comments
 (0)