mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2026-01-17 05:48:49 +01:00
2.8.5
This commit is contained in:
14
src/main/java/me/clip/placeholderapi/PlaceholderHook.java
Normal file
14
src/main/java/me/clip/placeholderapi/PlaceholderHook.java
Normal file
@@ -0,0 +1,14 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user