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

**Description:** 

**Details:**
This is a mod which allows you to convert schematics in the form of .lua files into .mts files using the lua2mts server command.  
.lua files are easier to edit with a text editor.  .mts files are binary and thus perform better because they are smaller.
It is intended to be used in conjuction with the Schematic Editor mod (schemedit) by Wuzzy.  
schemedit has a 3d schematic editor along with the following server commands:
* `placeschem` to place a schematic
* `mts2lua` to convert .mts files to .lua files (Lua code)

The reason this mod exists is if a schematic has hundreds of nodes, it is easier to edit that schematic doing a text editor search and replace of the .lua file than in the 3D editor that schemedit provides.
Editing a .lua file this way allows you to very quickly change the node type or the probability of a node for hundreds or more nodes.

An example workflow would be this:  
Say you have .mts schematic files of trees (tree_1.mts - tree_9.mts that look too symmetrical to be natural.  You want to change the probability of the leaf nodes to be something less than 254 to make the leaf placement be a little more random and thus more natural looking.  To accomplish that do the following.
1) Create a world in minetest and enable schmedit and lua2mts mods in that world.
2) In a file manager create a schems sub folder in that world folder.  e.g.  C:\games\minetest-5.7.0-win64\worlds\myworld\schems
3) Copy all the tree .mts files into that schems folder
4) Use the command "/mts2lua tree_1" for all of the tree files 1-9.  To convert them all to .lua files. 
5) Open tree .lua files in a text editor.  
6) Search and replace "{name="default:tree_leaves", prob=254, param2=0}," with "{name="default:tree_leaves", prob=190, param2=0}," 
7) Use the command "/lua2mts tree_1"  for all of the .lua files 1-9.  This will convert them all back to .mts files. 

## Usage help
This mod assumes you already have a basic understanding about how schematics in Minetest work.
If not, refer to the Minetest Lua API documentation to understand more about schematics.

**Tags:** chat, developer_tools, mapgen
**Repository:** https://github.com/Neuromancer56/lua2mts
**License:** MIT
**Title:** Bed Notifications

**Description:** 

**Details:**
Bed Notifications adds a feature that when a player leaves or enters a bed a chat massage is sent to all players telling them that a specific player entered or left a bed so that it is easier to skip the night on multiplayer worlds. It also sends a message to all players when they are able to sleep. There is also some functions to add support for other beds. See api.md for details and documentation.

**Tags:** chat, multiplayer, survival
**Repository:** https://github.com/DustyBagel/bed_notify
**License:** MIT
**Title:** newplayer

**Description:** 

**Details:**
This mod asks players without interact to read the server rules and optionally prompts for a keyword from in said rules to be entered, at which point interact is granted. Multiple keywords are supported and the current one selected for a given player will be inserted into the rules at a location marked by "@KEYWORD". 
  
