Package de.Keyle.MyPet.api
Class MyPetGlobal.Repository
java.lang.Object
de.Keyle.MyPet.api.MyPetGlobal.Repository
- Enclosing class:
MyPetGlobal
Where pets are persisted, and how that storage is reached.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classConnection details for theMySQLrepository type. -
Field Summary
FieldsModifier and TypeFieldDescriptionMigrates existing pets out of this storage type into the configured one on start.How long, in ticks, to delay loading a joining player's pets.Where pets are stored. -
Method Summary
-
Field Details
-
EXTERNAL_LOAD_DELAY
How long, in ticks, to delay loading a joining player's pets. Applies only to external storage; SQLite always uses one tick.MyPet.Repository.LoadDelay-- default20L. -
REPOSITORY_TYPE
Where pets are stored. One ofSQLite,MySQLorMongoDB.MyPet.Repository.Type-- default"SQLite". -
CONVERT_FROM
Migrates existing pets out of this storage type into the configured one on start. Empty disables migration.MyPet.Repository.ConvertFrom-- default"".
-