PAPI
/
Jump to navigation
Jump to search
Bergerkiller (talk | contribs) No edit summary |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
== Introduction == | == Introduction == | ||
Like Multiverse, MyWorlds provides placeholders using [https://www.spigotmc.org/resources/placeholderapi.6245/ PlaceholderAPI] to use in messages sent to players. This way you can automatically display information about the world a player is on in the chat, or on signs using [https://www.spigotmc.org/resources/signlink.39593/ SignLink]. | Like Multiverse, MyWorlds provides placeholders using [https://www.spigotmc.org/resources/placeholderapi.6245/ PlaceholderAPI] to use in messages sent to players. This way you can automatically display information about the world a player is on in the chat, or on signs using [https://www.spigotmc.org/resources/signlink.39593/ SignLink]. | ||
Line 30: | Line 28: | ||
| %myworlds_world_weather_forecast% || clear || Future weather state after the duration. Can be configured in Localization.yml | | %myworlds_world_weather_forecast% || clear || Future weather state after the duration. Can be configured in Localization.yml | ||
|} | |} | ||
=== Specify World === | |||
Instead of using the world the player is in, the world to display the information of can be specified between [ and ] characters after the placeholder name. For example: | |||
<code>%myworlds_world_weather[creative_flat]%</code> |
Latest revision as of 09:41, 12 October 2025
Introduction
Like Multiverse, MyWorlds provides placeholders using PlaceholderAPI to use in messages sent to players. This way you can automatically display information about the world a player is on in the chat, or on signs using SignLink.
Placeholders
Placeholder | Example Value | Description |
---|---|---|
%myworlds_world_name% | world_nether | Exact world name |
%myworlds_world_alias% | The Nether | Alias of the world name, set using /world alias |
%myworlds_world_environment% | The End | World environment name. Can be configured in Localization.yml |
%myworlds_world_type% | Flat Overworld | Same as world_environment, but has extra names for flat worlds |
%myworlds_world_time% | 16:00 (4:00 PM) | Current time of the world |
%myworlds_world_difficulty% | hard | Difficulty set for the world |
%myworlds_world_gamemode% | survival | Game mode configured for the world |
%myworlds_world_weather% | raining | Current weather state. Can be configured in Localization.yml |
%myworlds_world_weather_duration% | 2 hours, 7 minutes | Time until weather will change. Can be configured in Localization.yml |
%myworlds_world_weather_forecast% | clear | Future weather state after the duration. Can be configured in Localization.yml |
Specify World
Instead of using the world the player is in, the world to display the information of can be specified between [ and ] characters after the placeholder name. For example:
%myworlds_world_weather[creative_flat]%