Class WorldAliasSettings

java.lang.Object
com.djrapitops.plan.settings.config.WorldAliasSettings

@Singleton public class WorldAliasSettings extends Object
Class responsible for managing config settings for World Aliases.
  • Constructor Details

  • Method Details

    • addWorld

      public void addWorld(String world)
      Adds a new World to the config section.

      If exists does not override old value.

      Parameters:
      world - World name
    • getPlaytimePerAlias

      public Map<String,Long> getPlaytimePerAlias(WorldTimes worldTimes)
    • getGMTimesPerAlias

      public Map<String,GMTimes> getGMTimesPerAlias(WorldTimes worldTimes)
    • getLongestWorldPlayed

      public String getLongestWorldPlayed(ActiveSession session)
    • getLongestWorldPlayed

      public String getLongestWorldPlayed(FinishedSession session)