public class VariablePlaceholder extends Object implements IVariablePlaceholder
Constructor and Description |
---|
VariablePlaceholder(TriggerReactorCore plugin) |
Modifier and Type | Method and Description |
---|---|
String |
onPlaceholderRequest(org.bukkit.entity.Player player,
String identifier)
This is the method called when a placeholder with our identifier
is found and needs a value.
|
public VariablePlaceholder(TriggerReactorCore plugin)
public String onPlaceholderRequest(org.bukkit.entity.Player player, String identifier)
onPlaceholderRequest
in interface IVariablePlaceholder
player
- A Player who performed the task which contains interaction on
PlaceholderAPI.identifier
- A String containing the identifier/value.