2015-02-13 20:10:29 +01:00
Protector Redo mod [protect]
2014-11-09 20:43:01 +01:00
2015-08-31 12:05:55 +02:00
Protector redo for minetest is a mod that protects a players builds by placing
a block that stops other players from digging or placing blocks in that area.
2016-11-02 17:54:19 +01:00
based on glomie's mod, remade by Zeg9 and rewritten by TenPlus1.
2014-11-09 20:43:01 +01:00
2015-01-05 19:53:00 +01:00
https://forum.minetest.net/viewtopic.php?f=11& t=9376
2016-08-19 20:24:54 +02:00
Change log:
2015-02-13 20:10:29 +01:00
2017-09-03 12:02:58 +02:00
- 0.1 - Initial release
- 0.2 - Texture update
- 0.3 - Added Protection Logo to blend in with player builds
- 0.4 - Code tweak for 0.4.10+
- 0.5 - Added protector.radius variable in init.lua (default: 5)
- 0.6 - Added Protected Doors (wood and steel) and Protected Chest
- 0.7 - Protected Chests now have "To Chest" and "To Inventory" buttons to copy
2015-08-31 12:05:55 +02:00
contents across, also chests can be named
2017-09-03 12:02:58 +02:00
- 0.8 - Updated to work with Minetest 0.4.12, simplified textures
- 0.9 - Tweaked code
- 1.0 - Only owner can remove protector
- 1.1 - Set 'protector_pvp = true' in minetest.conf to disable pvp in protected
2015-08-31 12:05:55 +02:00
areas except your own, also setting protector_pvp_spawn higher than 0 will
disable pvp around spawn area with the radius you entered
2017-09-03 12:02:58 +02:00
- 1.2 - Shift and click support added with Minetest 0.4.13 to quickly copy stacks
2015-10-09 16:13:24 +02:00
to and from protected chest
2017-09-03 12:02:58 +02:00
- 1.3 - Moved protector on_place into node itself, protector zone display changed
2015-11-13 12:23:30 +01:00
from 10 to 5 seconds, general code tidy
2017-09-03 12:02:58 +02:00
- 1.4 - Changed protector recipes to give single item instead of 4, added + button
2015-11-13 13:10:52 +01:00
to interface, tweaked and tidied code, added admin command /delprot to remove
2015-11-13 13:16:27 +01:00
protectors in bulk from banned/old players
2017-09-03 12:02:58 +02:00
- 1.5 - Added much requested protected trapdoor
- 1.6 - Added protector_drop (true or false) and protector_hurt (hurt by this num)
2015-12-23 17:24:20 +01:00
variables to minetest.conf settings to stop players breaking protected
areas by dropping tools and hurting player.
2017-09-03 12:02:58 +02:00
- 1.7 - Included an edited version of WTFPL doors mod since protected doors didn't
2016-02-13 17:24:04 +01:00
work with the doors mod in the latest daily build... Now it's fine :)
2016-05-21 17:21:38 +02:00
added support for "protection_bypass" privelage.
2017-09-03 12:02:58 +02:00
- 1.8 - Added 'protector_flip' setting to stop players using lag to grief into
2016-07-20 17:23:12 +02:00
another players house, it flips them around to stop them digging.
2017-09-03 12:02:58 +02:00
- 1.9 - Renamed 'protector_pvp_spawn' setting to 'protector_spawn' which protects
2016-11-02 19:23:12 +01:00
an area around static spawnpoint and disables pvp if active.
(note: previous name can still be used)
2017-09-03 12:02:58 +02:00
- 2.0 - Added protector placement tool (thanks to Shara) so that players can easily
2016-11-22 12:12:11 +01:00
stand on a protector, face in a direction and it places a new one at a set
2017-01-21 14:39:49 +01:00
distance to cover protection radius. Added /protector_show command (thanks agaran)
2017-02-01 15:30:15 +01:00
Protectors and chest cannot be moved by mesecon pistons or machines.
2017-09-03 12:02:58 +02:00
- 2.1 - Added 'protector_night_pvp' setting so night-time becomes a free for all and
2017-06-06 11:26:54 +02:00
players can hurt one another even inside protected areas (not spawn protected)
2017-09-03 12:02:58 +02:00
- 2.2 - Updated protector tool so that player only needs to stand nearby (2 block radius)
2017-07-03 14:33:52 +02:00
It can also place vertically (up and down) as well. New protector recipe added.
2017-09-03 12:02:58 +02:00
- 2.3 - Localise many of the protector functions and tidy code.
2017-10-09 14:58:19 +02:00
- 2.4 - Update to newer functions, Minetest 0.4.16 needed to run now.
2017-11-11 13:50:50 +01:00
- 2.5 - Added HUD text to show when player is inside a protected area (updates every 5 seconds)
2018-07-12 18:03:32 +02:00
- 2.6 - Add protection against CSM tampering, updated Intllib support (thanks codexp), tweaked block textures
2018-10-24 14:59:56 +02:00
- 2.7 - Remove protection field entity when protector has been dug
2019-05-19 10:48:01 +02:00
- 2.8 - Added 'protector_show_interval' setting to minetest.conf, default is 5
2015-11-13 13:16:27 +01:00
2017-07-03 14:45:43 +02:00
Lucky Blocks: 10
2016-11-12 11:53:33 +01:00
2015-11-13 13:16:27 +01:00
Usage: (requires server privelage)
list names to remove
2016-12-29 19:09:01 +01:00
/protector_remove
2015-11-13 13:16:27 +01:00
remove specific user names
2016-12-29 19:09:01 +01:00
/protector_remove name1 name2
2015-11-13 13:16:27 +01:00
remove all names from list
2016-12-29 19:09:01 +01:00
/protector_remove -
2015-11-13 13:16:27 +01:00
Whenever a player is near any protectors with name1 or name2 then it will be
2016-07-20 17:23:12 +02:00
replaced by an air block.
2016-07-21 10:01:48 +02:00
2016-12-29 19:09:01 +01:00
show owner name to replace
/protector_replace
replace owner with new name
/protector_replace owner new_owner
reset name list
2017-01-21 14:39:49 +01:00
2016-12-29 19:09:01 +01:00
/protector_replace -
2017-01-21 14:39:49 +01:00
show protected areas of your nearby protectors (max of 5)
/protector_show
2016-07-21 10:01:48 +02:00
The following lines can be added to your minetest.conf file to configure specific features of the mod:
protector_radius = 5
- Sets the area around each protection node so that other players cannot dig, place or enter through protected doors or chests.
protector_pvp = true
- true or false this setting disabled pvp inside of protected areas for all players apart from those listed on the protector node.
2017-06-06 11:26:54 +02:00
protector_night_pvp = false
- when true this setting enables pvp at night time only, even inside protected areas, requires protector_pvp to be active to work.
2016-11-02 17:54:19 +01:00
protector_spawn = 10
- Sets an area 10 nodes around static spawnpoint that is protected.
2016-07-21 10:01:48 +02:00
protector_hurt = 2
- When set to above 0, players digging in protected areas will be hurt by 2 health points (or whichever number it's set to)
protector_flip = true
- When true players who dig inside a protected area will flipped around to stop them using lag to grief into someone else's build
2017-09-03 11:53:49 +02:00
2019-05-19 10:48:01 +02:00
protector_show_interval
- Number of seconds the protection field is visible, defaults to 5 seconds.
2017-09-03 11:53:49 +02:00
Protector Tool
2017-09-03 12:02:58 +02:00
Can be crafted with a protector surrounded by steel ingots and is used to place new protectors at a set distance of protector.radius in all directions including up and down simply by looking in a direction.
2017-09-03 11:53:49 +02:00
2017-09-03 12:02:58 +02:00
Use by standing near an existing protector, looking in a direction and using as a tool, hold sneak/shift to place new protector containing member list from inside nearest one.