- Bump to version 1.2.2
- Add `metatools.alert_users` which sends the string passed as argument
to all players currently operating on nodes
- Register a dignode callback in which we alert users about players
trying to dig operated nodes, or open nodes in general. Only node
operated by a person different from the person digging are blocked
- Add `metatools.get_context_from_pos`. It receives a table, but does
no assertions (yet?)
- Move `playerlocks` over to `metatools.playerlocks` for similar
reasons to why we moved `nodelock`
- Create field `success` for meta_exec, a function run when the command
is successful; it receives the executed function's parameters and its
output (status, msg) as arguments
- Update /meta help's message
- Fix instances of `contexts` not replaced by `metatools.contexts`
- Assert that the context id is correct upon running `metatools.show`
- Pass a table to meta_exec containing parameters, function to be
called, scope string and requirements to check
- Add basic ownership and contextid requirement checks in meta_exec
when needed
- Update README.md
- Move assertion tools to assertions.lua
- Rewrite the whole mod with a non-player-dependent approach
- Store data in contexts rather than per-player registers
- Make it look more like an actual API usable by mods, since now, it is
one
- Keep a similar structure but separate fields and inventory
manipulation
- Remove itemstack read, show can do it
- Add list (list init, list delete) to manipulate lists
- Rewrite the whole code for a new structure to come, with an API
- Tables cannot be added as tables into metadatas, removed wip work. I'm likely
going to rewrite this with serialize but only when the parallel manipulation
system is implemented (write, read)