CompassStorage

Physical storage adapter for one plugin-owned compass namespace.

The document is an opaque, versioned JSON string owned by Xerr. Implementations only persist it. Methods may complete on any thread and must not access Bukkit objects asynchronously.

Functions

Link copied to clipboard
abstract fun delete(playerId: UUID): CompletableFuture<Void>
Link copied to clipboard
abstract fun read(playerId: UUID): CompletableFuture<String?>
Link copied to clipboard
abstract fun write(playerId: UUID, document: String): CompletableFuture<Void>