Table of Contents

Interface IScriptHostConfiguration

Namespace
CounterStrikeSharp.API.Core.Hosting
Assembly
CounterStrikeSharp.API.dll

Provides information about the CounterStrikeSharp host configuration.

public interface IScriptHostConfiguration

Properties

ConfigsPath

Gets the absolute path to the directory that contains CounterStrikeSharp configs. e.g. /game/csgo/addons/counterstrikesharp/configs

string ConfigsPath { get; }

Property Value

string

GameDataPath

Gets the absolute path to the directory that contains CounterStrikeSharp game data. e.g. /game/csgo/addons/counterstrikesharp/gamedata

string GameDataPath { get; }

Property Value

string

PluginPath

Gets the absolute path to the directory that contains CounterStrikeSharp plugins. e.g. /game/csgo/addons/counterstrikesharp/plugins

string PluginPath { get; }

Property Value

string

RootPath

Gets the absolute path to the directory that contains CounterStrikeSharp files. e.g. /game/csgo/addons/counterstrikesharp

string RootPath { get; }

Property Value

string

SharedPath

Gets the absolute path to the directory that contains CounterStrikeSharp plugin shared APIS. e.g. /game/csgo/addons/counterstrikesharp/shared

string SharedPath { get; }

Property Value

string