Interface IPlayerConfigManagerAPI


@Deprecated public interface IPlayerConfigManagerAPI
Deprecated.
  • Method Details

    • getLoadedConfig

      @Deprecated IPlayerConfigAPI getLoadedConfig(@Nullable UUID id)
      Deprecated.
      switch to IPlayerConfigManagerAPI

      Gets or creates the player config for the player with a specified UUID.

      Gets the wilderness config if the specified UUID is null, the server claims config if the UUID is PlayerConfig.SERVER_CLAIM_UUID, the expired claims config if the UUID is PlayerConfig.EXPIRED_CLAIM_UUID.

      Parameters:
      id - the UUID of the player, null for wilderness
      Returns:
      the player config instance, not null
    • getDefaultConfig

      @Deprecated IPlayerConfigAPI getDefaultConfig()
      Deprecated.
      switch to IPlayerConfigManagerAPI

      Gets the default player config instance.

      Returns:
      the default player config instance, not null
    • getWildernessConfig

      @Deprecated IPlayerConfigAPI getWildernessConfig()
      Deprecated.
      switch to IPlayerConfigManagerAPI

      Gets the wilderness config instance.

      Returns:
      the wilderness config instance, not null
    • getServerClaimConfig

      @Deprecated IPlayerConfigAPI getServerClaimConfig()
      Deprecated.
      switch to IPlayerConfigManagerAPI

      Gets the server claims config instance.

      Returns:
      the server claims config instance, not null
    • getExpiredClaimConfig

      @Deprecated IPlayerConfigAPI getExpiredClaimConfig()
      Deprecated.
      switch to IPlayerConfigManagerAPI

      Gets the expired claims config instance.

      Returns:
      the expired claims config instance, not null
    • getAllOptionsStream

      @Deprecated Stream<IPlayerConfigOptionSpecAPI<?>> getAllOptionsStream()
      Deprecated.
      switch to IPlayerConfigManagerAPI

      Gets a stream of all player config option types, including the dynamic ones.

      Returns:
      a stream of all player config options, not null
    • getOptionForId

      @Deprecated IPlayerConfigOptionSpecAPI<?> getOptionForId(@Nonnull String id)
      Deprecated.
      switch to IPlayerConfigManagerAPI

      Gets the option type specification with a specified string option id, including dynamic options.

      Returns null if no such option exists.

      Parameters:
      id - the option id, not null
      Returns:
      the option type specification instance, null when doesn't exist