Class BukkitWorldManager

java.lang.Object
com.plotsquared.bukkit.managers.BukkitWorldManager
All Implemented Interfaces:
com.plotsquared.core.util.PlatformWorldManager<World>
Direct Known Subclasses:
HyperverseWorldManager, MultiverseWorldManager

public class BukkitWorldManager extends Object implements com.plotsquared.core.util.PlatformWorldManager<World>
Default Bukkit world manager. It will handle world creation by registering the generator in bukkit.yml
  • Constructor Details

    • BukkitWorldManager

      public BukkitWorldManager()
  • Method Details

    • initialize

      public void initialize()
      Specified by:
      initialize in interface com.plotsquared.core.util.PlatformWorldManager<World>
    • handleWorldCreation

      public @Nullable World handleWorldCreation(@NonNull String worldName, @Nullable String generator)
      Specified by:
      handleWorldCreation in interface com.plotsquared.core.util.PlatformWorldManager<World>
    • setGenerator

      protected void setGenerator(@Nullable String worldName, @Nullable String generator)
    • getName

      public String getName()
      Specified by:
      getName in interface com.plotsquared.core.util.PlatformWorldManager<World>
    • getWorlds

      public Collection<String> getWorlds()
      Specified by:
      getWorlds in interface com.plotsquared.core.util.PlatformWorldManager<World>