My idea on the areas protection system #1378

Closed
opened 2022-01-21 13:28:39 +00:00 by GIuseppe · 6 comments

If I'm not mistaken currently the contents of the default chests and armor stands can also be used by those who do not own the area.
The steel anvil and doors are usable only by the owner even if they are in free areas.
And there are other types of protection for container objects.
I would propose something different.
Everything in the protected area can only be used by the owners including the contents of the basic chest. Then the exception is possible by creating for example a free chest (or any other object) that can be used by anyone.

If I'm not mistaken currently the contents of the default chests and armor stands can also be used by those who do not own the area. The steel anvil and doors are usable only by the owner even if they are in free areas. And there are other types of protection for container objects. I would propose something different. Everything in the protected area can only be used by the owners including the contents of the basic chest. Then the exception is possible by creating for example a free chest (or any other object) that can be used by anyone.
AliasAlreadyTaken added the
1. kind/enhancement
label 2022-01-22 01:48:34 +00:00
Member

a "shared" armor stand is already a request - #374

you can craft an anvil into a public version with a piece of paper.

there are a variety of doors, some of which are public, some of which are owned by a specific player, some of which are protected (shared by everyone in a region).

on blocky survival, i did end up implementing an override whereby unlocked chests became protected, and created explicit "public" chests. https://github.com/BlockySurvival/bls_custom/blob/master/custom_items/public_chests.lua

a "shared" armor stand is already a request - #374 you can craft an anvil into a public version with a piece of paper. there are a variety of doors, some of which are public, some of which are owned by a specific player, some of which are protected (shared by everyone in a region). on blocky survival, i *did* end up implementing an override whereby unlocked chests became protected, and created explicit "public" chests. https://github.com/BlockySurvival/bls_custom/blob/master/custom_items/public_chests.lua
Author

Nice. What i meant was to have a uniformity of behavior in a protected area where everything should be protected by default.
I imagine that the area protection system acts exclusively at the node level and therefore not prevent opening a chest and taking and putting items inside it. Instead each protected object as a locked chest has its own protection system indipendent of the areas.

Nice. What i meant was to have a uniformity of behavior in a protected area where everything should be protected by default. I imagine that the area protection system acts exclusively at the node level and therefore not prevent opening a chest and taking and putting items inside it. Instead each protected object as a locked chest has its own protection system indipendent of the areas.
Member

Here's the code I wrote to augment various items with inventories with protection:

https://github.com/BlockySurvival/bls_custom/blob/master/node_inventory_protection.lua

Here's the code I wrote to augment various items with inventories with protection: https://github.com/BlockySurvival/bls_custom/blob/master/node_inventory_protection.lua
flux added this to the flux's TODO list project 2022-07-02 19:32:19 +00:00
flux added the
4. step/discussion
label 2022-09-20 20:06:47 +00:00
flux added a new dependency 2022-10-28 19:33:44 +00:00
Member

Making open chests protected in protected areas would be a bad idea. Most advanced players use them to exchange items or as donation chests.

New players may not be aware of the existence of locked chests, but then...they don't know much about other things either and need to learn sooner or later. If they managed to protect their area, they're at least slightly advanced already.

Making open chests protected in protected areas would be a bad idea. Most advanced players use them to exchange items or as donation chests. New players may not be aware of the existence of locked chests, but then...they don't know much about other things either and need to learn sooner or later. If they managed to protect their area, they're at least slightly advanced already.
Member

Making open chests protected in protected areas would be a bad idea. Most advanced players use them to exchange items or as donation chests.

we wouldn't change the behavior of default chests w/out providing another solution for this. the point is to change the default behavior to something that's not as hostile to neophytes.

> Making open chests protected in protected areas would be a bad idea. Most advanced players use them to exchange items or as donation chests. we wouldn't change the behavior of default chests w/out providing another solution for this. the point is to change the default behavior to something that's not as hostile to neophytes.

I'd like to close this as "maybe" and solve this in the chests and doors unification issue: your-land/administration#172

I'd like to close this as "maybe" and solve this in the chests and doors unification issue: your-land/administration#172
AliasAlreadyTaken removed a dependency 2024-01-17 12:14:21 +00:00
AliasAlreadyTaken added
5. result/maybe
and removed
4. step/discussion
labels 2024-01-17 12:14:48 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: your-land/bugtracker#1378
No description provided.