Class GroupProviderBuilder
java.lang.Object
io.github.projectunified.unigroup.builder.GroupProviderBuilder
A builder that creates
GroupProvider instances from configuration settings maps.-
Constructor Summary
ConstructorsConstructorDescriptionGroupProviderBuilder(org.bukkit.plugin.Plugin plugin) Create a new GroupProviderBuilder with the specified hosting plugin. -
Method Summary
-
Constructor Details
-
GroupProviderBuilder
public GroupProviderBuilder(org.bukkit.plugin.Plugin plugin) Create a new GroupProviderBuilder with the specified hosting plugin.- Parameters:
plugin- the plugin instance
-
-
Method Details
-
build
Build aGroupProviderfrom the given settings map.- Parameters:
map- the configuration map- Returns:
- the created group provider, or an
ErrorGroupProvideron error
-