Class WorldAliasSettings


  • @Singleton
    public class WorldAliasSettings
    extends java.lang.Object
    Class responsible for managing config settings for World Aliases.
    • Method Detail

      • addWorld

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

        If exists does not override old value.

        Parameters:
        world - World name
      • getPlaytimePerAlias

        public java.util.Map<java.lang.String,​java.lang.Long> getPlaytimePerAlias​(WorldTimes worldTimes)
      • getGMTimesPerAlias

        public java.util.Map<java.lang.String,​GMTimes> getGMTimesPerAlias​(WorldTimes worldTimes)
      • getLongestWorldPlayed

        public java.lang.String getLongestWorldPlayed​(ActiveSession session)
      • getLongestWorldPlayed

        public java.lang.String getLongestWorldPlayed​(FinishedSession session)