An open API service indexing awesome lists of open source software.

https://github.com/miniplaceholders/placeholderadapter-expansion

PlaceholderAdapter expansion for MiniPlaceholders
https://github.com/miniplaceholders/placeholderadapter-expansion

miniplaceholders-expansion

Last synced: 5 months ago
JSON representation

PlaceholderAdapter expansion for MiniPlaceholders

Awesome Lists containing this project

README

          

# PlaceholderAdapter-Expansion
PlaceholderAdapter Expansion for MiniPlaceholders

This expansion provides support for multiple placeholder plugins so that they can be used in MiniPlaceholders

## Supported Placeholder Providers

- [PlaceholderAPI](https://modrinth.com/plugin/placeholderapi) (Bukkit/Paper)
- [TextPlaceholderAPI](https://modrinth.com/mod/placeholder-api) (Fabric)
- [PAPIProxyBridge](https://modrinth.com/plugin/papiproxybridge) (Velocity)

> [!IMPORTANT]
> If you are using Velocity, in order to use PlaceholderAPI placeholders with MiniPlaceholders Velocity,
> you must install [PAPIProxyBridge](https://modrinth.com/plugin/papiproxybridge) according to its installation guide
>
> On Velocity there is an additional optional `expiry` parameter for how long the placeholder should be cached. This value is in milliseconds.

## Placeholders

### Global

- ``
Velocity:
- ``

This placeholder does not require any player to work.
Its operation would be similar to running the command `/papi parse --null (placeholders)`

### Audience

- ``
Velocity:
- ``

This placeholder requires an online player to function.
Its operation would be similar to running the `/papi parse me (placeholders)` command

### Relational

> [!NOTE]
> This type of placeholder is not supported by TextPlaceholderAPI, so it will only be available in Paper and Velocity

- ``
Velocity:
- ``

This placeholder requires two online players to work.
The functioning of this placeholder depends on whether the plugin in which it is used has relational placeholder support

## Nesting

If you want to nest the result of the placeholder inside another placeholder, add the string argument.
For example:
- ``
- ``