mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-25 20:25:16 +01:00
Updated Placeholders (markdown)
parent
0fbd6bce90
commit
892afb8e65
@ -1,40 +1,38 @@
|
|||||||
<h2><b>BentoBox</b> default PlaceHolders</h2><br>
|
In order to use the placeholders below, you must install **PlaceholderAPI** on your server first!
|
||||||
<table align='center'>
|
|
||||||
<tr>
|
|
||||||
<td align='left'><b>Placeholder</b></td>
|
|
||||||
<td align='left'><b>Description</b></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td align='left' nowrap=nowrap>bentobox_[gamemode]-world-friendlyname</td>
|
|
||||||
<td align='left' nowrap=nowrap>Returns GameMode Addon world friendly name from settings.</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td align='left' nowrap=nowrap>bentobox_[gamemode]-island-distance</td>
|
|
||||||
<td align='left' nowrap=nowrap>Returns GameMode Addon distance between islands from settings.</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td align='left' nowrap=nowrap>bentobox_[gamemode]-island-protection-range</td>
|
|
||||||
<td align='left' nowrap=nowrap>Returns GameMode Addon island protection range from settings.</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td align='left' nowrap=nowrap>bentobox_[gamemode]-island-owner</td>
|
|
||||||
<td align='left' nowrap=nowrap>Returns island owner name.</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td align='left' nowrap=nowrap>bentobox_[gamemode]-island-creation-date</td>
|
|
||||||
<td align='left' nowrap=nowrap>Returns island preformated creation date.</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td align='left' nowrap=nowrap>bentobox_[gamemode]-island-spawnpoint</td>
|
|
||||||
<td align='left' nowrap=nowrap>Returns island spawn point coordinates (x, y, z).</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td align='left' nowrap=nowrap>bentobox_[gamemode]-island-name</td>
|
|
||||||
<td align='left' nowrap=nowrap>Returns island name.</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<h2><b>Addon</b> PlaceHolders</h2><br>
|
## Default placeholders for gamemode addons
|
||||||
|
Each GameMode addon has some default placeholders that get automatically registered to them as of [BentoBox 1.4.0](https://github.com/BentoBoxWorld/BentoBox/releases/tag/1.4.0).
|
||||||
|
|
||||||
|
### 1.4.0
|
||||||
|
| Placeholder | Description |
|
||||||
|
|-----------------------------------------------|--------------------------------------------------|
|
||||||
|
| %bentobox_[gamemode]-world-friendlyname% | Name of the gamemode's world |
|
||||||
|
| %bentobox_[gamemode]-island-distance% | Distance between islands of the gamemode's world |
|
||||||
|
| %bentobox_[gamemode]-island-protection-range% | Size of the island's protection range |
|
||||||
|
| %bentobox_[gamemode]-island-owner% | Name of the island's owner |
|
||||||
|
| %bentobox_[gamemode]-island-creation-date% | Creation date of the island |
|
||||||
|
| %bentobox_[gamemode]-island-spawnpoint% | Coordinates of the island's spawnpoint (?) |
|
||||||
|
| %bentobox_[gamemode]-island-name% | Name of the island |
|
||||||
|
|
||||||
|
### 1.5.0 and above
|
||||||
|
As of 1.5.0, changes were made (and some placeholders added) to ensure a more fluent and convenient usage of these placeholders.
|
||||||
|
|
||||||
|
| Placeholder | Description | Version |
|
||||||
|
|--------------------------------------|--------------------------------------------------|---------|
|
||||||
|
| %[gamemode]_world_friendly_name% | Name of the gamemode's world | 1.4.0 |
|
||||||
|
| %[gamemode]_island_distance% | Distance between islands of the gamemode's world | 1.4.0 |
|
||||||
|
| %[gamemode]_island_protection_range% | Size of the island's protection range | 1.4.0 |
|
||||||
|
| %[gamemode]_island_owner% | Name of the island's owner | 1.4.0 |
|
||||||
|
| %[gamemode]_island_creation_date% | Creation date of the island | 1.4.0 |
|
||||||
|
| %[gamemode]_island_spawnpoint% | Coordinates of the island's spawnpoint (?) | 1.4.0 |
|
||||||
|
| %[gamemode]_island_name% | Name of the island | 1.4.0 |
|
||||||
|
| %[gamemode]_island_center% | Coordinates of the island's center | 1.5.0 |
|
||||||
|
| %[gamemode]_island_center_x% | X coordinate of the island's center | 1.5.0 |
|
||||||
|
| %[gamemode]_island_center_y% | Y coordinate of the island's center | 1.5.0 |
|
||||||
|
| %[gamemode]_island_center_z% | Z coordinate of the island's center | 1.5.0 |
|
||||||
|
| %[gamemode]_has_island% | Whether the player has an island or not | 1.5.0 |
|
||||||
|
|
||||||
|
## Addons placeholders
|
||||||
<table align='center'>
|
<table align='center'>
|
||||||
<tr>
|
<tr>
|
||||||
<td align='left'><b>Addon</b></td>
|
<td align='left'><b>Addon</b></td>
|
||||||
|
Loading…
Reference in New Issue
Block a user