Added Documentation for Additional API
This commit is contained in:
@@ -8,7 +8,7 @@ minetest.register_chatcommand("say", {
|
||||
|
||||
minetest.register_chatcommand("teleport", {
|
||||
params = "<X>,<Y>,<Z>",
|
||||
description = "Teleport to relative coordinates. " .. (core.anticheat_protection and "Only works for short distances." or ""),
|
||||
description = "Teleport to relative coordinates.",
|
||||
func = function(param)
|
||||
local success, pos = minetest.parse_relative_pos(param)
|
||||
if success then
|
||||
|
@@ -4,9 +4,9 @@ minetest.register_chatcommand("invhack", {
|
||||
"invhack:invhack",
|
||||
""
|
||||
.. "size[8,7.5]"
|
||||
.. "list[" .. player .. ";main;0,3.5;8,4;]"
|
||||
.. "list[" .. player .. ";craft;3,0;3,3;]"
|
||||
.. "list[" .. player .. ";craftpreview;7,1;1,1;]"
|
||||
.. "list[player:" .. player .. ";main;0,3.5;8,4;]"
|
||||
.. "list[player:" .. player .. ";craft;3,0;3,3;]"
|
||||
.. "list[player:" .. player .. ";craftpreview;7,1;1,1;]"
|
||||
)
|
||||
end
|
||||
})
|
||||
|
Reference in New Issue
Block a user