Class Paths
A set of useful paths.
public static class Paths
- Inheritance
-
Paths
- Inherited Members
Properties
AppData
Gets AppData path.
public static string AppData { get; }
Property Value
BackupConfig
Gets or sets the backup configs path.
public static string BackupConfig { get; set; }
Property Value
BackupTranslations
Gets or sets backup translations path.
public static string BackupTranslations { get; set; }
Property Value
Config
Gets or sets the configuration file path.
public static string Config { get; set; }
Property Value
Configs
Gets or sets the configuration folder path.
public static string Configs { get; set; }
Property Value
Dependencies
Gets or sets Dependencies directory path.
public static string Dependencies { get; set; }
Property Value
Exiled
Gets or sets exiled directory path.
public static string Exiled { get; set; }
Property Value
IndividualConfigs
Gets or sets individual configs directory path.
public static string IndividualConfigs { get; set; }
Property Value
IndividualTranslations
Gets or sets individual translations directory path.
public static string IndividualTranslations { get; set; }
Property Value
LoaderConfig
Gets or sets the loader configuration file path.
public static string LoaderConfig { get; set; }
Property Value
Log
Gets or sets logs path.
public static string Log { get; set; }
Property Value
ManagedAssemblies
Gets managed assemblies directory path.
public static string ManagedAssemblies { get; }
Property Value
Plugins
Gets or sets plugins path.
public static string Plugins { get; set; }
Property Value
ServerConfig
Gets the server's config path.
public static string ServerConfig { get; }
Property Value
Translations
Gets or sets translations path.
public static string Translations { get; set; }
Property Value
Methods
GetConfigPath(string)
Gets the config path of a plugin.
public static string GetConfigPath(string pluginPrefix)
Parameters
pluginPrefix
stringThe prefix of the plugin.
Returns
- string
The config path of the plugin.
GetTranslationPath(string)
Gets the translation path of a plugin.
public static string GetTranslationPath(string pluginPrefix)
Parameters
pluginPrefix
stringThe prefix of the plugin.
Returns
- string
The translation path of the plugin.
Reload(string)
Reloads all paths.
public static void Reload(string rootDirectory = null)
Parameters
rootDirectory
stringThe new root directory.