From 892afb8e65dcc665b14fa8d1022e95c2182f0754 Mon Sep 17 00:00:00 2001 From: Florian CUNY Date: Sun, 7 Apr 2019 11:51:15 +0200 Subject: [PATCH] Updated Placeholders (markdown) --- Placeholders.md | 70 ++++++++++++++++++++++++------------------------- 1 file changed, 34 insertions(+), 36 deletions(-) diff --git a/Placeholders.md b/Placeholders.md index 929c9d5..a72f761 100644 --- a/Placeholders.md +++ b/Placeholders.md @@ -1,40 +1,38 @@ -

BentoBox default PlaceHolders


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PlaceholderDescription
bentobox_[gamemode]-world-friendlynameReturns GameMode Addon world friendly name from settings.
bentobox_[gamemode]-island-distanceReturns GameMode Addon distance between islands from settings.
bentobox_[gamemode]-island-protection-rangeReturns GameMode Addon island protection range from settings.
bentobox_[gamemode]-island-ownerReturns island owner name.
bentobox_[gamemode]-island-creation-dateReturns island preformated creation date.
bentobox_[gamemode]-island-spawnpointReturns island spawn point coordinates (x, y, z).
bentobox_[gamemode]-island-nameReturns island name.
+In order to use the placeholders below, you must install **PlaceholderAPI** on your server first! -

Addon PlaceHolders


+## 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
Addon