From 61afb24d33f1d830dabddae1a18bd9a40e72ccfc Mon Sep 17 00:00:00 2001 From: Harieo Date: Tue, 29 Dec 2020 16:42:32 +0000 Subject: [PATCH 1/4] Added the Seasons plugin as a plugin using PlaceholderAPI --- wiki/Placeholders.md | 18 ++++++++++++++++++ wiki/Plugins-using-PlaceholderAPI.md | 3 +++ 2 files changed, 21 insertions(+) diff --git a/wiki/Placeholders.md b/wiki/Placeholders.md index f6c71f5..aec13e5 100644 --- a/wiki/Placeholders.md +++ b/wiki/Placeholders.md @@ -247,6 +247,7 @@ If the command itself isn't there and `NO DOWNLOAD COMMAND` instead is shown, th - **[RPGInventory](#rpginventory)** ## **S** +- **[Seasons](#seasons)** - **[SellAll](#sellall)** - **[SignLink](#signlink)** - **[SimpleClans](#simpleclans)** @@ -3565,6 +3566,23 @@ You can find an up-to-date list of the placeholders in [their wiki](https://gith ``` ---- +- ### **[Seasons](https://www.spigotmc.org/resources/39298/)** +> NO DOWNLOAD COMMAND + +``` +%seasons_season% +%seasons_season_[world]% +%seasons_weather% +%seasons_weather_[world]% +%seasons_day% +%seasons_day_[world]% +``` +Replace `[world]` with the name of a loaded world. +*Placeholders ending in a `[world]` will retrieve information from the specified world +instead of the player's current world.* + +---- + - ### **[SellAll](https://www.spigotmc.org/resources/1221/)** > NO DOWNLOAD COMMAND diff --git a/wiki/Plugins-using-PlaceholderAPI.md b/wiki/Plugins-using-PlaceholderAPI.md index 6e5d2ce..65983d7 100644 --- a/wiki/Plugins-using-PlaceholderAPI.md +++ b/wiki/Plugins-using-PlaceholderAPI.md @@ -747,6 +747,9 @@ If your plugin isn't shown here and you want it to be added, [open an issue](/Pl - **[Skellett (Skript Add-on)](https://forums.skunity.com/resources/24/)** - [x] Supports placeholders. - [ ] Provides own placeholders. [Link] +- **[Seasons](https://www.spigotmc.org/resources/39298/)** + - [ ] Supports placeholders. + - [x] Provides own placeholders. [**[Link|Placeholders#seasons]**] - **[SellAll](https://www.spigotmc.org/resources/1221/)** - [ ] Supports placeholders. - [x] Provides own placeholders. [**[[Link|Placeholders#sellall]]**] From 3d44f8ffdc6f7eda7cf1aa0bd9b277cc68574d78 Mon Sep 17 00:00:00 2001 From: Harieo Date: Tue, 29 Dec 2020 16:48:29 +0000 Subject: [PATCH 2/4] Changed wiki.yml workflow to generate personal Wiki page --- .github/workflows/wiki.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/wiki.yml b/.github/workflows/wiki.yml index 02864b8..13e4509 100644 --- a/.github/workflows/wiki.yml +++ b/.github/workflows/wiki.yml @@ -39,7 +39,7 @@ jobs: # We (sadly) have to use a PAT (Personal Access Token) for this action. # GH_PAT: '${{ secrets.WORKFLOWPAT }}' - OWNER: 'PlaceholderAPI' + OWNER: 'Harieo' REPO_NAME: 'PlaceholderAPI' # # We only want to target files in the wiki folder From 29446c08b6ce78a622c2fe4d31ee87e4b8e0b040 Mon Sep 17 00:00:00 2001 From: Harieo Date: Tue, 29 Dec 2020 16:51:36 +0000 Subject: [PATCH 3/4] Reverted previous commit --- .github/workflows/wiki.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/wiki.yml b/.github/workflows/wiki.yml index 13e4509..02864b8 100644 --- a/.github/workflows/wiki.yml +++ b/.github/workflows/wiki.yml @@ -39,7 +39,7 @@ jobs: # We (sadly) have to use a PAT (Personal Access Token) for this action. # GH_PAT: '${{ secrets.WORKFLOWPAT }}' - OWNER: 'Harieo' + OWNER: 'PlaceholderAPI' REPO_NAME: 'PlaceholderAPI' # # We only want to target files in the wiki folder From f398854c68981bd7352d0b6f23bc8d812e390907 Mon Sep 17 00:00:00 2001 From: Harieo Date: Tue, 29 Dec 2020 16:57:12 +0000 Subject: [PATCH 4/4] Added extra square brackets to match other links in Plugins-using-PlaceholderAPI.md --- wiki/Plugins-using-PlaceholderAPI.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wiki/Plugins-using-PlaceholderAPI.md b/wiki/Plugins-using-PlaceholderAPI.md index 65983d7..72fb4d1 100644 --- a/wiki/Plugins-using-PlaceholderAPI.md +++ b/wiki/Plugins-using-PlaceholderAPI.md @@ -749,7 +749,7 @@ If your plugin isn't shown here and you want it to be added, [open an issue](/Pl - [ ] Provides own placeholders. [Link] - **[Seasons](https://www.spigotmc.org/resources/39298/)** - [ ] Supports placeholders. - - [x] Provides own placeholders. [**[Link|Placeholders#seasons]**] + - [x] Provides own placeholders. [**[[Link|Placeholders#seasons]]**] - **[SellAll](https://www.spigotmc.org/resources/1221/)** - [ ] Supports placeholders. - [x] Provides own placeholders. [**[[Link|Placeholders#sellall]]**]