minetest.rollback_get_node_actions

From Minetest Developer Wiki
Jump to: navigation, search

Syntax

minetest.rollback_get_node_actions(pos, range, seconds, limit)

Description

  • posposition
  • range — integer
  • seconds — integer
  • limit — integer

Find who has done something to a node, or near a node in the passed number of seconds.

Returns a list of actions, limited in size by limit, each containing the fields:

  • actor — string, like "player:<name>" or "liquid".
  • posposition
  • time — integer
  • oldnodenode
  • newnodenode

This article is missing examples, feel free to add them.


Personal tools
Namespaces

Variants
Actions
Navigation
API
Toolbox