-
Method Summary
boolean
check if uuid is present in the registry
get collection of enabled world names from registry
Returns a list of world uuids that are enabled by the plugin config.
boolean
Check if a world is enabled by name
boolean
Check if a world is enabled by bukkit world UID
-
Method Details
-
-
enabledUids
Returns a list of world uuids that are enabled by the plugin config. Only world uuids that match
a current server world are included in the list.
- Returns:
- List of enabled world uuids
-
enabledNames
get collection of enabled world names from registry
- Returns:
- a Collection of String containing enabled world names
-
-
isEnabled
boolean isEnabled(UUID worldUID)
Check if a world is enabled by bukkit world UID
- Parameters:
worldUID - Unique Identifier for world
- Returns:
true if world is enabled, false if disabled
-
isEnabled
boolean isEnabled(String worldName)
Check if a world is enabled by name
- Parameters:
worldName - name of world as string to check
- Returns:
true if world is enabled, false if disabled
-
contains
@Contract(pure=true)
boolean contains(UUID uuid)
check if uuid is present in the registry
- Parameters:
uuid - the uuid of a world
- Returns:
boolean true if the world uuid is present in the registry, or false if not
-