public class OperatorPlaceholders extends AbstractPlanPlaceHolder
serverInfo
Constructor and Description |
---|
OperatorPlaceholders(DBSystem dbSystem,
ServerInfo serverInfo) |
Modifier and Type | Method and Description |
---|---|
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.
|
public OperatorPlaceholders(DBSystem dbSystem, ServerInfo serverInfo)
public java.lang.String onPlaceholderRequest(org.bukkit.entity.Player p, java.lang.String params) throws java.lang.Exception
AbstractPlanPlaceHolder
onPlaceholderRequest
in class AbstractPlanPlaceHolder
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