Show / Hide Table of Contents

Method IsModuleOnServer

| Edit this page View Source

IsModuleOnServer(BaseUnityPlugin)

Check if a mod is installed and loaded on the server.
Can be called from both client and server.
Declaration
public static bool IsModuleOnServer(BaseUnityPlugin plugin)
Parameters
Type Name Description
BaseUnityPlugin plugin BepInEx mod to check
Returns
Type Description
bool true if the mod is loaded on the server.
false if the mod is not loaded on the server or no server connection is established
| Edit this page View Source

IsModuleOnServer(string)

Check if a mod is installed and loaded on the server.
Can be called from both client and server.
Declaration
public static bool IsModuleOnServer(string modGUID)
Parameters
Type Name Description
string modGUID BepInEx mod GUID to check
Returns
Type Description
bool true if the mod is loaded on the server.
false if the mod is not loaded on the server or no server connection is established
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