public class TemplateButtonConfig extends Object
| Constructor and Description |
|---|
TemplateButtonConfig(org.bukkit.plugin.Plugin plugin) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear the list
|
Optional<Map<String,Object>> |
get(String name)
Get the config values of a template button
|
Collection<String> |
getAllTemplateButtonNames()
Get the names of all registered template buttons
|
void |
reload()
Reload the list
|
void |
setup()
Set up the list
|
public TemplateButtonConfig(org.bukkit.plugin.Plugin plugin)
public void setup()
public void clear()
public void reload()
public Optional<Map<String,Object>> get(String name)
name - the name of the template buttonpublic Collection<String> getAllTemplateButtonNames()
Copyright © 2023. All rights reserved.