You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy pasting my opinion here from another protection mod:
This should be done by doing minetest.is_protected(pos, name) on mod that is placing, digging, building, whatever.
Protector mods should not allow or prevent any specific actions by themselves.
Minetest engine documentation for protection check:
minetest.is_protected(pos, name): returns boolean
Returning true restricts the player name from modifying (i.e. digging,
placing) the node at position pos.
name will be "" for non-players or unknown players.
@CLtheman1 have you tried to open issue about this in APercy's mods issue tracker?
If not yet I would recommend doing that even if implementation would end up into protection mod(s).
This should include protection against the placement of entities from APercy's mods. I was told this was gonna be tricky.
This should be fairly simple thing to implement in mod that adds those entities but implementing and maintaining it in protection mod will be tricky and fragile.
Protecting areas from players being able to place entities in them should be something that this mod includes.
Note: This should include protection against the placement of entities from APercy's mods. I was told this was gonna be tricky.
The text was updated successfully, but these errors were encountered: