PlayerDataProvider
Handles storage of player data. Implementations must treat player names in a case-insensitive manner.
Methods
hasData()
php
public function hasData(string $name) : boolReturns whether there are any data associated with the given player name.
loadData()
php
public function loadData(string $name) : ?\pocketmine\nbt\tag\CompoundTagReturns the data associated with the given player name, or null if there is no data. TODO: we need an async version of this
saveData()
php
public function saveData(string $name, \pocketmine\nbt\tag\CompoundTag $data) : voidSaves data for the give player name.
