updated template and updated for upcoming 1.9.0

Florian CUNY 2019-11-23 15:14:19 +01:00
parent 7b2879b13f
commit ce5300b48b
1 changed files with 25 additions and 25 deletions

@ -1,33 +1,33 @@
# Introduction
#### Level Placeholder
%Level_[gamemode]-island-level% - the player's level
Please read the [Placeholders page on BentoBox's Wiki](https://github.com/BentoBoxWorld/BentoBox/wiki/Placeholders).
#### Top Ten Placeholders
%Level_[gamemode]-island-level-top-value-x% where x is a number between 1 and 10
%Level_[gamemode]-island-level-top-name-x% where x is a number between 1 and 10
# Placeholders
If the top ten is less than 10 players then the placeholder will return an empty string.
## Generic placeholders
Notice: if using EssentialsChat replace % with {}
Example: {Level_[gamemode]-island-level}
These placeholders are available in all currently available gamemodes ([BSkyBlock](https://github.com/BentoBoxWorld/BSkyBlock/wiki/Placeholders), [AcidIsland](https://github.com/BentoBoxWorld/AcidIsland/wiki/Placeholders), [CaveBlock](https://github.com/BentoBoxWorld/CaveBlock/wiki/Placeholders), [SkyGrid](https://github.com/BentoBoxWorld/SkyGrid/wiki/Placeholders)).
#### Currently there are 3 GameModes:
- bskyblock
- acidisland
- caveblock
**List of available placeholders as of Level 1.9.0.**
### Example:
| Placeholder | Description | Level Version |
|-------------------------------------------------------|--------------------------------------------------------------------------------|-----------|
| `%Level_[gamemode]_island_level%` | Island level of the player's island | 1.9.0 |
| `%Level_[gamemode]_visited_island_level%` | Island level of the island the player is standing on | 1.9.0 |
| `%Level_[gamemode]_top_value_#RANK#%` | Island level of the `#RANK#`-th island in the Top 10 | 1.9.0 |
| `%Level_[gamemode]_top_name_#RANK#%` | Island owner's name of the `#RANK#`-th island in the Top 10 | 1.9.0 |
Getting Top 10 players in BSkyBlock:
1. `%Level_bskyblock-island-level-top-name-10% with island level: %Level_bskyblock-island-level-top-value-10% `
2. `%Level_bskyblock-island-level-top-name-9% with island level: %Level_bskyblock-island-level-top-value-9% `
3. `%Level_bskyblock-island-level-top-name-8% with island level: %Level_bskyblock-island-level-top-value-8% `
4. `%Level_bskyblock-island-level-top-name-7% with island level: %Level_bskyblock-island-level-top-value-7% `
5. `%Level_bskyblock-island-level-top-name-6% with island level: %Level_bskyblock-island-level-top-value-6% `
6. `%Level_bskyblock-island-level-top-name-5% with island level: %Level_bskyblock-island-level-top-value-5% `
7. `%Level_bskyblock-island-level-top-name-4% with island level: %Level_bskyblock-island-level-top-value-4% `
8. `%Level_bskyblock-island-level-top-name-3% with island level: %Level_bskyblock-island-level-top-value-3% `
9. `%Level_bskyblock-island-level-top-name-2% with island level: %Level_bskyblock-island-level-top-value-2% `
10. `%Level_bskyblock-island-level-top-name-1% with island level: %Level_bskyblock-island-level-top-value-1%`
*Note*: `#RANK#` is a number between 1 and 10.
Source: https://github.com/BentoBoxWorld/BentoBox/issues/322#issuecomment-460144445
## Usage examples
### Displaying Top 10 in BSkyBlock
1. `%Level_bskyblock_top_name_10% with island level: %Level_bskyblock_top_value_10%`
2. `%Level_bskyblock_top_name_9% with island level: %Level_bskyblock_top_value_9%`
3. `%Level_bskyblock_top_name_8% with island level: %Level_bskyblock_top_value_8%`
4. `%Level_bskyblock_top_name_7% with island level: %Level_bskyblock_top_value_7%`
5. `%Level_bskyblock_top_name_6% with island level: %Level_bskyblock_top_value_6%`
6. `%Level_bskyblock_top_name_5% with island level: %Level_bskyblock_top_value_5%`
7. `%Level_bskyblock_top_name_4% with island level: %Level_bskyblock_top_value_4%`
8. `%Level_bskyblock_top_name_3% with island level: %Level_bskyblock_top_value_3%`
9. `%Level_bskyblock_top_name_2% with island level: %Level_bskyblock_top_value_2%`
10. `%Level_bskyblock_top_name_1% with island level: %Level_bskyblock_top_value_1%`