Skip to content

Commit fef2502

Browse files
committed
Added player placeholders for plugins e.g. in rewards.yml used
1 parent 82cb32e commit fef2502

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

docs/minigame/placeholders.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ UPPERCASE WORDS needs to be replaced by your own!
5858

5959
| Placeholder | PlaceholderAPI | Description | Type |
6060
|----------------------------------|-------------------------------------------------|-----------------------------------------------------------------------------------------------------------------|--------|
61+
| `%player%` | `internal` | Get the player name it gets executed | GLOBAL/REWARDS |
62+
| `%player_uuid%` | `internal` | Get the player uuid it gets executed | GLOBAL/REWARDS |
6163
| `%arena_players_online%` | `%PLUGININDICATOR_arena_ARENAID_players_online%` | Get all players online | GLOBAL |
6264
| `%user_statistic_STATISTICTYPE%` | `%PLUGININDICATOR_user_statistic_STATISTICTYPE%` | Get statistic of the "executed" player | GLOBAL |
6365
| `%user_kit%` | `%PLUGININDICATOR_user_kit%` | Get kit of the "executed" player | GLOBAL |

docs/minigame/support/faq.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ There you can add for example the following command:
122122

123123
Be sure to use commands that your plugin supports!
124124

125-
[Learn more about the Rewards.yml here](files)
125+
[Learn more about the Rewards.yml here](../support/files#rewardsyml)
126126

127127
:::note
128128
If your scoreboard plugin doesn't support a command to activate the scoreboard please contact the dev of the plugin to add this command!

docs/minigame/support/plugin-files-explained.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ Here you can set up MySQL plugin configuration. You need to enable MySQL first i
168168
Here you can set up rewards that your players can get after specific triggers.
169169
Commands are executed by default BY CONSOLE, use "p:" to preform command by player.
170170
You can also use chance to execute command adding "chance(NUMBER):" (ex chance(10):) at the beginning of command.
171+
[Learn more about the Placeholders you can use at rewards.yml](../placeholders)
171172

172173
<Tabs groupId="minigame" defaultValue="villagedefense" queryString
173174
values={[

0 commit comments

Comments
 (0)