ToddLLM/luanti-complete-dataset huggingface dataset:
**Title:** Interact

**Description:** 

**Details:**
When a player joins the server, they are asked if they want the interact priv. If they do, they are presented with the rules, asked a few questions, and given a brief quiz on the rules (which can be disabled). If they answer correctly, they are granted interact, if not, they are kicked (can also be changed).

You need to configure this mod before it can be used on a server!

**Tags:** multiplayer, server_tools
**Repository:** https://github.com/minetest-mods/interact
**License:** MIT
**Title:** typeof

**Description:** 

**Details:**
(DISCLAIMER: this is NOT for Roblox NOR is this the page for Luau's `typeof` function or luau API, have not realized how high this is in the `typeof luau` google search query lmao. This requires downloading Luanti as a prerequisite!)

As stated, provides functionality similar to the typeof function in Luau (the Lua dialect used by Roblox) - and is used in the same way!

Creates global function `typeof` which can be called with any value to figure out what specific complex type it is

`typeof` can return two values, the `type` and a `subdivision` if possible with the `type` (otherwise will return nil)

`type`, `subdivision` = `typeof(value)`

Certain types have subdivisions such as `meta` which can have `node` and `itemstack`

Current specified types:

`vector`, `pseudovector`, `voxelarea`, `player`, `object`, `inventory`, `itemstack`, `areastore`, `voxelmanip`, `meta` (subdivisions: `node`, `itemstack`, `player`, `storage` (mod storage)), `itemdefinition` (subdivisions: `none`, `node`, `craft` (a regular non-node item), `tool`), `nodetimer`, `settings`, `number` (subdivisions: `float`, `integer`)

The code loads certain values such as (its own) mod storage, getting meta from point 0,0,0, or getting areas of 0,0,0 to 1,1,1 as to grab their metatables for IDs. Certain types will not be available for classification prior to the finalized loading of mods due to engine limitations (such as node-specific or position-specific). Should be perfectly fine after load time. Last possible value to be loaded is the `meta` subdivision `player` - as it requires a player to join to get the metatable ID.

This function should NOT be considered a performance alternative to `type()`. This handles more complex types - and thusly has a slightly laggier approach - like Luau's `typeof()` does. It also uses `type()` a lot too - so it cannot be faster than it lol.

There is currently no difference between detached, node, and player inventories - and thusly there does not exist subdivisions of `inventory`.

**Tags:** developer_tools, library
**Repository:** https://codeberg.org/TPH/typeof
**License:** MIT
**Title:** OTP

**Description:** 

**Details:**


Lets security-aware players use the `/otp_enable` command to protect their account with a second factor.

Players that have the OTP enabled have to enter a verification code upon joining the game.

Recommended OTP Authenticator app: https://github.com/helloworld1/FreeOTPPlus


**Tags:** multiplayer, server_tools
**Repository:** https://github.com/mt-mods/otp
**License:** MIT