Skip to content

Configuration Reference

RunningArmy6 edited this page Nov 18, 2026 · 2 revisions

The Configuration Reference documents every configuration section currently defined in the SASL config.yml file for SecureAutoSmartLocks v2.8.2 — Event Horizon.

It explains the available options, their default values, and the parts of the plugin they control. This page is intended as a technical reference for server owners and administrators.

Scope: This page documents the existing configuration. Hardware-specific recommendations and performance profiles belong in the separate Performance Tuning Guide.


Table of Contents


Configuration Overview

SASL uses a YAML configuration file to control language selection, protection behavior, supported block categories, owner authorization, engine parameters, expiration handling, migration behavior, and chat visuals.

The current configuration contains these top-level sections:

Section Purpose
language Language selection and language-file behavior
settings General protection and interaction behavior
blocks Block categories eligible for automatic protection
owners UUID-based owner authorization list
performance General processing and engine limits
expiration Lock vulnerability and cleanup settings
migration-settings Dreadnought migration parameters
visuals Admiralty chat formatting

Configuration File Structure

language:
  ...

settings:
  ...

blocks:
  ...

owners:
  ...

performance:
  ...

expiration:
  ...

migration-settings:
  ...

visuals:
  ...

1. Language

Configuration path: language

Controls the default language, fallback language, and automatic language-file reload behavior.

Option Default Description
default "en" Language selected by default
fallback "en" Language used as the fallback
auto-reload true Enables the automatic language reload option

Supported Languages

The configuration currently documents these language codes:

Code Language
en English
tr Turkish
de German
fr French
es Spanish

Example

language:
  default: "en"
  fallback: "en"
  auto-reload: true

Important: Language codes must correspond to language files supported by the plugin.


2. Settings

Configuration path: settings

Controls SASL's general protection behavior and several block-interaction rules.

Option Default Description
auto-lock true Automatically protects eligible blocks when they are placed. When disabled, players can use /sasl lock to lock a target block manually.
owner-bypass-enabled true Allows UUIDs listed under owners to bypass normal lock restrictions.
first-boot-message true Controls whether the first-boot message is displayed.
smart-inventory-drop true Controls the smart inventory handling behavior when a protected container is broken.
direct-enderchest-drop true Allows an Ender Chest to drop as a block without requiring Silk Touch.
prevent-explosions true Enables protection against explosive interference affecting protected blocks.
prevent-hopper-transfer true Enables ownership-aware hopper and hopper-minecart transfer protection.
prevent-fire-burn true Prevents fire from burning protected structures.
prevent-redstone-trigger true Prevents redstone signals from triggering protected doors and mechanisms.

Automatic Locking

When auto-lock is enabled, eligible blocks are automatically protected when placed.

When it is disabled, the manual locking command becomes relevant:

/sasl lock

Owner Bypass

The owner-bypass-enabled option determines whether UUIDs listed in the owners section receive the configured owner bypass.

This is separate from ordinary lock ownership and trust relationships.

Smart Inventory Drop

The smart-inventory-drop option controls the plugin's smart inventory handling behavior during protected-container breaking.

The configuration comments describe the enabled behavior as transferring container contents directly into the player's inventory. When disabled, the configured behavior falls back to the normal world-drop handling path.

Ender Chest Drop

The direct-enderchest-drop option controls whether an Ender Chest drops as a complete block without Silk Touch.

When disabled, normal Minecraft drop mechanics apply.

Hopper Transfer Protection

The prevent-hopper-transfer option controls ownership-aware automation transfer protection.

When enabled, SASL checks ownership relationships involved in supported hopper and hopper-minecart transfers.

When disabled, the configuration allows hoppers to pull items from containers without ownership control.

For implementation details, see the Automation Chain documentation.

Example

settings:
  auto-lock: true
  owner-bypass-enabled: true
  first-boot-message: true
  smart-inventory-drop: true
  direct-enderchest-drop: true
  prevent-explosions: true
  prevent-hopper-transfer: true
  prevent-fire-burn: true
  prevent-redstone-trigger: true

3. Protected Blocks

Configuration path: blocks

Determines which block categories are eligible for SASL protection.

Each entry uses a Boolean value:

  • true — The category is enabled for protection.
  • false — The category is excluded from protection.

All categories are enabled in the current default configuration.

Storage Modules

Option Default
CHEST true
ENDER_CHEST true
SHULKER_BOX true

Thermal and Transit Modules

Option Default
FURNACE true
BLAST_FURNACE true
SMOKER true
BREWING_STAND true
COMPOSTER true
CRAFTER true
BARREL true
HOPPER true

Entrance and Access Modules

Option Default
DOORS true
TRAPDOORS true
FENCE_GATES true

