public class SessionPlaceHolder extends AbstractPlanPlaceHolder
serverInfo
Constructor and Description |
---|
SessionPlaceHolder(PlanConfig config,
DBSystem dbSystem,
ServerInfo serverInfo,
Formatters formatters) |
Modifier and Type | Method and Description |
---|---|
java.io.Serializable |
get(java.lang.String params) |
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 SessionPlaceHolder(PlanConfig config, DBSystem dbSystem, ServerInfo serverInfo, Formatters formatters)
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 occurspublic java.io.Serializable get(java.lang.String params)