Basic introduction to the Table Realms Model.
At the heart of the TR framework is the model, which is a component that keeps track of values based on keys. As a value changes, Table Realms will automatically synchronise it between all devices in a session.
An example (in pseudo-code):
[“Ad345d23fea13.name”] = “Bishop”
You can query this model if you know the right key and even attach listeners that will be notified when a value changes. However, we have provided a convenient way to access a Players’ attributes through the PlayerEntity ScriptType.
For more information on the model, check out the section called Table Realms Model in this documentation.