Workbench and Utility Modules

Option Default
CRAFTING_TABLE true
ENCHANTING_TABLE true
SMITHING_TABLE true
GRINDSTONE true
LOOM true
CARTOGRAPHY_TABLE true
STONECUTTER true
FLETCHING_TABLE true
LECTERN true

Valuable and Decorative Blocks

Option Default
LODESTONE true
JUKEBOX true
BEACON true
NOTE_BLOCK true
CONDUIT true
FLOWER_POT true
BOOKSHELF true

Example

blocks:
  CHEST: true
  ENDER_CHEST: true
  SHULKER_BOX: true

  FURNACE: true
  BLAST_FURNACE: true
  SMOKER: true
  BREWING_STAND: true
  COMPOSTER: true
  CRAFTER: true
  BARREL: true
  HOPPER: true

  DOORS: true
  TRAPDOORS: true
  FENCE_GATES: true

  CRAFTING_TABLE: true
  ENCHANTING_TABLE: true
  SMITHING_TABLE: true
  GRINDSTONE: true
  LOOM: true
  CARTOGRAPHY_TABLE: true
  STONECUTTER: true
  FLETCHING_TABLE: true
  LECTERN: true

  LODESTONE: true
  JUKEBOX: true
  BEACON: true
  NOTE_BLOCK: true
  CONDUIT: true
  FLOWER_POT: true
  BOOKSHELF: true

Note: These entries control block-category eligibility. They do not represent individual player permissions or ownership records.


4. Owners

Configuration path: owners

Contains the UUID list used by SASL's owner-bypass and Admiralty-related checks.

Option Default Description
owners YOUR_UUID_HERE UUID entries recognized by the configured owner authorization system

The owner-bypass-enabled setting determines whether listed UUIDs can bypass normal lock restrictions.

Example

owners:
  - "YOUR_UUID_HERE"

Replace the placeholder with the intended player's Minecraft UUID.

Important: This section uses UUIDs rather than player names. The owners list is not the same as the owner of an individual protected block.


5. Performance

Configuration path: performance

Contains general processing settings and configuration values used by SASL's internal engines.

The current configuration includes:

  • General I/O and save-delay settings
  • Phoenix chunk-recovery parameters
  • Maximus cache and temporary-state limits
  • Executioner cleanup batch limits

General Performance

Option Default Description
io-threads -1 Uses automatic thread-count detection when set to -1.
save-delay 500 Bulk-save delay in milliseconds.

io-threads

Controls the configured I/O thread allocation.

The documented value -1 selects automatic detection rather than a manually specified thread count.

save-delay

Controls the delay used for bulk saving.

The default value is 500 milliseconds.

Phoenix Engine

Configuration prefix: performance.phoenix-

Phoenix handles chunk-load recovery and persistent lock-data reconstruction.

Option Default Unit Description
phoenix-debounce-ms 10000 Milliseconds Prevents repeated processing of the same chunk during the configured debounce period.
phoenix-tile-limit 5000 Entries Maximum TileEntity/container-machine threshold used during chunk processing.
phoenix-pdc-parse-limit 2000 Entries Maximum PDC lock entries parsed during an asynchronous loading phase.
phoenix-player-radar-enabled true Boolean Enables player-proximity verification for chunk processing.

phoenix-debounce-ms

Defines the cooldown used to prevent the same chunk from being processed repeatedly within a short period.

Default: 10000 milliseconds, or 10 seconds.

phoenix-tile-limit

Defines the configured TileEntity threshold used by Phoenix during chunk processing.

Default: 5000.

phoenix-pdc-parse-limit

Controls the number of PDC lock entries parsed during an asynchronous loading phase.

Default: 2000.

phoenix-player-radar-enabled

Controls whether Phoenix uses player-proximity verification when processing chunks.

Default: true.

Maximus Engine

Configuration prefix: performance.maximus-

Maximus maintains and cleans up runtime cache entries and temporary state used by SASL.

These settings control cache limits, temporary-data lifetimes, and cleanup batch size.

Option Default Unit Description
maximus-scheduled-ttl-seconds 30 Seconds TTL for scheduled chunk-flush entries.
maximus-pending-pdc-ttl-seconds 3600 Seconds TTL for pending PDC write payloads held in memory.
maximus-name-cache-limit 2000 Entries Maximum resolved player-name cache size before its configured limit handling is triggered.
maximus-hopper-cache-limit 250000 Entries Combined hopper-cache limit across worlds.
maximus-minecart-cache-limit 50000 Entries Maximum cached minecart ownership entries.
maximus-locks-cache-limit 10000 Entries Configured soft-cap for lock-cache entries.
maximus-purge-batch-limit 300 Entries Maximum keys processed per synchronous cleanup cycle.

