Custom Player Data Example Addon v1.1.0
An updated Better Than Wolves CE addon demonstrating per-player persistent data using the official PlayerDataEntry API, with improved client-server syncing and localized join-count messages.
What’s new in this release
- Uses BTW’s
PlayerDataEntrysystem now instead of raw NBT for safer, automatic storage. - Player join counts are now synchronized to the client immediately.
- Welcome messages are localized and properly pluralized for multiple languages.
- The addon no longer requires mixins for simple per-player data.
Demo
When joining a world, you will see a message like:
Welcome back! You have joined 3 times.
This confirms:
- The join count is persisted across deaths, respawns, and world reloads.
- Data is saved in the player’s
.datfile automatically. - Values are synchronized between server and client immediately.