← Packet index

Packet 330

ClientboundDataStorePacket

Sends a list of data store properties from the server to the client.

Packet datagramWire order
HeaderID 330varuint
0Updatesarray<oneOf<Data Store Update, Data Store Change, Data Store Removal>> · variable

Serialized fields

1 top-level fields
  1. 0UpdatesList of changes, updates, or removals that have occurred to the data storearray<oneOf<Data Store Update, Data Store Change, Data Store Removal>>
    0Data Store UpdateData Store Update
    1. 0Data Store Namestring
    2. 1PropertyThe name of the property in the data store that has changedstring
    3. 2PathThe path through the property that needs updatingstring
    4. 3DataThe value that is updatingoneOf<double, boolean, string>
      0Variant 0double
      1Variant 1boolean
      2Variant 2string
    5. 4Property Update CountThe number of times this property has updated. Does not increment unless the entire property updatesuint32
    6. 5Path Update CountThe number of times this path has updated. Resets if the entire property has changed.uint32
    1Data Store ChangeData Store Change
    1. 0Data Store Namestring
    2. 1PropertyThe name of the property in the data store that has changedstring
    3. 2Update CountThe number of times this property has updateduint32
    4. 3The New Property ValueDynamic valueunknown
    2Data Store RemovalData Store Removal
    1. 0Data Store Namestring

Changelog

Stable releases

Changes between stable protocol releases.

No stable release changes are recorded for this packet.