The following chat commands are provided:  
/rules - Shows the rules, along with a prompt to agree to them (if you don't have the "interact" privilege) or the ability to edit them (if you have the "server" privilege)  
/editrules - Goes directly to the screen for editing the rules. Requires "server" privilege.  
/set_no_interact_spawn - Sets the spawnpoint for players without the "interact" privilege. Requires "server" privilege.  
/set_interact_spawn - Sets the spawnpoint for players with the "interact" privilege. Requires "server" privilege.  
/getkeywords - Shows the list of keywords currently used by the keyword system. Requires "server" privilege.  
/addkeyword - Adds a keyword to the list. If more than one is present, a random keyword will be selected when the rules form is opened each time. Requires "server" privilege.  
/delkeyword - Removes a keyword from the list. If none are present, no keyword entry will be required. Requires "server" privilege.  
/spawn - Teleports to the appropriate spawn point.

**Tags:** gui, server_tools
**Repository:** https://cheapiesystems.com/git/newplayer
**License:** MIT
**Title:** Worldedge

**Description:** 

**Details:**
worldedge
=========

A Minetest Mod that teleports you to the other side of the map when you reach its edge.
This gives the illusion that that world is round and you can walk all the way around.

You can change the worlds edge by changing the first variable in init.lua
	local edge = 30000

-----------------------------------------------------------------------------------

License of code: MIT

Written by Amaz

Modified by Don


**Tags:** environment
**Repository:** https://github.com/minetest-mods/worldedge
**License:** MIT
**Title:** Only a Coin

**Description:** 

**Details:**
This mod adds a simple coin to luanti/minetest, to be used as currency.   

No gameplay modification,   
no crafting recipe,   
no dependencies.  
Stacks up to 65535.  
 
-------------

You can change the image, name, description or even the name of the mod without risking complications.  
To change the image, just put a new coin.png (32x32 pixels) in the texture folder.  
coin_base.png in the texture-folder can be used as a template for the new image.  

-------------

**Credits**:   
coin.png & coin_mt.png are based on work by erle :  
https://github.com/luanti-org/luanti/blob/master/misc/luanti.svg


**Tags:** commerce, multiplayer
**Repository:** https://github.com/Distributed-DeadLock/only_a_coin
**License:** MIT
**Title:** Node Touch Action

**Description:** 

**Details:**
Pass in a node name and a function, and every time a player touches that node, your custom function executes. This mod is heavilly based on the cactus_damage mod by VMan_2002

## Example:
When adding gameplay, one thing that comes in handy is performing an action when a player touches a node.  For example making a player take hitpoint damage when touching a cactus.
In my Hero Mines game I needed a light to break when a player touched it, and for the player to take damage when touching magma nodes. You can see the magma example below.

## Usage:
Add the node_touch_action to the depends statement in your mod.conf file:

```
depends = default, node_touch_action
```

After you register your node create a function to be executed when the node is touched:

```lua
local function magmaTouchAction(player)
    player:set_hp(player:get_hp() - 1, "magma")
end
```

Then Register the action to occur when node is touched.  The first parameter is the node name, the second parameter is the function that happens when the node is touched.

```lua
registerNodeTouchAction("hero_mines:magma", magmaTouchAction)
```


**Tags:** developer_tools, library
**Repository:** https://github.com/Neuromancer56/node_touch_action
**License:** MIT
**Title:** Hard Trees

**Description:** 

**Details:**
hardtrees is a mod with a very simple concept. Trees are made harder, meaning you cannot punch them with your fists. Instead, you must find rocks on cobble, stone, mossy cobble, or sandstone, and make the appropriate rock tool, in this case, an axe. However, to make an axe you must have sticks, for which there are two methods to obtain. When leaves are broken then have a 1 out of 13 chance to drop not only the broken node, but also a stick. Once every day, sticks also drop from trees to the group. The mod uses overrides to make trees unbreakable by hand, and also modifies leaves so that they drop the needed items. Leaves are also modified to act as ladders, so you can climb through the tops of trees.

## Mod Support
hardtrees supports all trees within the moretrees and default mod as of July 7th, 2016. To add support for more trees, use the code below modified to fit the new tree and save it in hardtrees/override.lua.

```lua
-- override tree node
hardtrees.override.tree("modname:treename")
-- override leaves
hardtrees.override.leaf("modname:leavesname", "modname:saplingname")
```

`treename` is the name of the tree node so that it can be overrided to not be `oddly_breakable_by_hand`. The `leavesname` is the name of the leaves node which is modified to drop sticks. `saplingname` is also required to allow the leaves to drop both sticks and saplings.

## Configuration
Within the mod directory, is `conf.txt` within which you can specify many of the settings used within this mod. You can also create world specific configuration files by placing another `conf.txt` file within the world directory. Remember, you do not have to specify all settings in either configuration file, however, only those that you would like to change from the default.

### `config.txt` Example
```lua
-- hardtrees config --

-- require tools to break trees (default: true)
require_tools = true

-- rock tools (default: true)
rock_tools = true

-- generate rocks (default: true)
gen_rocks = true

-- distance between rocks (default: 5)
-- gen_rocks must be true
rock_distance = 5

-- rock generation interval (default: 60)
-- gen_rocks must be true
rock_interval = 60

-- rock abm chance (default: 13)
-- gen_rocks must be true
rock_chance = 13

-- generate sticks (default: true)
gen_sticks = true

-- distance between stick and tree (default: 3)
-- gen_sticks must be true
stick_distance = 3

-- stick generation interval (default: 1440.0)
-- gen_sticks must be true
stick_interval = 1440.0

-- stick abm chance (default: 50)
-- gen_sticks must be true
stick_chance = 50
```

**Tags:** survival
**Repository:** https://github.com/octacian/hardtrees
**License:** MIT
**Title:** User Manager

**Description:** 

**Details:**
# GUI to manage users
This is a GUI interface to manage user accounts. Use `/usermgr` command to open it.

The interface is mostly self-documentated, so no worry.

Note that only players with `basic_privs` can manage all accounts, otherwise they could only manage their own.

<span style="coor:red">**`WARNING!`**</span> On large servers (>~100 players), this may cause huge lag. Please test it on local world copies first. Please report the test results to me, as I've never tested such case.



**Tags:** world_tools
**Repository:** https://github.com/C-C-Minetest-Server/usermgr
**License:** MIT
**Title:** Inspect Tool

**Description:** 

**Details:**

This mod add inspection tools which can be used to get some informations about nodes and entities by punching. When nothing is punched, it get some informations about item below tool in inventory.

Check API.md file for informations how to add support for getting custom inspect message from node, item or entity.






**Tags:** technology
**Repository:** https://github.com/sfence/inspect_tool
**License:** MIT