Skip to content

PacketSendStatus

Namespace Mc.Scripting · Kind enum

public enum PacketSendStatus : int

What Packets.Send did with the packet.

Name Value Description
Sent 0 The packet is in the player’s stream, in order with the engine’s packets of the tick.
Refused 1 The packet was refused: a value out of range, an unknown registry id, an entity id this plugin may not name, or a packet the engine does not send to players.
NotInPlay 2 The player is not in play (nothing was sent).
OverBudget 3 The player’s (or the server’s) byte budget for plugin packets of this tick is spent (nothing was sent).
NotAvailable 4 The engine does not carry packets here (the in-process runtime, a test fixture): nothing was sent.