Skip to content

BepInPlugin Class

This attribute denotes that a class is a plugin, and specifies the required metadata.

C#
[AttributeUsage(AttributeTargets.Class)]
public class BepInPlugin : Attribute

Inheritance objectAttribute

C#
public BepInPlugin(string GUID, string Name, string Version)

GUID string
The unique identifier of the plugin. Should not change between plugin versions.

Name string
The user friendly name of the plugin. Is able to be changed between versions.

Version string
The specific version of the plugin.

The unique identifier of the plugin. Should not change between plugin versions.

C#
public string GUID { get; protected set; }

The user friendly name of the plugin. Is able to be changed between versions.

C#
public string Name { get; protected set; }

The specific version of the plugin.

C#
public Version Version { get; protected set; }