[This is preliminary documentation and is subject to change.]
Initialized various server subsystems. This should be called after InitLibrary and before StartServer.
Loads config, PlayerDB, IP bans, AutoRank settings, builds a list of commands, and prepares the IRC bot.
Raises Server.Initializing and Server.Initialized events, and possibly Logger.Logged events.
Throws exceptions on failure.
Namespace: fCraftAssembly: fCraft (in fCraft.dll) Version: 0.6.2.4 (0.6.2.4)
Syntax
| C# |
public static void InitServer()
Exceptions
| Exception | Condition |
|---|---|
| System..::..InvalidOperationException | Library is not initialized, or server is already initialzied. |