Skip to main content
In addition to vision, the Vanilla extension provides several sensory-based detection activities. These activities proactive scan for nearby players based on specific conditions and trigger actions.

Common Features

All detection activities support the following:
  • One-Time Trigger: Actions are executed once when a player is first detected. The action will only trigger again if the player leaves the detection range and then returns.
  • Criteria: Filter which players can be detected.

Hearing Activity

Detects players who are moving or making noise nearby. Entry ID: hearing_activity
FieldTypeDefaultDescription
radiusDouble10.0Hearing range.
triggersList<Ref<TriggerableEntry>>[]Actions to trigger when heard.
criteriaList<Criteria>[]Conditions for detection.

Smell Activity

Detects players within a certain radius. Entry ID: smell_activity
FieldTypeDefaultDescription
radiusDouble10.0Smell range.
triggersList<Ref<TriggerableEntry>>[]Actions to trigger when smelled.
criteriaList<Criteria>[]Conditions for detection.

Equipment Detection Activity

Detects players wearing specific armor or holding specific items. Entry ID: equipment_detection_activity
FieldTypeDefaultDescription
materialMaterialIRON_CHESTPLATEMaterial to detect.
radiusDouble10.0Detection range.
triggersList<Ref<TriggerableEntry>>[]Actions to trigger when detected.
criteriaList<Criteria>[]Conditions for detection.

Health Detection Activity

Detects players with health below a certain threshold. Entry ID: health_detection_activity
FieldTypeDefaultDescription
thresholdDouble10.0Health threshold (in half-hearts).
radiusDouble10.0Detection range.
triggersList<Ref<TriggerableEntry>>[]Actions to trigger when detected.
criteriaList<Criteria>[]Conditions for detection.

Invisible Player Detection Activity

Detects invisible players who are holding a revealing item. Entry ID: invisible_player_detection_activity
FieldTypeDefaultDescription
materialMaterialGLOW_BERRIESItem the player must hold to be detected.
radiusDouble10.0Detection range.
detectionRadiusDouble30.0Origin return radius.
triggersList<Ref<TriggerableEntry>>[]Actions to trigger when detected.
criteriaList<Criteria>[]Conditions for detection.