Interface PlatformWorldManager<T>


public interface PlatformWorldManager<T>
This class should be implemented by each platform to allow PlotSquared to interact with the world management solution used on the server.

Special support for world management plugins such as Multiverse and Hyperverse can be added by extending the platform specific class. This way PlotSquared can hook into different APIs and provide better support for that particular plugin

  • Method Details

    • initialize

      void initialize()
      Initialize the platform world manager
    • handleWorldCreation

      Inform the manager that PlotSquared has created a new world, using a specified generator.
      Parameters:
      worldName - World name
      generator - World generator
      Returns:
      Created world
    • getName

      Get the implementation name
      Returns:
      implementation name
    • getWorlds

      Get the names of all worlds on the server
      Returns:
      Worlds