Commit Graph

8 Commits

Author SHA1 Message Date
LeMagnesium c875a96af7
Add user alerts and check on node digging
- 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`
2016-09-20 18:33:20 +02:00
LeMagnesium cff85689d7
Rewrite calls of meta_exec with new structure
- 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
2016-09-19 18:59:08 +02:00
LeMagnesium ec2ae309da
New version. New code. Everything is rewritten.
- 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
2016-09-17 21:18:36 +02:00
LeMagnesium e5f7423c71 Early implementation of table handler
- Added basic feature for tables. Might be removed later
 - Updated TodoList
2015-05-12 21:51:18 +02:00
LeMagnesium 6cdef4dbc4 Fixed README.md
- Fixed metadata graph
2015-05-10 13:18:14 +02:00
LeMagnesium 58e462a485 Bumped version to 1.0
- Added check for stratum when meta::set
 - Updated README.md
 - Bumped version to 1.0
2015-05-08 14:51:48 +02:00
LeMagnesium 23b46dad8d Added itemstack handler
- Added itemstack handler (write,read,erase)
- Updated license
- Updated README.md with documentation
2015-04-18 13:47:21 +02:00
LeMagnesium 7a60579a46 Added README.md 2015-04-05 22:19:39 +02:00