- **Fixed massive console spam**
`[AutoLook][Watchdog] NPC X has pitch=... resetting…` no longer floods logs.
→ Added new toggle: `autolook.watchdog-enabled` (OFF by default).
IN CONFIG.YML UNDER AUTOLOOK :
Code (YAML):
autolook
:
# BUKKIT = current behavior (teleport / setRotation)
# PACKET = ProtocolLib packet rotation (lighter & smoother)
mode
: PACKET
# Watchdog that forces pitch back to 0 if some other plugin rotates NPCs
# Default: false (disabled to avoid console spam)
watchdog-enabled
: false
period-ticks
: 2
# update every 2 ticks (~0.1s)
max-step-degrees
: 25.0
# higher = turns faster toward player
max-distance
: 100.0
# max distance to lock on a player
# Valeur par défaut si aucun modèle spécifique n’est défini
default-yaw-offset
: 0.0
# Offsets spécifiques par blueprint ModelEngine (clé = blueprint / npc.getName())
modelengine-yaw-offsets:
dummy_model
: -90.0
# dragon_blueprint: 180.0
# guard_npc: -90.0
useJsonStorage
: false
useBackupFile
: true
ADD watchdog-enabled: false