MyWorlds support #14

Closed
NotAlexNoyle wants to merge 5 commits from ver/1.19.4 into ver/1.19.4
pull from: ver/1.19.4
NotAlexNoyle commented 2026-09-19 11:25:40 -04:00 (Migrated from github.com)
  • get / save / has / seen: read or write one player's profile on one world. Null or the server's own level name addresses the vanilla storage.
  • saveAll: write one player's profile to several worlds in one atomic batch, so a crash can't leave the worlds disagreeing.
  • drop / copy: keep player data in step when a world is deleted or copied, since it no longer lives inside the world folder.
  • Writes return false instead of only logging, so a plugin can tell a write that landed from one the server refused.
  • Safe from any thread: drop and shutdown wait for in-flight calls before freeing handles.
- get / save / has / seen: read or write one player's profile on one world. Null or the server's own level name addresses the vanilla storage. - saveAll: write one player's profile to several worlds in one atomic batch, so a crash can't leave the worlds disagreeing. - drop / copy: keep player data in step when a world is deleted or copied, since it no longer lives inside the world folder. - Writes return false instead of only logging, so a plugin can tell a write that landed from one the server refused. - Safe from any thread: drop and shutdown wait for in-flight calls before freeing handles.

Pull request closed

Please reopen this pull request to perform a merge.
Sign in to join this conversation.