I've recently been experiencing a glitch on my friend's server.
I'll play for a couple hours and then later when I get on again, I'm in a different place with old inventory, and any changes to the world that were made are basically "undone." It's like it unsaves anything I did, and it's really annoying to have to do the same things multiple times until the glitch moves to a new time.