Class LangManager

java.lang.Object
net.streamlinecloud.mc.common.core.manager.LangManager

public class LangManager extends Object
This class grants access to language strings from the StreamlineCloud main module
  • Constructor Details

    • LangManager

      public LangManager()
  • Method Details

    • fetch

      public void fetch(String[] keys)
      This method fetches translations from the StreamlineCloud main module in the default language
      Parameters:
      keys - A list of translation keys that are being added to the language manager
    • get

      public String get(String key)
      The key needs to be fetched via the fetch(String[]) function first
      Parameters:
      key - The key of the translation string