45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
op-bypass: true
|
|
permission-bypass: "farmguard.bypass"
|
|
|
|
alert-console: true
|
|
alert-ops: true
|
|
|
|
detection:
|
|
check-period-ticks: 100
|
|
window-seconds: 180
|
|
min-actions: 80
|
|
max-camera-movement: 12.0
|
|
max-distance-moved: 6.0
|
|
max-interval-deviation-ms: 90
|
|
suspicion-increase: 15
|
|
suspicion-decrease: 5
|
|
alert-threshold: 70
|
|
action-threshold: 90
|
|
alert-cooldown-seconds: 300
|
|
action-cooldown-seconds: 300
|
|
|
|
checks:
|
|
attack: true
|
|
interact: true
|
|
block-break: true
|
|
block-place: false
|
|
item-consume: false
|
|
animation: true
|
|
|
|
messages:
|
|
op-alert: "&c[FarmGuard] &e%player% &cmay be using unattended repetitive actions. Score=&e%score%&c Actions=&e%actions%&c Camera=&e%camera%&c Move=&e%move%&c Deviation=&e%deviation%"
|
|
console-log: "[FarmGuard] %player% flagged. Score=%score% Actions=%actions% Camera=%camera% Move=%move% Deviation=%deviation%"
|
|
kick-message: "&cSuspicious unattended repetitive activity detected."
|
|
|
|
on-alert:
|
|
- type: OP_ALERT
|
|
- type: CONSOLE_LOG
|
|
|
|
on-action: []
|
|
# Example:
|
|
# on-action:
|
|
# - type: CONSOLE_COMMAND
|
|
# command: "cmi warp %player% checkroom"
|
|
# - type: KICK
|
|
# message: "&cPlease contact staff."
|