Multiplayer Data Storage

Started by haz · one month ago · 2 replies · 170 views

#1
haz
Member
JoinedJan 2026 Posts2 Score18,929
Hello,

I'm working on a multiplayer (p2p) non-dedicated game and I'm trying to figure out how to save things like, levels, money ect. I've reviewed the FileSystem docs but I'm wondering how this works to prevent users from going into the saved .json files and modifying the data, to effectively cheat? 

Is there an alternative to the FileSystem API or another approach which would allow me to save a players data and prevent cheating via modifying the json?

I'm fairly new to S&Box development so any suggestions would be greatly appreciated, thank you!

#2
Austin
Member
JoinedOct 2021 Posts156 Score2,540
Stats service should do you just fine if you're just saving stats, levels, money, etc.

https://sbox.game/dev/doc/services/
#3
haz
Member
JoinedJan 2026 Posts2 Score18,929
Thank you!
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.