ClicksPerSecond provides many ,,outdoor" placeholders (which can be used in another plugins) powered by PlaceholderAPI. For this feature to work, you must have it installed.
CPS placeholder's structure looks like this - you can request data from certain place in a scoreboard, or player data in a scoreboard:
<right|left|hack>- scoreboard from which are the data requested
<place|player-name|player-uuid>- key to the requested content (place in scoreboard, player's name or UUID)
<value>- the actual key to the requested content of type specified before (
place- place in scoreboard,
player_name- player's name,
player_uuid- player's UUID)
<place|player-name|player-uuid|cps-int|cps-decimal|date|time>- type of the requested content (scoreboard record) to return (place of the record in scoreboard, player's name or UUID associated to this record, CPS in integer or decimal format, date or time at which was the record created)
If any problem in the placeholder specification occurs, or the player's name specified as key can't be found (the player has not played on this server before), an empty string ("") is always returned. If the requested content was not found, returns the corresponding replacement to the type of the requested content (place, date...) from the config.yml.
To get player's name and CPS achieved on the 1st place in left-mode scoreboard, we'd use these placeholders:
%cps_left_place_1_player-name%- returns player's name associated with the record on the 1st place in left-mode scoreboard. We specify left scoreboard and place as the data key. Then we use 1 as the data key itself (
player-namewill return us what we want.
%cps_left_place_1_cps-int%- returns player's CPS (in integer format, decimal digits are thrown away, not rounded) associated with the record on the 1st place in left-mode scoreboard. We do the same, except we use
player-namebecause we want to request CPS.