BlueGit

timfa birdcourier

Files

birdcourier / src / main / resources / config.yml

config.yml

Passed 2a19b3da History
config.yml 3.1 KiB Download Raw
1visual:
2 entity-type: PARROT
3 silent: false
4
5flight:
6 speed-blocks-per-second: 10.0
7 # Virtual travel through unloaded chunks is this many times faster.
8 unloaded-speed-multiplier: 5.0
9 visible-chunk-margin: 0
10 preferred-height-above-ground: 10
11 direct-approach-distance: 15.0
12 delivery-distance: 2.0
13 # Allowed vertical band relative to the recipient's feet. This includes body/head
14 # height without allowing delivery from a normal floor above or below.
15 delivery-min-relative-y: -0.5
16 delivery-max-relative-y: 2.25
17 route-search-radius: 48
18 # Long trips are split into local pathfinding stages.
19 local-stage-distance: 28.0
20 # Inside this distance the courier computes the final detailed route.
21 local-approach-distance: 36.0
22
23 # Begin reverse pathfinding from the recipient toward a reachable loaded-region edge.
24 virtual-arrival-trigger-distance: 72.0
25 # Weighted A* explores fewer nodes at the cost of a slightly less optimal route.
26 # 1.0 is classic A*; 1.25-1.5 is usually a good performance range.
27 weighted-a-star: 1.35
28 maximum-path-nodes: 12000
29
30 # Limit expensive new route calculations across all active couriers.
31 maximum-pathfinds-per-tick: 1
32
33 # Delay before retrying after the actual movement corridor becomes blocked.
34 blocked-retry-delay-ticks: 4
35 path-recalculate-ticks: 14
36 water-cost: 6.0
37 lava-cost: 20.0
38
39unreachable:
40 wait-seconds: 20
41 retry-interval-ticks: 20
42 orbit-radius: 2.5
43
44portals:
45 enabled: true
46 search-radius: 100
47 # Dimension transfer happens only after the visible courier reaches this distance.
48 enter-distance: 3.0
49
50persistence:
51 autosave-interval-ticks: 100
52
53messages:
54 target-required: 'Usage: /send <online player>'
55 target-offline: 'That player is not online.'
56 cannot-send-self: 'You cannot send an item to yourself.'
57 empty-hand: 'Hold the item stack you want to send.'
58 sent: 'Your courier is on its way to {player}.'
59 returned: 'The courier is returning to you.'
60 delivered: 'A courier from {player} delivered {amount}x {item}.'
61 lost: 'The courier shipment was lost because neither player was available.'
62
63# Pathfinding failures inside loaded chunks stay visible and retry after this delay.
64# This also prevents one unreachable courier from consuming every pathfinding slot.
65# The existing unreachable.retry-interval-ticks value is used as the cooldown.
66
67
68# Delayed chunk cleanup gives Paper time to activate all entities after loading.
69# 60 ticks = 3 seconds.
70cleanup:
71 # Sweep all loaded worlds every 5 seconds as a second cleanup layer.
72 periodic-interval-ticks: 100
73
74 # Wait after a chunk loads before scanning it. 60 ticks = 3 seconds.
75 chunk-load-delay-ticks: 60
76
77 # Legacy ghost cleanup. Only courier-capable mobs with AI explicitly disabled
78 # are removed (unless they are the current visual of an active shipment).
79 # Legitimate mobs with normal AI are never removed by this fallback.
80 remove-all-ai-disabled-configured-type: true
81
82 # Deprecated unsafe heuristics. Kept for config compatibility but ignored by 1.1.3+.
83 remove-configured-type-with-any-courier-flag: false
84 remove-untagged-courier-like-entities: false