Class WorldConfig


  • @Configuration
    @ConfigurationProperties("org.vrspace.server")
    public class WorldConfig
    extends Object
    Container for pre-configured worlds, created by WorldManager during startup. Worlds can be configured with org.vrspace.server.WORLDNAME.x properties, most important org.vrspace.server.WORLDNAME.specifies the class that extends World and implements custom enter and exit methods. All other properties are passed to the world instance during creation, intended to be used in World.enter(), WorldController, etc.
    See Also:
    ServerWorld