Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • General Discussion /
avatar image
Question by whitershores · May 11, 2020 at 07:58 AM · Player Datadataentities

Where to store Minecraft-like world data?

I am building a game where many players will be able join publicly available worlds, where the game state would need to be stored in a persistent manner.

Use-case is very similar to Minecraft: An authoritative server model where players do not have direct access to the world state. Only parts of it are sent to each player, and they alter it as they play. (Eg, mining blocks etc.) No player necessarily 'owns' the world. When the last player leaves, before the server would shut down, it would save the last world state, so if players would like to visit it again, it could be restored to how it last was.

There were a few similar, older threads a few years back about similar questions. However, I would like to know what is the current best practice to accomplish something like this?

Comment

People who like this

0 Show 0
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Sarah Zhang · May 11, 2020 at 02:25 PM

Currently, the workaround for such a case is still to let one player own the world. PlayFab Multiplayer Server can provide the non-persistent server sessions for multiplayer players to access. You can use an external cache or the server’s own cache to handle the temporary data of the server session. Then you can store the user-generated content in the room owner’s player entity data when the last player left.

Besides, as PlayFab Roadmap says, the new feature User-Generated Content (UGC) will come in the future. Currently, this feature has no exact estimated time of arrival. Please keep an eye on our Roadmap and Release notes for the latest updates.

Comment
whitershores

People who like this

1 Show 0 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    1 Person is following this question.

    avatar image

    Related Questions

    Looking for a viable way to save our mutiple json files. 1 Answer

    Storing custom game data specific to a player (card game example),Inventory management data structure in a card like game 1 Answer

    Size of entity data (how much can 500 bytes fit?) 2 Answers

    How to convert Entity in group models to profiles models? 1 Answer

    Is PlayFab (and its Player Entity Data system) able to support my city builder game? 1 Answer

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges