{"id":15190571,"url":"https://github.com/mt-mods/protector","last_synced_at":"2025-10-19T19:01:35.657Z","repository":{"id":103957575,"uuid":"235467116","full_name":"mt-mods/protector","owner":"mt-mods","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-01T12:43:24.000Z","size":337,"stargazers_count":4,"open_issues_count":5,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T06:05:57.840Z","etag":null,"topics":["minetest","minetest-mod"],"latest_commit_sha":null,"homepage":null,"language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mt-mods.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-01-22T00:15:26.000Z","updated_at":"2025-01-01T12:43:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"8e413989-937e-4b0a-abf2-c262f970b21d","html_url":"https://github.com/mt-mods/protector","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mt-mods%2Fprotector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mt-mods%2Fprotector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mt-mods%2Fprotector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mt-mods%2Fprotector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mt-mods","download_url":"https://codeload.github.com/mt-mods/protector/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238508490,"owners_count":19484140,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["minetest","minetest-mod"],"created_at":"2024-09-27T20:42:02.273Z","updated_at":"2025-10-19T19:01:30.621Z","avatar_url":"https://github.com/mt-mods.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"Protector Redo mod [protect]\n\n![](https://github.com/S-S-X/protector/workflows/luacheck/badge.svg)\n\nProtector redo for minetest is a mod that protects a players builds by placing\na block that stops other players from digging or placing blocks in that area.\n\nbased on glomie's mod, remade by Zeg9 and rewritten by TenPlus1.\n\nhttps://forum.minetest.net/viewtopic.php?f=11\u0026t=9376\n\nChange log:\n\n- 0.1 - Initial release\n- 0.2 - Texture update\n- 0.3 - Added Protection Logo to blend in with player builds\n- 0.4 - Code tweak for 0.4.10+\n- 0.5 - Added protector.radius variable in init.lua (default: 5)\n- 0.6 - Added Protected Doors (wood and steel) and Protected Chest\n- 0.7 - Protected Chests now have \"To Chest\" and \"To Inventory\" buttons to copy\n      contents across, also chests can be named\n- 0.8 - Updated to work with Minetest 0.4.12, simplified textures\n- 0.9 - Tweaked code\n- 1.0 - Only owner can remove protector\n- 1.1 - Set 'protector_pvp = true' in minetest.conf to disable pvp in protected\n      areas except your own, also setting protector_pvp_spawn higher than 0 will\n      disable pvp around spawn area with the radius you entered\n- 1.2 - Shift and click support added with Minetest 0.4.13 to quickly copy stacks\n      to and from protected chest\n- 1.3 - Moved protector on_place into node itself, protector zone display changed\n      from 10 to 5 seconds, general code tidy\n- 1.4 - Changed protector recipes to give single item instead of 4, added + button\n      to interface, tweaked and tidied code, added admin command /delprot to remove\n      protectors in bulk from banned/old players\n- 1.5 - Added much requested protected trapdoor\n- 1.6 - Added protector_drop (true or false) and protector_hurt (hurt by this num)\n      variables to minetest.conf settings to stop players breaking protected\n      areas by dropping tools and hurting player.\n- 1.7 - Included an edited version of WTFPL doors mod since protected doors didn't\n      work with the doors mod in the latest daily build... Now it's fine :)\n      added support for \"protection_bypass\" privelage.\n- 1.8 - Added 'protector_flip' setting to stop players using lag to grief into\n      another players house, it flips them around to stop them digging.\n- 1.9 - Renamed 'protector_pvp_spawn' setting to 'protector_spawn' which protects\n      an area around static spawnpoint and disables pvp if active.\n      (note: previous name can still be used)\n- 2.0 - Added protector placement tool (thanks to Shara) so that players can easily\n      stand on a protector, face in a direction and it places a new one at a set\n      distance to cover protection radius.  Added /protector_show command (thanks agaran)\n      Protectors and chest cannot be moved by mesecon pistons or machines.\n- 2.1 - Added 'protector_night_pvp' setting so night-time becomes a free for all and\n      players can hurt one another even inside protected areas (not spawn protected)\n- 2.2 - Updated protector tool so that player only needs to stand nearby (2 block radius)\n      It can also place vertically (up and down) as well.  New protector recipe added.\n- 2.3 - Localise many of the protector functions and tidy code.\n- 2.4 - Update to newer functions, Minetest 0.4.16 needed to run now.\n- 2.5 - Added HUD text to show when player is inside a protected area (updates every 5 seconds)\n- 2.6 - Add protection against CSM tampering, updated Intllib support (thanks codexp), tweaked block textures\n- 2.7 - Remove protection field entity when protector has been dug\n- 2.8 - Added 'protector_show_interval' setting to minetest.conf [default is 5], make protection field glow in dark.\n- 2.9 - Added MineClone2 recipes for protection block but no official support as yet\n- 3.0 - Added PlayerFactions support, 'protector_hud_interval' setting and listing in advanced settings for mod values.\n- 3.1 - Ability to hide protection blocks using /protector_hide and /protector_show , italian local added (thanks Hamlet)\n- 3.2 - Defaults to Minetest translation if found, otherwise intllib fallback if loaded, locale files updated for both.  Added 'protector_msg' setting for player text.\n- 3.3 - Added support for playerfactions new api (thanks louisroyer), added limiter to protection radius of 22.\n- 3.4 - Player flip and hurt functions moved to minetest.register_protection_violation function (thanks hlqkj), added 'protector_crafts' setting, changed wood doors n chests to immediate_dig for mineclone2 fix.\n\nLucky Blocks: 10\n\n\nUsage: (requires server privelage)\n\nlist names to remove\n\n\t/protector_remove\n\nremove specific user names\n\n\t/protector_remove name1 name2\n\nremove all names from list\n\n\t/protector_remove -\n\nWhenever a player is near any protectors with name1 or name2 then it will be\nreplaced by an air block.\n\n\nshow owner name to replace\n\n\t/protector_replace\n\nreplace owner with new name\n\n\t/protector_replace owner new_owner\n\nreset name list\n\n\t/protector_replace -\n\n\nshow protected areas of your nearby protectors (max of 5)\n\t/protector_show_area\n\n\nA players own protection blocks can be hidden and shown using the following:\n\t/protector_hide\n\t/protector_show\n\n\nThe following lines can be added to your minetest.conf file to configure specific features of the mod:\n\nprotector_radius = 5\n- Sets the area around each protection node so that other players cannot dig, place or enter through protected doors or chests.\n\nprotector_pvp = true\n- true or false this setting disabled pvp inside of protected areas for all players apart from those listed on the protector node.\n\nprotector_night_pvp = false\n- when true this setting enables pvp at night time only, even inside protected areas, requires protector_pvp to be active to work.\n\nprotector_spawn = 10\n- Sets an area 10 nodes around static spawnpoint that is protected.\n\nprotector_hurt = 2\n- When set to above 0, players digging in protected areas will be hurt by 2 health points (or whichever number it's set to)\n\nprotector_flip = true\n- When true players who dig inside a protected area will flipped around to stop them using lag to grief into someone else's build\n\nprotector_show_interval\n- Number of seconds the protection field is visible, defaults to 5 seconds.\n\nprotector_recipe = true\n- When true allows players to craft protection blocks\n\nprotector_msg = true\n- When true shows protection messages in players chat when trying to interact in someone else's area\n\n\nProtector Tool\n\nCan 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.\n\nUse 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.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmt-mods%2Fprotector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmt-mods%2Fprotector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmt-mods%2Fprotector/lists"}