Hackware

Switch to dark theme

logout

Announces that a player left, with a final position, posture, and a small inventory snapshot.

Announces that a player left the channel's multiplayer server, carrying where they were and what mattered in their hands when they went. Part of the IRC schema reference.

{
	"type": "logout",
	"player": {
		"uuid": "069a79f4-44e9-4726-a5be-fca90e38aaf5",
		"name": "Notch"
	},
	"inventory": [
		{
			"slot": 0,
			"item": {
				"id": "minecraft:totem_of_undying",
				"count": 1
			}
		}
	],
	"pops": 2,
	"timestamp": 1754826000000,
	"position": {
		"x": 1024.5,
		"y": 64,
		"z": -2048.5,
		"dimension": "overworld",
		"phase": "standing",
		"pitch": 12.5,
		"yaw": -90
	}
}
FieldTypeConstraints
type"logout"Discriminator
playerPlayer objectWho left — a third party, observed by the sender
inventoryarray of inventory slotsAt most 6 slots — a highlight reel, not the whole inventory
popsinteger≥ 0 — totem pops this session
timestampintegerRequired, ≥ 0. Sender's clock, epoch ms.
positionPosition with postureIncludes phase, pitch, yaw

Unlike presence, the inventory here is capped at 6 slots — send the items that matter (totems, crystals, the weapon), not the full 41.

A logout reports an observed player's disconnect at a definite position, which is exactly the information logout-spot hunting cares about. It does not close anyone's session: a sender's own session simply goes stale once its presence stops arriving.