Klasse ConfigManager

java.lang.Object
net.risingworld.api.Plugin
de.sbg.unity.configmanager.ConfigManager

public class ConfigManager extends net.risingworld.api.Plugin
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    getLoadedConfig(String pluginName)
    Get the Config of the Plugin (ONLY USING IF CONFIG IS ALREADY LOADED)
    newConfig(String pluginName, String Path)
    Create new ConfigData Object (This Methode create only the ConfigData-Object, not the File)
    newConfig(String pluginName, String Path, String name)
    Create new ConfigData Object (This Methode create only the ConfigData-Object, not the File)
    newConfig(String pluginName, String Path, String name, String extention)
    Create new ConfigData Object (This Methode create only the ConfigData-Object, not the File)
    void
     
    void
     

    Von Klasse geerbte Methoden net.risingworld.api.Plugin

    enqueue, executeDelayed, getAllPlugins, getDescription, getGameVersion, getID, getMySQLConnection, getName, getPath, getPluginByID, getPluginByName, getSQLiteConnection, getWorldDatabase, onLoad, registerEventListener, sendHttpRequest, sendHttpRequest, triggerEvent, unregisterEventListener

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • ConfigManager

      public ConfigManager()
  • Methodendetails

    • onEnable

      public void onEnable()
      Angegeben von:
      onEnable in Klasse net.risingworld.api.Plugin
    • onDisable

      public void onDisable()
      Angegeben von:
      onDisable in Klasse net.risingworld.api.Plugin
    • newConfig

      public ConfigData newConfig(String pluginName, String Path) throws IOException
      Create new ConfigData Object (This Methode create only the ConfigData-Object, not the File)
      Parameter:
      pluginName - - The name of the plugin;
      Path - - The Path of the Config
      Gibt zurück:
      The new ConfigData-Object
      Löst aus:
      IOException
    • newConfig

      public ConfigData newConfig(String pluginName, String Path, String name) throws IOException
      Create new ConfigData Object (This Methode create only the ConfigData-Object, not the File)
      Parameter:
      pluginName - - The name of the plugin;
      Path - - The Path of the Config
      name - - The name of the Config-File
      Gibt zurück:
      The new ConfigData-Object
      Löst aus:
      IOException
    • newConfig

      public ConfigData newConfig(String pluginName, String Path, String name, String extention) throws IOException
      Create new ConfigData Object (This Methode create only the ConfigData-Object, not the File)
      Parameter:
      pluginName - - The name of the plugin;
      Path - - The Path of the Config
      name - - The name of the Config-File
      extention - The extention of the Config-File (.config, .properties)
      Gibt zurück:
      The new ConfigData-Object
      Löst aus:
      IOException
    • getLoadedConfig

      public ConfigData getLoadedConfig(String pluginName)
      Get the Config of the Plugin (ONLY USING IF CONFIG IS ALREADY LOADED)
      Parameter:
      pluginName - The name of the plugin as String
      Gibt zurück:
      Loaded Config as ConfigData