From c2ae3670900b106f41b161a0c67f27aa978bcd77 Mon Sep 17 00:00:00 2001 From: Andre601 Date: Wed, 30 Apr 2025 23:45:46 +0200 Subject: [PATCH 1/2] [Wiki] Add Multiverse-Core v5 placeholders --- docs/users/placeholder-list.md | 42 ++++++++++++++++++++++++++++++++-- 1 file changed, 40 insertions(+), 2 deletions(-) diff --git a/docs/users/placeholder-list.md b/docs/users/placeholder-list.md index 049b7bd..7bb027f 100644 --- a/docs/users/placeholder-list.md +++ b/docs/users/placeholder-list.md @@ -4203,10 +4203,47 @@ Miscellaneous placeholders: ---- -### **[Multiverse-Core](https://www.spigotmc.org/resources/390/)** -/// command | papi ecloud download multiverse +### **[Multiverse-Core](https://modrinth.com/plugin/multiverse-core)** +/// tab | v5+ +//// integrated | Built into Plugin +//// + +//// warning | v5 only! +These placeholders only exist and work with Multiverse Core v5 and newer! +See the `pre-v5` Tab for the expansion used with Multiverse core v4 and older. +//// + +All placeholders allow a `_` to be added with `` being the name of a Multiverse-loaded World. + +``` +%multiverse-core_alias% +%multiverse-core_animalspawn% +%multiverse-core_autoheal% +%multiverse-core_blacklist% +%multiverse-core_currency% +%multiverse-core_difficulty% +%multiverse-core_entryfee% +%multiverse-core_environment% +%multiverse-core_flight% +%multiverse-core_gamemode% +%multiverse-core_generator% +%multiverse-core_hunger% +%multiverse-core_monstersspawn% +%multiverse-core_name% +%multiverse-core_playerlimit% +%multiverse-core_price% +%multiverse-core_pvp% +%multiverse-core_seed% +%multiverse-core_time% +%multiverse-core_type% +%multiverse-core_weather% +``` /// +/// tab | pre-v5 +//// command | papi ecloud download multiverse +//// + ``` %multiverse_world_alias% %multiverse_world_all_property_names% @@ -4235,6 +4272,7 @@ Miscellaneous placeholders: %multiverse_world_style% %multiverse_world_type% ``` +/// ---- From 9b2eb78024c2ee21bdce851c200986f39fbcefc8 Mon Sep 17 00:00:00 2001 From: Andre601 Date: Fri, 9 May 2025 16:26:18 +0200 Subject: [PATCH 2/2] Change tab id generation --- docs/users/placeholder-list.md | 11 +++++------ mkdocs.yml | 1 + 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/users/placeholder-list.md b/docs/users/placeholder-list.md index 7bb027f..cbae938 100644 --- a/docs/users/placeholder-list.md +++ b/docs/users/placeholder-list.md @@ -4204,16 +4204,15 @@ Miscellaneous placeholders: ---- ### **[Multiverse-Core](https://modrinth.com/plugin/multiverse-core)** -/// tab | v5+ +/// tab | Multiverse-Core v5 //// integrated | Built into Plugin //// -//// warning | v5 only! -These placeholders only exist and work with Multiverse Core v5 and newer! -See the `pre-v5` Tab for the expansion used with Multiverse core v4 and older. +//// warning | The below Placeholders are only for Multiverse-Core v5! //// -All placeholders allow a `_` to be added with `` being the name of a Multiverse-loaded World. +All placeholders allow a `_` to be added with `` being the name of a Multiverse-loaded World. +Example: `%multiverse-core_alias_myworld%` ``` %multiverse-core_alias% @@ -4240,7 +4239,7 @@ All placeholders allow a `_` to be added with `` being the name of ``` /// -/// tab | pre-v5 +/// tab | Multiverse-Core v4 //// command | papi ecloud download multiverse //// diff --git a/mkdocs.yml b/mkdocs.yml index ca81d41..88dd9d5 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -133,4 +133,5 @@ markdown_extensions: - pymdownx.blocks.details - pymdownx.blocks.tab: alternate_style: true + slugify: !!python/object/apply:pymdownx.slugs.slugify {kwds: {case: lower}} - pymdownx.tasklist