ide-helper: add PrivilegeDefinition docs.

This commit is contained in:
alek13
2025-02-07 19:28:17 +03:00
parent a1644001c8
commit 5098bbdb4f
2 changed files with 41 additions and 0 deletions

View File

@@ -394,6 +394,8 @@ function minetest.unregister_chatcommand(name) end
--- minetest.conf setting.
---
--- [View in lua_api.txt](https://github.com/minetest/minetest/blob/5.4.1/doc/lua_api.txt#L4548-L4554)
--- @param name string
--- @param definition string|PrivilegeDefinition
function minetest.register_privilege(name, definition) end
--- * Registers an auth handler that overrides the builtin one.
--- * This function can be called by a single mod once only.