Uploaded December 2013 | Updated November 2026, 5 days ago
THIS WILL NOT WORK IN SINGLEPLAYER. A bug currently exists preventing the "stat.leaveGame" objective from detecting when a player exits their world in singleplayer. Until this bug is fixed, the mechanism in the video only works in MULTIPLAYER.
Pastebin for commands: pastebin.com/YazvKFi5
Forum link to post: minecraftforum.net/topic/2252260-combat-logging-system/page__gopid__27508450#entry27508450
This mechanism was created at the request of user Zombiebrine on the Minecraft Forums. The mechanism will detect when a player logs out after a specified duration of being hit, and assign them a score for later use.
For detailed information, please see the forum post linked above, which will describe in detail how the mechanism works.
THIS WILL NOT WORK IN SINGLEPLAYER. A bug currently exists preventing the "stat.leaveGame" objective from detecting when a player exits their world in singleplayer. Until this bug is fixed, the mechanism in the video only works in MULTIPLAYER.
Pastebin for commands: pastebin.com/YazvKFi5
Forum link to post: minecraftforum.net/topic/2252260-combat-logging-system/page__gopid__27508450#entry27508450
This mechanism was created at the request of user Zombiebrine on the Minecraft Forums. The mechanism will detect when a player logs out after a specified duration of being hit, and assign them a score for later use.
For detailed information, please see the forum post linked above, which will describe in detail how the mechanism works.







