Go to file
Lars Mueller 08ef3c82ac Use modlib.minetest.get_gametime 2020-09-27 16:56:52 +02:00
Readme.md Improve code quality, use gametime instead of US time, merge config help into Readme 2020-06-05 16:18:03 +02:00
default_config.json Updates via shellscript 2019-05-01 16:53:11 +02:00
init.lua Code quality: use new modlib functionality 2020-07-30 00:08:15 +02:00
main.lua Use modlib.minetest.get_gametime 2020-09-27 16:56:52 +02:00
mod.conf Updates via shellscript 2019-05-01 16:53:11 +02:00
screenshot.png Optimize screenshot 2020-05-24 13:09:27 +02:00
settingtypes.txt Add autogenerated settingtypes 2020-06-02 23:06:10 +02:00

Readme.md

Place Limit(place_limit)

A mod limiting how fast players can place nodes.

Let's kill 'em ! Got... where's he gone ? Wait... up there, on the tower... how could he build it so fast ?!

- me, playing Minetest

Problem solved by this mod.

About

Depends on modlib and hud_timers.

Please note that this mod may not work along well with other mods overriding registering on_placenodes and that it may be recommended to use the API.

Licensed under the MIT License. Written by Lars Mueller alias LMD or appguru(eu).

Configuration

Default Configuration

{
  "cooldown": {
    "default": 3.0,
    "by_name": {},
    "by_group": {}
  }
}

Usage

cooldown

default

Default cooldown value - only used if no by_group or by_node cooldown specified for given node.

by_name

Cooldown by node name.

by_group

Cooldown by node group. Will be multiplied with node group value.

In the end, maximum cooldown value of all by_group and the by_name cooldown is used