public class ServerPlaceHolders extends AbstractPlanPlaceHolder
serverInfo
Constructor and Description |
---|
ServerPlaceHolders(DBSystem dbSystem,
ServerInfo serverInfo,
Formatters formatters) |
Modifier and Type | Method and Description |
---|---|
java.io.Serializable |
get(java.lang.String params,
Database database,
java.util.UUID serverUUID) |
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 ServerPlaceHolders(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, Database database, java.util.UUID serverUUID)