🅿️ Placeholder & Expression

Plugin placeholders

placeholder
value

%customcrops_season%

Get the season of the world player in

%customcrops_season_<world>%

Get the season of the specified world

%customcrops_date%

Get the date of the world player

%customcrops_date_<world>%

Get the date of the specified world

Internal placeholders

placeholder
value

{player}

Player name

{x}

X coordinate

{y}

Y coordinate

{z}

Z coordinate

{world}

World name

{water_bar}

Water bar image

{storage}

The storage of the sprinkler/watering-can/pot

{current}

The current water storage

{near}

Nearby player name

{max_times}

Max times that fertilizer can survive

{left_times}

The times left that fertilizer can survive

Expressions

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. You need to replace %levelplugin_farming%with your current leveler's placeholder.

placeholder-register:
  '{skill-level}': '%levelplugin_farming%'

Now you are alowed to use this placeholder almost everywhere

# drop more items when harvesting
action_1:
  type: drop-item
  value:
    ignore-fertilizer: true
    item: tomato_seeds
    min: '1 + {skill-level}*0.1'
    max: '2 + {skill-level}*0.15'
  chance: 1

Last updated