onPlaceholderRequest

public String onPlaceholderRequest(Player player, String identifier)

This is the method called when a placeholder with our identifier is found and needs a value. We specify the value identifier in this method. Since version 2.9.1 can you use OfflinePlayers in your requests.

Return

possibly-null String of the requested identifier.

Parameters

player

A Player.

identifier

A String containing the identifier/value.