From: Zughy <63455151+Zughy@users.noreply.github.com> Date: Wed, 13 May 2020 11:56:26 +0000 (+0000) Subject: Document inf value in rollback commands (#9789) X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4e997e9d047068bfccd30fb700e2b3b9f48fda4c;p=oweals%2Fminetest.git Document inf value in rollback commands (#9789) --- diff --git a/builtin/game/chat.lua b/builtin/game/chat.lua index a71f4b329..c8fa4175d 100644 --- a/builtin/game/chat.lua +++ b/builtin/game/chat.lua @@ -777,7 +777,7 @@ core.register_chatcommand("rollback_check", { params = "[] [] []", description = "Check who last touched a node or a node near it" .. " within the time specified by . Default: range = 0," - .. " seconds = 86400 = 24h, limit = 5", + .. " seconds = 86400 = 24h, limit = 5. Set to inf for no time limit", privs = {rollback=true}, func = function(name, param) if not core.settings:get_bool("enable_rollback_recording") then @@ -828,7 +828,7 @@ core.register_chatcommand("rollback_check", { core.register_chatcommand("rollback", { params = "( []) | (: [])", - description = "Revert actions of a player. Default for is 60", + description = "Revert actions of a player. Default for is 60. Set to inf for no time limit", privs = {rollback=true}, func = function(name, param) if not core.settings:get_bool("enable_rollback_recording") then