Placeholder

Plugin placeholders

placeholdervalue

%cfcompetition_goingon%

true: there's a competition going on false: the opposite

%cfcompetition_nextseconds%

Get the countdown to the upcoming competition (Raw value)

%cfcompetition_nextsecond% %cfcompetition_nextminute% %cfcompetition_nexthour% %cfcompetition_nextday%

Get the countdown to the upcoming competition in days, hours, minutes, and seconds. (Formatted)

%cfcompetition_rank%

Get the rank in current competition

%cfcompetition_score%

Get the score in current competition

%cfcompetition_score_<rank>%

Get the score of the player in the specified ranking

%cfcompetition_player_<rank>%

Get the name of the player in the specified ranking

%cfcompetition_goal%

Get the competition goal

%cfcompetition_seconds%

Get the countdown for the current competition (Raw value)

%cfcompetition_second% %cfcompetition_minute% %cfcompetition_hour%

Get the countdown for the current competition in hours, minutes, and seconds. (Formatted)

placeholdervalue

%fishingstats_total%

Get the total amount of fish caught. This value might vary from the vanilla statistics because in CustomFishing you can disable statistics for certain loots.

%fishingstats_amount_<id>%

Get the total amount of a certain loot caught

%fishingstats_hascaught_<id>%

If player has caught a certain loot. Value: true / false

%fishingstats_category_total_<id>%

Get the total amount of fish caught that in a specified category.

%fishingstats_category_progress_<id>%

Get the unlock progress of the loots in specified category.

%fishingstats_size-record_<id>%

Get the size record of a certain loot

placeholdervalue

%customfishing_market_limit%

Get the market's sell limitation

%customfishing_market_earnings%

Get today's earnings

%customfishing_market_canearn%

Get the money that can be earned in the rest of the day

Internal placeholders

placeholdervalue

{second} {minute} {hour}

Get the countdown for the current competition in hours, minutes, and seconds.

{seconds}

Get the countdown for the current competition (Raw value)

{rank}

Get the rank in current competition

{score}

Get the score in current competition

{<rank>_player}

Get the name of the player in the specified ranking

{<rank>_score}

Get the score of the player in the specified ranking

{goal}

Get the competition goal

{loot}

Get the loot internal key

{statistics_size}

Get the statistics key for "size record"

{statistics_amount}

Get the statistics key for "amount of fish caught"

{nick}

Get the loot's nick

{score} {SCORE}

The score of the fish if competition goal is total score.

The size of the fish if comeptition goal is size related.

Return "1" if the competition goal is catch amount.

Return "0" if the loot doesn't have a score. Return "-1" if there's no competition going on.

{CUSTOM_SCORE}

This value if only available if the score is modified with an API method

{size} {SIZE}

The size of the fish caught

{min_size} {max_size}

The min/max size of the fish

{price} {PRICE}

The final price of the fish caught

{base}

The base price of the fish caught

{bonus}

Price increase based on the size of the fish

{x}

X coodinate

{y}

Y coodinate

{z}

Z coodinate

{world}

world name

{player}

player name

{money} {money_formatted}

The money that can be earned from this trade Some countries do not have decimal separators as ".", so {money_formatted} is provided

{sold-item-amount}

The amount of sold items

{rest} {rest_formatted}

The rest of the money that can be earned today Some countries do not have decimal separators as ".", so {rest_formatted} is provided

{time_left}

Totem effective time

Register placeholders

Plugin doesn't support using PlaceholderAPI placeholders directly. But there's a section in config.yml where you can customize the identifier of a placeholder and use it almost everywhere.

Let's try the example below. Firstly make sure that you have installed PlaceholderAPI and Server Expansion.

placeholder-register:
  '{date}': '%server_time_yyyy-MM-dd-HH:mm:ss%'

Then you can use {date} in your items

rubbish:
  material: paper
  nick: <gray>Rubbish</gray>
  display:
    name: <gray>Rubbish</gray>
    lore:
      - '<gray>We need to protect the environment...'
      - '<white>Caught at {date} by {player}'

Last updated