Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider is a player data provider that uses a LevelDB database to store data. The data passed on will first be converted to make sure it can be marshaled into JSON. This JSON (in bytes) will then be stored in the database under a key that is the byte representation of the player's UUID.
func NewProvider ¶
NewProvider creates a new player data provider that saves and loads data using a LevelDB database.
Click to show internal directories.
Click to hide internal directories.