PlayerState: ProfileStore + Replica, Without the Headache

It did give a warning message saying the operation failed because the tables cannot be cyclic, also I added you on discord.

1 Like

V1.165:
Pushed a GetLeaderboard(statName, limit) function to the client

Can you push the latest version to wally?

Haven’t pushed to wally in a couple updates I think. I will when I get home

Thank you and great library : )

Thanks.

Sorry, forgot to update it yesterday. I’ll set an alarm to do it tonight.

Just pushed the latest update to it

playerstate = ā€œbellaouzo/playerstate@1.16.5ā€

1 Like

V1.17 pushed with a new ViewedUser feature/config

Umm I use wally, and I think the intellisense can’t detect ur module. There is no init.luau in your package. Is this normal?

Are you able to push this update to wally? It still says the latest version available is 1.16.5.

awesome module! Any chance of buffers serialization?

This implementation really reminds me of SpaceTimeDB, which is awesome because I love using it

The only thing really keeping me from fully commiting to PlayerState is I wish it could handle ephemeral state, or rather state whose values do not need to be saved to the datastore at the end of its lifecycle, i.e session-once values like isChopping or isSprinting for example

Maybe the same way you define leaderstats in DefaultData you could define a section that simply does not get flushed to ProfileStore.. just a thought!

Excited to see this project being regularly maintained!

Yeah I’ll push 1.17 to Wally soon (next day or so). Thanks :slight_smile:

I’ll look into adding it in an upcoming update

This is a good idea. I’ll look into adding it very soon. Thanks for the love and feedback!

1 Like

I honestly do not use wally myself so I am not 100 percent sure, but seems like others are able to use it I think. I would need to see what it looks like on your end. You’d need to require the PlayerStateServer or PlayerStateClient if possible

I recently fell upon this post and it has some features I think you should add

and


I love how it lets you store invalid stuff and nearly kill your roblox studio when you stop play testing

Other from that, peak module, would use again

Edit: my bad for the reply, no clue why it did that- ((its becaue im dumb))

Also no automatic cleanup onOnChanged events which is quite a shame

DataStore UTF-8 validation is between your data and Roblox. PlayerState isn’t a DataStore gatekeeper. If you’re storing non–UTF-8 data, that’s on your code. The module forwards what you put in. I will go ahead and add some sort of validation for it in an update though.