World gets saved when you stop the server, or when you do a /save-all. Normally you should be able to set up an automated job to do save-all every x mins. Else, if the server crashes, you'll roll back to the last save. Since it only saves when you stop the server properly.
You'll have to...