Method IsModuleOnServer
| Edit this page View SourceIsModuleOnServer(BaseUnityPlugin)
Check if a mod is installed and loaded on the server.
Can be called from both client and 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 |
IsModuleOnServer(string)
Check if a mod is installed and loaded on the server.
Can be called from both client and 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 |