mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2026-02-07 12:37:14 +01:00
Compare commits
1 Commits
feat/wiki-
...
feature/wi
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a9f87b074b |
53
.github/workflows/validate_site.yml
vendored
Normal file
53
.github/workflows/validate_site.yml
vendored
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
name: "Validate Wiki Build"
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request_target:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- reopened
|
||||||
|
- synchronize
|
||||||
|
paths-ignore:
|
||||||
|
- "README.md"
|
||||||
|
branches:
|
||||||
|
- wiki
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
issues: write
|
||||||
|
|
||||||
|
env:
|
||||||
|
RUN_URL: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_number }}"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
buildWiki:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: "Checkout Repository"
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
ref: "${{ github.event.pull_request.head.sha }}"
|
||||||
|
- name: "Setup Python 3.x"
|
||||||
|
uses: actions/setup-python@v6
|
||||||
|
with:
|
||||||
|
python-version: 3.x
|
||||||
|
- name: "Install dependencies"
|
||||||
|
run: "pip install -r requirements.txt"
|
||||||
|
- name: "Build Site"
|
||||||
|
run: "mkdocs build --strict"
|
||||||
|
commentOnFail:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ failure() }}
|
||||||
|
steps:
|
||||||
|
- name: "Create Comment"
|
||||||
|
uses: peter-evans/create-or-update-comment@v5
|
||||||
|
with:
|
||||||
|
body: |-
|
||||||
|
## Wiki Build failure
|
||||||
|
|
||||||
|
Something went wrong while creating a test-build of the Wiki for this Pull request.
|
||||||
|
Please check the [Workflow Logs](${{ env.RUN_URL }}) for any errors.
|
||||||
|
issue-number: "${{ github.event.pull_request.number }}"
|
||||||
|
token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
edit-mode: replace
|
||||||
@@ -19,7 +19,7 @@ Further details on how to contribute to this list or the wiki as a whole can be
|
|||||||
- **B**
|
- **B**
|
||||||
- *No Expansions*
|
- *No Expansions*
|
||||||
- **C**
|
- **C**
|
||||||
- **[ChangeOutput](#changeoutput)**
|
- *No Expansions*
|
||||||
- **D**
|
- **D**
|
||||||
- *No Expansions*
|
- *No Expansions*
|
||||||
- **E**
|
- **E**
|
||||||
@@ -79,13 +79,13 @@ Further details on how to contribute to this list or the wiki as a whole can be
|
|||||||
- **D**
|
- **D**
|
||||||
- *No Expansions*
|
- *No Expansions*
|
||||||
- **E**
|
- **E**
|
||||||
- **[EliteEssentials](#eliteessentials)**
|
- *No Expansions*
|
||||||
- **F**
|
- **F**
|
||||||
- *No Expansions*
|
- *No Expansions*
|
||||||
- **G**
|
- **G**
|
||||||
- *No Expansions*
|
- *No Expansions*
|
||||||
- **H**
|
- **H**
|
||||||
- **[HyFactions](#hyfactions)**
|
- *No Expansions*
|
||||||
- **I**
|
- **I**
|
||||||
- *No Expansions*
|
- *No Expansions*
|
||||||
- **J**
|
- **J**
|
||||||
@@ -130,38 +130,6 @@ Further details on how to contribute to this list or the wiki as a whole can be
|
|||||||
Expansions listed here don't need any plugin/mod or extra library to function properly, unless mentioned otherwise.
|
Expansions listed here don't need any plugin/mod or extra library to function properly, unless mentioned otherwise.
|
||||||
A majority of these Expansions are maintained by the PlaceholderAPI team and can be considered *official*.
|
A majority of these Expansions are maintained by the PlaceholderAPI team and can be considered *official*.
|
||||||
|
|
||||||
----
|
|
||||||
|
|
||||||
### **ChangeOutput**
|
|
||||||
/// command | papi ecloud download changeoutput
|
|
||||||
///
|
|
||||||
|
|
||||||
Allows you to change the output based on what other placeholders return.
|
|
||||||
|
|
||||||
More information can be found on the [GitHub Repository](https://github.com/PlaceholderAPI/Expansion-ChangeOutput/tree/hytale)
|
|
||||||
|
|
||||||
```
|
|
||||||
%changeoutput_<options>_input:<input>_matcher:<matcher>_ifmatch:<output-if-matched>_else:<output-if-not-matched>%
|
|
||||||
```
|
|
||||||
|
|
||||||
- `<options>`
|
|
||||||
- equals - match the input exactly
|
|
||||||
- ignorecase - match the input while ignoring cases
|
|
||||||
- ignorecolor - match the input while ignoring colour codes
|
|
||||||
- contains - check if the match contains input
|
|
||||||
- \>= - check if the input is larger than or equal to the matcher
|
|
||||||
- \> - check if the input is larger than the matcher
|
|
||||||
- <= - check if the input is less than or equal to the matcher
|
|
||||||
- < - check if the input is less than the matcher
|
|
||||||
- `<input>` - this is your text that you wish to replace
|
|
||||||
- `<match>` - this is the text we will be looking for to meet the conditions
|
|
||||||
- `<output-if-matched>` - if the input meets the condition, this text will be displayed
|
|
||||||
- `<output-if-not-matched>` - if the input does not meet the condition, this text will be displayed instead
|
|
||||||
|
|
||||||
*All arguments can be replaced with other placeholders, wrapped in* `{}`
|
|
||||||
|
|
||||||
----
|
|
||||||
|
|
||||||
### **Player**
|
### **Player**
|
||||||
/// command | papi ecloud download Player
|
/// command | papi ecloud download Player
|
||||||
///
|
///
|
||||||
@@ -285,113 +253,6 @@ Expansions listed here require the linked resource (plugin/mod) to work properly
|
|||||||
Most of the listed Expansions are NOT made and maintained by the PlaceholderAPI team.
|
Most of the listed Expansions are NOT made and maintained by the PlaceholderAPI team.
|
||||||
Please see ?510 for a list of all expansions officially maintained by the PlaceholderAPI team.
|
Please see ?510 for a list of all expansions officially maintained by the PlaceholderAPI team.
|
||||||
|
|
||||||
### **[EliteEssentials](https://www.curseforge.com/hytale/mods/eliteessentials)**
|
|
||||||
/// integrated | Built into Plugin
|
|
||||||
///
|
|
||||||
|
|
||||||
```
|
|
||||||
%eliteessentials_economy_enabled%
|
|
||||||
%eliteessentials_using_external_economy%
|
|
||||||
%eliteessentials_currency_name%
|
|
||||||
%eliteessentials_currency_name_plural%
|
|
||||||
%eliteessentials_currency_symbol%
|
|
||||||
%eliteessentials_balance%
|
|
||||||
%eliteessentials_god%
|
|
||||||
%eliteessentials_vanished%
|
|
||||||
%eliteessentials_homes_num%
|
|
||||||
%eliteessentials_homes_max%
|
|
||||||
%eliteessentials_homes_names%
|
|
||||||
%eliteessentials_all_kits_num%
|
|
||||||
%eliteessentials_all_kits_names%
|
|
||||||
%eliteessentials_allowed_kits_num%
|
|
||||||
%eliteessentials_allowed_kits_names%
|
|
||||||
%eliteessentials_all_warps_num%
|
|
||||||
%eliteessentials_all_warps_names%
|
|
||||||
%eliteessentials_allowed_warps_num%
|
|
||||||
%eliteessentials_allowed_warps_names%
|
|
||||||
%eliteessentials_home_<name>_name%
|
|
||||||
%eliteessentials_home_<name>_createdat%
|
|
||||||
%eliteessentials_home_<name>_coords%
|
|
||||||
%eliteessentials_home_<name>_x%
|
|
||||||
%eliteessentials_home_<name>_y%
|
|
||||||
%eliteessentials_home_<name>_z%
|
|
||||||
%eliteessentials_home_<name>_yaw%
|
|
||||||
%eliteessentials_home_<name>_pitch%
|
|
||||||
%eliteessentials_home_<name>_world%
|
|
||||||
%eliteessentials_kit_<id>_name%
|
|
||||||
%eliteessentials_kit_<id>_id%
|
|
||||||
%eliteessentials_kit_<id>_description%
|
|
||||||
%eliteessentials_kit_<id>_icon%
|
|
||||||
%eliteessentials_kit_<id>_cooldown%
|
|
||||||
%eliteessentials_kit_<id>_remainingcooldown%
|
|
||||||
%eliteessentials_kit_<id>_items%
|
|
||||||
%eliteessentials_warp_<name>_name%
|
|
||||||
%eliteessentials_warp_<name>_description%
|
|
||||||
%eliteessentials_warp_<name>_permission%
|
|
||||||
%eliteessentials_warp_<name>_createdat%
|
|
||||||
%eliteessentials_warp_<name>_createdby%
|
|
||||||
%eliteessentials_warp_<name>_coords%
|
|
||||||
%eliteessentials_warp_<name>_x%
|
|
||||||
%eliteessentials_warp_<name>_y%
|
|
||||||
%eliteessentials_warp_<name>_z%
|
|
||||||
%eliteessentials_warp_<name>_yaw%
|
|
||||||
%eliteessentials_warp_<name>_pitch%
|
|
||||||
%eliteessentials_warp_<name>_world%
|
|
||||||
```
|
|
||||||
|
|
||||||
----
|
|
||||||
|
|
||||||
### **[HyFactions](https://www.curseforge.com/hytale/mods/hyfactions)**
|
|
||||||
/// command | papi ecloud download HyFactions
|
|
||||||
///
|
|
||||||
|
|
||||||
Relational:
|
|
||||||
```
|
|
||||||
%rel_factions_relation% - Relation type (ally, enemy, etc)
|
|
||||||
%rel_factions_relation_color% - green, white, red
|
|
||||||
```
|
|
||||||
|
|
||||||
Standard:
|
|
||||||
```
|
|
||||||
%factions_player_has_faction% - yes/no
|
|
||||||
%factions_player_faction% - faction name
|
|
||||||
%factions_player_faction_id% - faction uuid
|
|
||||||
%factions_player_faction_rank% - rank in faction
|
|
||||||
%factions_player_power% - power level of player
|
|
||||||
%factions_party_color% - party color (number)
|
|
||||||
%factions_party_name% - party name
|
|
||||||
%factions_party_id% - party id
|
|
||||||
%factions_party_description% - party description
|
|
||||||
%factions_party_created% - date of party creation
|
|
||||||
%factions_party_max_claims% - max number of claims for party
|
|
||||||
%factions_party_claims% - number of claims by party
|
|
||||||
%factions_party_members% - number of members in party
|
|
||||||
%factions_party_owner_id% - owner uuid
|
|
||||||
%factions_party_owner_name% - owner username
|
|
||||||
%factions_faction_home_dimension% - dimension name of faction home
|
|
||||||
%factions_faction_home_x% - 2 D.P. x coord of faction home
|
|
||||||
%factions_faction_home_y% - 2 D.P. y coord of faction home
|
|
||||||
%factions_faction_home_z% - 2 D.P. z coord of faction home
|
|
||||||
%factions_faction_home_coords% - 2 D.P. x y z coords of faction home
|
|
||||||
%factions_faction_home_yaw% - 2 D.P. yaw of faction home
|
|
||||||
%factions_faction_home_pitch% - 2 D.P. pitch of faction home
|
|
||||||
%factions_faction_color% - number of faction color
|
|
||||||
%factions_faction_description% - faction description
|
|
||||||
%factions_faction_max_claims% - max claims allowed by faction
|
|
||||||
%factions_faction_owner_id% - faction owner uuid
|
|
||||||
%factions_faction_owner_name% - faction owner username
|
|
||||||
%factions_faction_created% - date of faction creation
|
|
||||||
%factions_faction_members% - number of members in faction
|
|
||||||
%factions_faction_relations% - number of relations with other factions
|
|
||||||
%factions_faction_allies% - number of allies
|
|
||||||
%factions_faction_neutrals% - number of neutrals
|
|
||||||
%factions_faction_enemies% - number of enemies
|
|
||||||
%factions_faction_claims% - number of claims by faction
|
|
||||||
%factions_faction_total_power% - total power of faction
|
|
||||||
```
|
|
||||||
|
|
||||||
----
|
|
||||||
|
|
||||||
### **[LuckPerms](https://www.spigotmc.org/resources/28140/)**
|
### **[LuckPerms](https://www.spigotmc.org/resources/28140/)**
|
||||||
/// command | papi ecloud download LuckPerms
|
/// command | papi ecloud download LuckPerms
|
||||||
///
|
///
|
||||||
|
|||||||
Reference in New Issue
Block a user