public abstract class AbstractPlanPlaceHolder
extends java.lang.Object
onPlaceholderRequest(Player, String)
. Check PlanPlaceHolders
to learn more how it is used.PlanPlaceHolders
Modifier and Type | Field and Description |
---|---|
protected ServerInfo |
serverInfo |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
onPlaceholderRequest(org.bukkit.entity.Player p,
java.lang.String params)
Look up the placeholder and check if it is registered in this instance.
|
protected final ServerInfo serverInfo
public abstract java.lang.String onPlaceholderRequest(org.bukkit.entity.Player p, java.lang.String params) throws java.lang.Exception
p
- the player who is viewing the placeholderparams
- the placeholder to look up to.String
if no
value found but the placeholder is registered,
otherwise null
java.lang.Exception
- if any error occurs