Scheduled TTL

maximus-scheduled-ttl-seconds controls how long scheduled chunk-flush entries remain eligible for use before their TTL expires.

Default: 30 seconds.

Pending PDC TTL

maximus-pending-pdc-ttl-seconds controls the lifetime of pending asynchronous PDC write payloads held in memory.

Default: 3600 seconds, or 60 minutes.

Name Cache Limit

maximus-name-cache-limit controls the configured size limit for resolved player-name cache entries.

Default: 2000.

Hopper Cache Limit

maximus-hopper-cache-limit controls the combined hopper-cache threshold across worlds.

Default: 250000.

Minecart Cache Limit

maximus-minecart-cache-limit controls the configured maximum number of cached minecart ownership entries.

Default: 50000.

Locks Cache Limit

maximus-locks-cache-limit defines the configured soft-cap for lock-cache entries.

Default: 10000.

Purge Batch Limit

maximus-purge-batch-limit controls the maximum number of keys processed during a synchronous cleanup cycle.

Default: 300.

Executioner Engine

Configuration prefix: performance.executioner-

Executioner handles lock-removal and purge workflows.

Its batch configuration changes the maximum number of keys processed according to the server's current TPS range.

Option Default TPS condition Description
executioner-batch-high 64 TPS >= 19.5 Batch limit under high-performance conditions.
executioner-batch-med 32 TPS 18.5–19.5 Batch limit under moderate conditions.
executioner-batch-low 16 TPS 16.0–18.5 Batch limit under heavier load.
executioner-batch-critical 2 TPS < 16.0 Reduced batch limit under critical conditions.

Batch Behavior

The configured values represent the maximum number of keys Executioner attempts to process per applicable cycle.

Lower TPS conditions use smaller configured batches.

The current defaults are:

  • High: 64
  • Medium: 32
  • Low: 16
  • Critical: 2

Complete Performance Example

performance:
  io-threads: -1
  save-delay: 500

  phoenix-debounce-ms: 10000
  phoenix-tile-limit: 5000
  phoenix-pdc-parse-limit: 2000
  phoenix-player-radar-enabled: true

  maximus-scheduled-ttl-seconds: 30
  maximus-pending-pdc-ttl-seconds: 3600
  maximus-name-cache-limit: 2000
  maximus-hopper-cache-limit: 250000
  maximus-minecart-cache-limit: 50000
  maximus-locks-cache-limit: 10000
  maximus-purge-batch-limit: 300

  executioner-batch-high: 64
  executioner-batch-med: 32
  executioner-batch-low: 16
  executioner-batch-critical: 2

6. Expiration

Configuration path: expiration

Controls the time-based lock-management parameters used by Argus and the cleanup workflow handled by Executioner.

Option Default Unit Description
days-to-expire 30 Days Time before a lock is marked as VULNERABLE by Argus.
migration-grace-days 3 Days Grace period for unattended LWC-migrated locks before removal eligibility.
auto-purge-enabled true Boolean Enables automatic cleanup of expired locks.
batch-purge-flush-ms 10000 Milliseconds Interval used to flush batched purge operations to the repository and disk.
argus-keys-per-segment 200 Keys Number of keys processed in one Argus scan segment.
argus-period-ticks 2 Ticks Interval between incremental Argus scan segments.
argus-snapshot-period-ticks 200 Ticks Interval between online-player and ban-list snapshot refreshes.

Lock Vulnerability Period

days-to-expire defines the number of days before Argus marks a lock as VULNERABLE.

Default: 30 days.

This setting describes the vulnerability threshold. It should not be interpreted as an unconditional instruction to immediately delete every lock after 30 days.

Migration Grace Period

migration-grace-days defines the grace period associated with unattended locks migrated from LWC.

Default: 3 days.

Automatic Purging

auto-purge-enabled controls whether automatic cleanup of expired locks is enabled.

Default: true.

Executioner is responsible for the configured purge workflow.

Batch Purge Flush Interval

batch-purge-flush-ms defines the interval used to flush batched purge operations to the repository and disk.

Default: 10000 milliseconds, or 10 seconds.

Argus Scan Segments

Argus processes lock keys incrementally using the following settings:

Option Default Description
argus-keys-per-segment 200 Number of keys processed per scan segment.
argus-period-ticks 2 Tick interval between scan segments.
argus-snapshot-period-ticks 200 Tick interval between online-player and ban-list snapshot refreshes.

A Minecraft server normally runs at 20 ticks per second.

Therefore:

  • 2 ticks correspond to approximately 0.1 seconds.
  • 200 ticks correspond to approximately 10 seconds.

