1.16.1 convert world to blob?

Discussion in 'Spigot Plugin Development' started by will3500, Aug 2, 2020 at 12:14 AM.

  1. how do i convert a world folder to blob, or maybe json? to save it in an noSQL database
     
  2. Look into SlimeWorldManager
     
  3. md_5

    Administrator Developer

    A database or json is not the right tool for storing megabytes/gigabytes of binary data
     
  4. is an skyblock island, not an entire survival world
     
  5. Why can't you save it locally?
    There won't be anything more efficient than storing them in raw binary files
     
  6. i want to compress it and get from database
     
  7. then definitely look into SlimeWorldManager
     
  8. sqm has no support for 1.16, and i'm trying to write a plugin, not use one
     
  9. anyone have a idea how to serialize a world folder to Bson?