Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
73 lines (60 loc) · 2.69 KB
/
Copy path.env.example
File metadata and controls
73 lines (60 loc) · 2.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# Copy this file to .env, then edit values if needed.
# Internal cache/profile name used by prismarine-auth. This is not your
# Microsoft account name or password.
BRIDGE_USERNAME=bedrock-realm-bridge
# Choose ONE of these, or leave all blank to pick from your joined/owned Realms list.
REALM_ID=
REALM_INVITE=
REALM_INDEX=0
# Optional exact Bedrock version. Leave blank to use bedrock-protocol's current default.
# If you get packet parser/version errors after connecting, set this to the exact version shown by Minecraft for Windows.
BEDROCK_VERSION=
# Realms sometimes does not answer bedrock-protocol's pre-connect RakNet ping even when the Realm is joinable.
# true = skip the advertisement ping and attempt the authenticated connection directly.
SKIP_PING=true
# Bedrock transport and Realm API deadlines. These prevent a failed join from
# sitting on Joining World indefinitely. Set REALM_JOIN_MAX_ATTEMPTS=0 only
# when deliberately diagnosing a Realms outage from a terminal.
CONNECT_TIMEOUT_MS=15000
REALM_LIST_TIMEOUT_MS=120000
REALM_LOOKUP_TIMEOUT_MS=45000
REALM_ENDPOINT_TIMEOUT_MS=45000
REALM_JOIN_MAX_ATTEMPTS=3
REALM_JOIN_ATTEMPT_TIMEOUT_MS=12000
REALM_JOIN_RETRY_BASE_MS=1000
REALM_JOIN_RETRY_MAX_MS=4000
BEDROCK_SERVICES_AUTH_TIMEOUT_MS=110000
# jsp-raknet avoids native build-tool issues on Windows. It may be slower than raknet-native.
RAKNET_BACKEND=jsp-raknet
# Packet/state logging.
LOG_PACKET_NAMES=true
LOG_PACKET_JSON=false
LOG_ALL_PACKETS=false
PACKET_LOG_DIR=packet-logs
# probe-realm exits after this many seconds after spawn. 0 = stay connected.
PROBE_SECONDS=90
# Java Edition LAN facade. This is the local server your Java client will see/join.
JAVA_LAN_HOST=0.0.0.0
JAVA_LAN_PORT=25565
JAVA_LAN_MOTD=JavaRock
# Leave blank to use the newest release bundled in minecraft-data.
JAVA_VERSION_NAME=
JAVA_PROTOCOL_VERSION=
# The supported gameplay path uses ViaProxy/ViaBedrock.
JAVA_FACADE_MODE=via-bedrock-relay
JAVA_COMPAT_MODE=viaproxy
# ViaProxy fronts the local Bedrock relay for Java Edition. ViaProxy 3.4.13
# translates Bedrock 1.26.45. Leave the upstream value blank so
# JavaRock uses bedrock-protocol's current Realm version.
VIAPROXY_BEDROCK_TARGET_VERSION=Bedrock 1.26.45
BEDROCK_RELAY_VERSION=1.26.45
BEDROCK_RELAY_UPSTREAM_VERSION=
# Print raw Realm getAddress() data and normalized host/port.
DEBUG_REALM_ADDRESS=false
# Direct Bedrock server probe mode. This is for normal Bedrock Dedicated Servers/LAN servers, not modern Realms.
BEDROCK_SERVER_HOST=
BEDROCK_SERVER_PORT=19132
# Modern Realms may return a NetherNet GUID instead of a RakNet host. Leave this false/blank.
# true only reproduces the old DNS ENOTFOUND failure for debugging.
ALLOW_UUID_REALM_ENDPOINT=false
DEBUG_FATAL_STACK=false