Persisting Player Progress in Hytale Plugins
TutorialPlayer DataPersistence
TL;DR
Define a Component with BuilderCodec, register with registerComponent(class, name, CODEC), and data auto-saves to players/{uuid}.json. Use ensureAndGetComponent() to access. Don't forget clone() method for world switches.
Comments
No comments yet. Be the first to share your thoughts!