Interface PlayerDataService


public interface PlayerDataService
Read access to the player data stored by SepareWorldItems, whatever the storage backend (YAML files, SQLite, MySQL/MariaDB, MongoDB, Redis).

All methods do IO off the server thread and complete their future on an async thread. Switch back to the server thread yourself before touching game objects.

Note: for the context a player is currently in, the live state is the player itself; the stored record is only updated when the player leaves that context.