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>
This commit is contained in:
DrPerkyLegit 2026-03-29 13:56:24 -04:00 committed by GitHub
parent 33e0ecac56
commit da2aaf1247
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 241 additions and 4 deletions

View file

@ -0,0 +1,18 @@
namespace Minecraft.Server.FourKit.Event.Server;
using Minecraft.Server.FourKit.Plugin;
public class PluginLoadFailedEvent : ServerEvent
{
private readonly string _fileName;
private readonly string _message;
internal PluginLoadFailedEvent(string fileName, string message) : base()
{
_fileName = fileName;
_message = message;
}
public string getFileName() => _fileName;
public string getMessage() => _message;
}