PAPI expansion

Staff++ integrates with the Placeholder API plugin. You need to install the papi expansion by downloading it from the papi ecloud: https://api.extendedclip.com/expansions/staffplusplus/versions/staffplusplus-130/

For placeholders with filters: filters are always prefixed with _@ and should be placed at the end of the placeholder definition

You can nest other placeholders be wrapping them in ${ and }$ characters. Example: warnings_score_${player_name}$

Configuration

All placeholders are cached to make sure we don't query the database too much. This depends on how the placeholders is used. The default cache is 30 seconds but can be configured through the config.yml of the PlaceholderAPI plugin.

config.yml

expansions:
  staffplusplus:
    # How often the placeholder cache should be cleared in milliseconds
    cache-clear-interval: 30000
    # exclude certain placeholders for the caching mechanism.
    cache-disabled-placeholders:
      - session
      - player_count

excluding from caching

Some placeholders are actually safe to use without hitting the database too much. All session variables can be safely excluded from caching. You can exclude other placeholders as well.

Players

Staff

Session

Bans

Mutes

Warnings

Possible filter values:

Reports

Possible filter values:

Last updated