MinecraftConsoles/Minecraft.Server.FourKit/Event/Server/PluginEvent.cs
DrPerkyLegit da2aaf1247
Add PlayerPreLoginEvent (#8)
* 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>
2026-03-29 12:56:24 -05:00

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;
}