Make smallest area concept optional (#80)

This restores the behaviour to before #79.
This commit is contained in:
Luke aka SwissalpS
2024-10-01 17:54:47 +02:00
committed by GitHub
parent 9b6fea1473
commit d2b227eca6
2 changed files with 45 additions and 24 deletions

View File

@ -3,6 +3,20 @@
# Static paths do not work well with settings
#areas.filename (Configuration file path) string (world_path)/areas.dat
# Use smallest area volume precedence concept. (experimental; may change)
#
# If set to `true`:
# The interaction permission is defined by the smallest area volume that
# contains the interaction position. Granting access to areas is achieved
# by factions instead of using `/add_owner`.
# This allows players to have private areas within a greater open/shared
# area and also define open/shared areas within those private areas.
# If set to `false`: (default)
# Interacting is permitted if the interaction position resides in any of the
# player's own areas, shared or open areas.
# This permission is not impacted by more restrictive, intersecting areas.
areas.use_smallest_area_precedence (Smallest area rules) bool false
# Allow players with a privilege create their own areas using /protect
# within the specified size and amount limits.
areas.self_protection (Self protection) bool false