mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-04-25 08:27:28 +00:00
* PlayerPreLoginEvent, comments for more events * basic plugin events * plugin failed to load event * add docs --------- Co-authored-by: sylvessa <225480449+sylvessa@users.noreply.github.com>
17 lines
411 B
C#
17 lines
411 B
C#
namespace Minecraft.Server.FourKit.Event.Server;
|
|
|
|
using Minecraft.Server.FourKit.Plugin;
|
|
|
|
public abstract class PluginEvent : ServerEvent
|
|
{
|
|
private readonly ServerPlugin _plugin;
|
|
|
|
internal protected PluginEvent(ServerPlugin plugin) : base()
|
|
{
|
|
_plugin = plugin;
|
|
}
|
|
|
|
/// <summary>Returns the plugin involved in this event.</summary>
|
|
public ServerPlugin getPlugin() => _plugin;
|
|
}
|