Example

expiration:
  days-to-expire: 30
  migration-grace-days: 3
  auto-purge-enabled: true
  batch-purge-flush-ms: 10000
  argus-keys-per-segment: 200
  argus-period-ticks: 2
  argus-snapshot-period-ticks: 200

7. Migration Settings

Configuration path: migration-settings

Controls Dreadnought's legacy-data migration parameters.

These settings define the engine's startup delay, ingestion batch limit, task timeout, and adaptive processing limits.

Option Default Unit Description
dreadnought-boot-delay-ticks 100 Ticks Delay before Dreadnought starts its migration initialization.
dreadnought-batch-limit 10000 Entries Maximum configured ingestion batch size.
dreadnought-task-timeout-seconds 600 Seconds Maximum configured waiting time for a migration batch to finish.
dreadnought-batch-high 60 Entries Processing limit under high TPS conditions.
dreadnought-batch-med 25 Entries Processing limit under moderate TPS conditions.
dreadnought-batch-low 10 Entries Processing limit under heavier TPS conditions.
dreadnought-batch-critical 2 Entries Processing limit under critical TPS conditions.

Boot Delay

dreadnought-boot-delay-ticks defines the initialization delay before Dreadnought starts.

Default: 100 ticks, or approximately 5 seconds.

Batch Limit

dreadnought-batch-limit controls the configured ingestion batch size used during migration.

Default: 10000 entries.

The configuration comments document a recommended range of 5000–15000.

Task Timeout

dreadnought-task-timeout-seconds defines the maximum configured waiting time for an individual migration batch.

Default: 600 seconds, or 10 minutes.

The configuration comments document a recommended range of 180–1200 seconds.

Adaptive Migration Batches

Dreadnought uses different batch limits depending on the current TPS range.

Option Default TPS condition
dreadnought-batch-high 60 TPS >= 19.5
dreadnought-batch-med 25 TPS 18.5–19.5
dreadnought-batch-low 10 TPS 17.0–18.5
dreadnought-batch-critical 2 TPS < 17.0

These values define the configured number of migration entries processed per micro-cycle.

Example

migration-settings:
  dreadnought-boot-delay-ticks: 100
  dreadnought-batch-limit: 10000
  dreadnought-task-timeout-seconds: 600

  dreadnought-batch-high: 60
  dreadnought-batch-med: 25
  dreadnought-batch-low: 10
  dreadnought-batch-critical: 2

8. Visuals

Configuration path: visuals

Controls the special chat formatting associated with UUIDs listed in the owners section.

Option Default Description
admiralty-chat-enabled false Enables the special Admiralty chat formatting option.
admiralty-prefix "&b&l[&3⚓ ADMIRALTY&b&l] &f" Prefix displayed before the relevant player's name.
admiralty-chat-color "&b" Color code used for the relevant chat message.

Admiralty Chat

When admiralty-chat-enabled is enabled, SASL uses the configured prefix and chat color for the relevant Admiralty chat formatting.

The prefix and color use Minecraft formatting codes.

Example

visuals:
  admiralty-chat-enabled: false
  admiralty-prefix: "&b&l[&3⚓ ADMIRALTY&b&l] &f"
  admiralty-chat-color: "&b"

Configuration Notes

Boolean Values

Several configuration options use Boolean values:

Value Meaning
true Enables the corresponding option.
false Disables the corresponding option.

Time Units

SASL configuration uses multiple time units.

Unit Meaning
ms Milliseconds
seconds Seconds
ticks Minecraft server ticks
days Days

At the normal Minecraft tick rate:

  • 20 ticks = approximately 1 second.
  • 100 ticks = approximately 5 seconds.
  • 200 ticks = approximately 10 seconds.

TPS-Based Processing

Executioner and Dreadnought contain separate adaptive batch configurations.

Their batch limits should not be confused with one another:

  • performance.executioner-* controls Executioner's purge batch limits.
  • migration-settings.dreadnought-batch-* controls Dreadnought's migration processing limits.

Configuration Changes

Always preserve YAML indentation when editing config.yml.

Incorrect indentation or invalid YAML formatting can prevent configuration values from being read as intended.

If a value is outside the validation range implemented by an engine, that engine may replace it with its fallback value.

Configuration vs. Runtime Performance

The values documented here describe configuration parameters. They are not performance guarantees, live health measurements, or proof that a server can safely handle a particular workload.

For hardware-related guidance, resource considerations, and configuration profiles, see the separate Performance Tuning Guide.


Related Documentation


SecureAutoSmartLocks — Configuration Reference

Protocol-S Development · RunningArmy6 · SASL v2.8.2 [Event Horizon]

Clone this wiki locally