mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-04-27 01:17:19 +00:00
Theres documentation at https://sylvessa.zip/fourkit/ now. And a bunch of other changes. Check the discord server for a more comprehensive list
15 lines
417 B
C#
15 lines
417 B
C#
namespace Minecraft.Server.FourKit.Event;
|
|
|
|
/// <summary>
|
|
/// Interface for events that can be cancelled by a plugin.
|
|
/// When cancelled, the server will skip the default action.
|
|
/// </summary>
|
|
public interface Cancellable
|
|
{
|
|
/// <summary>Gets whether this event is cancelled.</summary>
|
|
bool isCancelled();
|
|
|
|
/// <summary>Sets whether this event is cancelled.</summary>
|
|
void setCancelled(bool cancel);
|
|
}
|