Interface Viewer
public interface Viewer
Who uses the dashboard, for a page drawn or an action run.
-
Method Summary
Modifier and TypeMethodDescriptionlanguage()booleanWhether they have a permission.name()@Nullable StringA parameter of the page's address, asView.Button.with(String, Object)orResult.navigate(String, Map)gave it.params()
-
Method Details
-
name
String name()- Returns:
- the name of who asked for the dashboard's link: a player's name, or
CONSOLE
-
language
String language()- Returns:
- the dashboard's language for them,
enorfr
-
may
Whether they have a permission. While they are online, the server answers; otherwise, the permissions they had when they asked for their link answer, among those the extensions declare.- Parameters:
permission- a permission- Returns:
- whether they have it
-
param
A parameter of the page's address, asView.Button.with(String, Object)orResult.navigate(String, Map)gave it.- Parameters:
name- the parameter's name- Returns:
- its value, or null
-
params
-