Table of Contents

Class Paths

Namespace
Exiled.API.Features
Assembly
Exiled.API.dll

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

string

BackupConfig

Gets or sets the backup configs path.

public static string BackupConfig { get; set; }

Property Value

string

BackupTranslations

Gets or sets backup translations path.

public static string BackupTranslations { get; set; }

Property Value

string

Config

Gets or sets the configuration file path.

public static string Config { get; set; }

Property Value

string

Configs

Gets or sets the configuration folder path.

public static string Configs { get; set; }

Property Value

string

Dependencies

Gets or sets Dependencies directory path.

public static string Dependencies { get; set; }

Property Value

string

Exiled

Gets or sets exiled directory path.

public static string Exiled { get; set; }

Property Value

string

IndividualConfigs

Gets or sets individual configs directory path.

public static string IndividualConfigs { get; set; }

Property Value

string

IndividualTranslations

Gets or sets individual translations directory path.

public static string IndividualTranslations { get; set; }

Property Value

string

LoaderConfig

Gets or sets the loader configuration file path.

public static string LoaderConfig { get; set; }

Property Value

string

Log

Gets or sets logs path.

public static string Log { get; set; }

Property Value

string

ManagedAssemblies

Gets managed assemblies directory path.

public static string ManagedAssemblies { get; }

Property Value

string

Plugins

Gets or sets plugins path.

public static string Plugins { get; set; }

Property Value

string

ServerConfig

Gets the server's config path.

public static string ServerConfig { get; }

Property Value

string

Translations

Gets or sets translations path.

public static string Translations { get; set; }

Property Value

string

Methods

GetConfigPath(string)

Gets the config path of a plugin.

public static string GetConfigPath(string pluginPrefix)

Parameters

pluginPrefix string

The 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 string

The 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 string

The new root directory.