ClicksPerSecond
  • Overview
  • Basic
    • Setup
    • Displays
  • Commands and permissions
    • Commands
  • Placeholders
    • Internal
    • External (PAPI expansion)
Powered by GitBook
On this page
  • Settings
  • Placeholders
  1. Placeholders

Internal

Internal placeholders available within the plugin.

PreviousCommandsNextExternal (PAPI expansion)

Last updated 2 years ago

Settings

There are 3 settings you can use to customize the placeholders returned:

  • placeholder.allow-placeholder-api: determines if PlaceholderAPI will be called to replace placeholders in displayed messages (see ); recommended to have it disabled if none of them are used there,

  • placeholder.unknown-value: replacement for data which are unknown at the time of replacing,

  • placeholder.date-format: format of placeholders which return time.

Placeholders

Plugin can translate the following 3 placeholder groups. Always make sure to read the documentation of the message you're configuring for availability. There might also be additional placeholders provided for some commands.

  1. Player:

    • {uuid}: player's UUID

    • {name}: player's name, or unknown if not available

    • {id}: player's name, or UUID if not available

  2. Info:

    • {cps_best}: best CPS

    • {cps_best_date}: formatted date at which the best CPS were achieved (see date format above), or unknown if the best CPS are 0

    • {cps_best_date_millis}: date in millis (since UNIX epoch) at which the best CPS were achieved, or unknown if the best CPS are 0

    • {cps_best_date_formatted}: alias for {cps_best_date}

    • + placeholders from the player group

  3. All:

    • {cps_now}: current CPS

    • + placeholders from the player and info groups

Displays