Class Paths
A set of useful paths.
Inheritance
Inherited Members
Namespace: Exiled.API.Features
Assembly: Exiled.API.dll
Syntax
public static class Paths
Properties
| Improve this Doc View SourceAppData
Gets AppData path.
Declaration
public static string AppData { get; }
Property Value
Type | Description |
---|---|
System.String |
BackupConfig
Gets or sets the backup configs path.
Declaration
public static string BackupConfig { get; set; }
Property Value
Type | Description |
---|---|
System.String |
BackupTranslations
Gets or sets backup translations path.
Declaration
public static string BackupTranslations { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Config
Gets or sets the configuration file path.
Declaration
public static string Config { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Configs
Gets or sets the configuration folder path.
Declaration
public static string Configs { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Dependencies
Gets or sets Dependencies directory path.
Declaration
public static string Dependencies { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Exiled
Gets or sets exiled directory path.
Declaration
public static string Exiled { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IndividualConfigs
Gets or sets individual configs directory path.
Declaration
public static string IndividualConfigs { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IndividualTranslations
Gets or sets individual translations directory path.
Declaration
public static string IndividualTranslations { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LoaderConfig
Gets or sets the loader configuration file path.
Declaration
public static string LoaderConfig { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Log
Gets or sets logs path.
Declaration
public static string Log { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ManagedAssemblies
Gets managed assemblies directory path.
Declaration
public static string ManagedAssemblies { get; }
Property Value
Type | Description |
---|---|
System.String |
Plugins
Gets or sets plugins path.
Declaration
public static string Plugins { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ServerConfig
Gets the server's config path.
Declaration
public static string ServerConfig { get; }
Property Value
Type | Description |
---|---|
System.String |
Translations
Gets or sets translations path.
Declaration
public static string Translations { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceGetConfigPath(String)
Gets the config path of a plugin.
Declaration
public static string GetConfigPath(string pluginPrefix)
Parameters
Type | Name | Description |
---|---|---|
System.String | pluginPrefix | The prefix of the plugin. |
Returns
Type | Description |
---|---|
System.String | The config path of the plugin. |
GetTranslationPath(String)
Gets the translation path of a plugin.
Declaration
public static string GetTranslationPath(string pluginPrefix)
Parameters
Type | Name | Description |
---|---|---|
System.String | pluginPrefix | The prefix of the plugin. |
Returns
Type | Description |
---|---|
System.String | The translation path of the plugin. |
Reload(String)
Reloads all paths.
Declaration
public static void Reload(string rootDirectory = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | rootDirectory | The new root directory. |