-
Notifications
You must be signed in to change notification settings - Fork 92
Description
This is a proposal to discuss adding a metadata object to the BZW format for information like the world name and version, licensing, etc. This information would also be part of the binary representation of the world, and could perhaps be queried from the server without fetching the entire world.
Ideas for information that would be allowed:
- World title/name
- World author(s)
- World version
- World license(s)
- Description of the world
Any other ideas for information to allow?
For the data types of the information, my thought was to allow strings and string lists. Should there be other types, such as integer or float?
From a binary/protocol level, I would think it be best to allow future information to be added, so some sort of key/value encoding would be ideal.
This is the possible syntax for the metadata object. In this example, title, version, and description are strings, and author and license are string lists (with multiple instances appending additional elements to the list).
metadata
title Example World
author First Author
author Second Author
version 0.1.4a
license LGPL-3.0-or-later
metablock description
This is a
multi-line
description
endmetablock
endmetadata