fogleman/Craft

Seeding the world from sqlite

yahavb opened this issue · 1 comments

Every time my game server starts it presents a new world. I would like the game server survive a reboot. So I want the init of Model will seed the world from Sqlite. What is the best way to achieve that?
Quick background - I am trying to demonstrate the game on Agones on AWS EC2 Spot Instances https://github.com/aws-samples/spotable-game-server/blob/master/craft-server-image/server.py

strike this request. craft.db does exactly what I need but I messed with docker caching that yielded weird results when coping craft.db from the server to another server. Its all good.