PlaceholderAPI/src/main/java/me/clip/placeholderapi/PlaceholderHook.java

15 lines
495 B
Java
Raw Normal View History

2018-03-21 00:04:14 +01:00
package me.clip.placeholderapi;
import org.bukkit.entity.Player;
public abstract class PlaceholderHook {
/**
* called when a placeholder is requested from this PlaceholderHook
* @param p Player requesting the placeholder value for, null if not needed for a player
* @param params String passed for the placeholder hook to determine what value to return
* @return value for the requested player and params
*/
public abstract String onPlaceholderRequest(Player p, String params);
}