Skip to main content

Privacy Option

The privacy option controls who can interact with a structure after it is created.

This is a premium feature.

Basic example​

options:
privacy:
type: OwnerOnly

When a player creates the structure, they become the owner.

Privacy types​

TypeDescription
OwnerOnlyOnly the owner can interact with the structure.
PublicThe structure has an owner but is public.
AllowAllAny player can interact.

Owner-only structure​

options:
privacy:
type: OwnerOnly

Use this for personal altars, private generators, or player-owned crafting stations.

Public structure​

options:
privacy:
type: Public

Use this for shared structures that still need an owner.

Allow everyone​

options:
privacy:
type: AllowAll

Use this for spawn structures, public crafting stations, or server-wide altars.

Changing privacy with commands​

/structory option privacy set <instance-uuid> OwnerOnly
/structory option privacy set <instance-uuid> Public
/structory option privacy set <instance-uuid> AllowAll

For public structures, you can change the owner:

/structory option privacy edit public owner <instance-uuid> <player>
/structory option privacy edit public owneruuid <instance-uuid> <player-uuid>

Finding the instance UUID​

Instance data is saved in:

plugins/Structory/instances/

The file name is usually the structure instance UUID.

Use caseRecommended type
Player-owned crafting stationOwnerOnly
Server spawn altarAllowAll
Guild or shared structurePublic or AllowAll depending on your rules
Reward structure placed by staffAllowAll