Skip to content

Custom Player Data Example Addon v1.1.0

Choose a tag to compare

@AbbyRead AbbyRead released this 09 Nov 16:27
· 16 commits to main since this release

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 PlayerDataEntry system 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 .dat file automatically.
  • Values are synchronized between server and client immediately.