User Tools

Site Tools


dev:core:funref:is_protected

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
dev:core:funref:is_protected [2019-10-02 17:27]
82.67.173.193 created
dev:core:funref:is_protected [2019-10-02 17:52]
82.67.173.193
Line 10: Line 10:
  
 ===== Parameters ===== ===== Parameters =====
-  * ''pos'' //(table)//: a Minetest vector position.+  * ''pos'' //(table)//: a Minetest position vector.
   * ''name'' //(string)//: the player name. It does not need to be logged in, but it *needs* to exist in the ''auth.txt'' file.   * ''name'' //(string)//: the player name. It does not need to be logged in, but it *needs* to exist in the ''auth.txt'' file.
 +
 +===== Returns =====
 +True if the node is protected and the player cannot bypass this protection, false otherwise.
  
 ===== Errors and warnings ===== ===== Errors and warnings =====
dev/core/funref/is_protected.txt · Last modified: 2020-01-22 10:53 by admin