-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker.env
266 lines (209 loc) · 13.1 KB
/
docker.env
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
#####################
### DOCKER-GEYSER ###
#####################
# List of extensions to download, separated by newlines
EXTENSIONS="
"
# List of Bedrock Edition resource packs to download, separated by newlines
RESOURCE_PACKS="
"
###################
## GEYSER CONFIG ##
###################
# The IP address that will listen for connections.
# Generally, you should only uncomment and change this if you want to limit what IPs can connect to your server.
BEDROCK_ADDRESS=0.0.0.0
# The port that will listen for connections
BEDROCK_PORT=19132
# Some hosting services change your Java port everytime you start the server and require the same port to be used for Bedrock.
# This option makes the Bedrock port the same as the Java port every time you start the server.
# This option is for the plugin version only.
BEDROCK_CLONE_REMOTE_PORT=false
# The MOTD that will be broadcasted to Minecraft: Bedrock Edition clients. This is irrelevant if "PASSTHROUGH_MOTD" is set to true
# If either of these are empty, the respective string will default to "Geyser"
BEDROCK_MOTD1="Geyser"
BEDROCK_MOTD2="Another Geyser server."
# The Server Name that will be sent to Minecraft: Bedrock Edition clients. This is visible in both the pause menu and the settings menu.
BEDROCK_SERVER_NAME="Geyser"
# How much to compress network traffic to the Bedrock client. The higher the number, the more CPU usage used, but
# the smaller the bandwidth used. Does not have any effect below -1 or above 9. Set to -1 to disable.
BEDROCK_COMPRESSION_LEVEL=6
# The port to broadcast to Bedrock clients with the MOTD that they should use to connect to the server.
# DO NOT uncomment and change this unless Geyser runs on a different internal port than the one that is used to connect.
#BEDROCK_BROADCAST_PORT=19132
# Whether to enable PROXY protocol or not for clients. You DO NOT WANT this feature unless you run UDP reverse proxy
# in front of your Geyser instance.
BEDROCK_ENABLE_PROXY_PROTOCOL=false
# A list of allowed PROXY protocol speaking proxy IP addresses/subnets. Only effective when "BEDROCK_ENABLE_PROXY_PROTOCOL" is enabled, and
# should really only be used when you are not able to use a proper firewall (usually true with shared hosting providers etc.).
# Keeping this list empty means there is no IP address whitelist.
# IP addresses, subnets, and links to plain text files are supported.
#BEDROCK_PROXY_PROTOCOL_WHITELISTED_IPS="
# 127.0.0.1
# 172.18.0.0/16
# https://example.com/whitelist.txt
#"
# The IP address of the remote (Java Edition) server
# If it is "auto", for standalone version the remote address will be set to 127.0.0.1,
# for plugin versions, it is recommended to keep this as "auto" so Geyser will automatically configure address, port, and auth-type.
# Leave as "auto" if floodgate is installed.
REMOTE_ADDRESS=auto
# The port of the remote (Java Edition) server
# For plugin versions, if address has been set to "auto", the port will also follow the server's listening port.
REMOTE_PORT=25565
# Authentication type. Can be offline, online, or floodgate (see https://github.com/GeyserMC/Geyser/wiki/Floodgate).
# For plugin versions, it's recommended to keep the `REMOTE_ADDRESS` field to "auto" so Floodgate support is automatically configured.
# If Floodgate is installed and `REMOTE_ADDRESS` is set to "auto", then "REMOTE_AUTH_TYPE=floodgate" will automatically be used.
REMOTE_AUTH_TYPE=online
# Whether to enable PROXY protocol or not while connecting to the server.
# This is useful only when:
# 1) Your server supports PROXY protocol (it probably doesn't)
# 2) You run Velocity or BungeeCord with the option enabled in the proxy's main config.
# IF YOU DON'T KNOW WHAT THIS IS, DON'T TOUCH IT!
REMOTE_USE_PROXY_PROTOCOL=false
# Forward the hostname that the Bedrock client used to connect over to the Java server
# This is designed to be used for forced hosts on proxies
REMOTE_FORWARD_HOSTNAME=false
# Floodgate uses encryption to ensure use from authorised sources.
# This should point to the public key generated by Floodgate (BungeeCord, Spigot or Velocity)
# You can ignore this when not using Floodgate.
# If you're using a plugin version of Floodgate on the same server, the key will automatically be picked up from Floodgate.
FLOODGATE_KEY_FILE=key.pem
# For online mode authentication type only.
# Stores a list of Bedrock players that should have their Java Edition account saved after login.
# This saves a token that can be reused to authenticate the player later. This does not save emails or passwords,
# but you should still be cautious when adding to this list and giving others access to this Geyser instance's files.
# Removing a name from this list will delete its cached login information on the next Geyser startup.
# The file that tokens will be saved in is in the same folder as this config, named "saved-refresh-tokens.json".
SAVED_USER_LOGINS="
ThisExampleUsernameShouldBeLongEnoughToNeverBeAnXboxUsername
ThisOtherExampleUsernameShouldAlsoBeLongEnough
"
# Specify how many seconds to wait while user authorizes Geyser to access their Microsoft account.
# User is allowed to disconnect from the server during this period.
PENDING_AUTHENTICATION_TIMEOUT=120
# Bedrock clients can freeze when opening up the command prompt for the first time if given a lot of commands.
# Disabling this will prevent command suggestions from being sent and solve freezing for Bedrock clients.
COMMAND_SUGGESTIONS=true
# The following three options enable "ping passthrough" - the MOTD, player count and/or protocol name gets retrieved from the Java server.
# Relay the MOTD from the remote server to Bedrock players.
PASSTHROUGH_MOTD=true
# Relay the player count and max players from the remote server to Bedrock players.
PASSTHROUGH_PLAYER_COUNTS=true
# Enable LEGACY ping passthrough. There is no need to enable this unless your MOTD or player count does not appear properly.
# This option does nothing on standalone.
LEGACY_PING_PASSTHROUGH=false
# How often to ping the remote server, in seconds. Only relevant for standalone or legacy ping passthrough.
# Increase if you are getting BrokenPipe errors.
PING_PASSTHROUGH_INTERVAL=3
# Whether to forward player ping to the server. While enabling this will allow Bedrock players to have more accurate
# ping, it may also cause players to time out more easily.
FORWARD_PLAYER_PING=false
# Maximum amount of players that can connect. This is only visual at this time and does not actually limit player count.
MAX_PLAYERS=100
# If debug messages should be sent through console
DEBUG_MODE=false
# Allow a fake cooldown indicator to be sent. Bedrock players otherwise do not see a cooldown as they still use 1.8 combat.
# Please note: if the cooldown is enabled, some users may see a black box during the cooldown sequence, like below:
# https://cdn.discordapp.com/attachments/613170125696270357/957075682230419466/Screenshot_from_2022-03-25_20-35-08.png
# This can be disabled by going into Bedrock settings under the accessibility tab and setting "Text Background Opacity" to 0
# This setting can be set to "title", "actionbar" or "false"
SHOW_COOLDOWN=title
# Controls if coordinates are shown to players.
SHOW_COORDINATES=true
# Whether Bedrock players are blocked from performing their scaffolding-style bridging.
DISABLE_BEDROCK_SCAFFOLDING=false
# If set, when a Bedrock player performs any emote, it will swap the offhand and mainhand items, just like the Java Edition keybind
# There are three options this can be set to:
# disabled - the default/fallback, which doesn't apply this workaround
# no-emotes - emotes will NOT be sent to other Bedrock clients and offhand will be swapped. This effectively disables all emotes from being seen.
# emotes-and-offhand - emotes will be sent to Bedrock clients and offhand will be swapped
EMOTE_OFFHAND_WORKAROUND=disabled
# The default locale if we dont have the one the client requested. Uncomment to not use the default system language.
#DEFAULT_LOCALE=en_us
# Specify how many days images will be cached to disk to save downloading them from the internet.
# A value of 0 is disabled. (Default: 0)
CACHE_IMAGES=0
# Allows custom skulls to be displayed. Keeping them enabled may cause a performance decrease on older/weaker devices.
ALLOW_CUSTOM_SKULLS=true
# The maximum number of custom skulls to be displayed per player. Increasing this may decrease performance on weaker devices.
# Setting this to -1 will cause all custom skulls to be displayed regardless of distance or number.
MAX_VISIBLE_CUSTOM_SKULLS=128
# The radius in blocks around the player in which custom skulls are displayed.
CUSTOM_SKULL_RENDER_DISTANCE=32
# Whether to add any items and blocks which normally does not exist in Bedrock Edition.
# This should only need to be disabled if using a proxy that does not use the "transfer packet" style of server switching.
# If this is disabled, furnace minecart items will be mapped to hopper minecart items.
# Geyser's block, item, and skull mappings systems will also be disabled.
# This option requires a restart of Geyser in order to change its setting.
ADD_NON_BEDROCK_ITEMS=true
# Bedrock prevents building and displaying blocks above Y127 in the Nether.
# This config option works around that by changing the Nether dimension ID to the End ID.
# The main downside to this is that the entire Nether will have the same red fog rather than having different fog for each biome.
ABOVE_BEDROCK_NETHER_BUILDING=false
# Force clients to load all resource packs if there are any.
# If set to false, it allows the user to connect to the server even if they don't
# want to download the resource packs.
FORCE_RESOURCE_PACKS=true
# Allows Xbox achievements to be unlocked.
XBOX_ACHIEVEMENTS_ENABLED=false
# Whether player IP addresses will be logged by the server.
LOG_PLAYER_IP_ADDRESSES=true
# Whether to alert the console and operators that a new Geyser version is available that supports a Bedrock version
# that this Geyser version does not support. It's recommended to keep this option enabled, as many Bedrock platforms
# auto-update.
NOTIFY_ON_NEW_BEDROCK_UPDATE=true
# Which item to use to mark unavailable slots in a Bedrock player inventory. Examples of this are the 2x2 crafting grid while in creative,
# or custom inventory menus with sizes different from the usual 3x9. A barrier block is the default item.
UNUSABLE_SPACE_BLOCK=minecraft:barrier
# bStats is a stat tracker that is entirely anonymous and tracks only basic information
# about Geyser, such as how many people are online, how many servers are using Geyser,
# what OS is being used, etc. You can learn more about bStats here: https://bstats.org/.
# https://bstats.org/plugin/server-implementation/GeyserMC
# If metrics should be enabled
METRICS_ENABLED=true
# UUID of server, don't change!
METRICS_UUID=
# Geyser updates the Scoreboard after every Scoreboard packet, but when Geyser tries to handle
# a lot of scoreboard packets per second can cause serious lag.
# This option allows you to specify after how many Scoreboard packets per seconds
# the Scoreboard updates will be limited to four updates per second.
SCOREBOARD_PACKET_THRESHOLD=20
# Allow connections from ProxyPass and Waterdog.
# See https://www.spigotmc.org/wiki/firewall-guide/ for assistance - use UDP instead of TCP.
ENABLE_PROXY_CONNECTIONS=false
# The internet supports a maximum MTU of 1492 but could cause issues with packet fragmentation.
# 1400 is the default.
MTU=1400
# Whether to connect directly into the Java server without creating a TCP connection.
# This should only be disabled if a plugin that interfaces with packets or the network does not work correctly with Geyser.
# If enabled on plugin versions, the remote address and port sections are ignored
# If disabled on plugin versions, expect performance decrease and latency increase
USE_DIRECT_CONNECTION=true
# Whether Geyser should attempt to disable compression for Bedrock players. This should be a benefit as there is no need to compress data
# when Java packets aren't being handled over the network.
# This requires use-direct-connection to be true.
DISABLE_COMPRESSION=true
###################
## CUSTOM SKULLS ##
###################
# Java player usernames
# Skins will be updated when Geyser starts and players will have to re-download
# the resource pack if any players had changed their skin.
#PLAYER_USERNAMES="
# GeyserMC
#"
# Java player UUIDs
# Skins will be updated when Geyser starts and players will have to re-download
# the resource pack if any players had changed their skin.
#PLAYER_UUIDS="
# 8b8d8e8f-2759-47c6-acb5-5827de8a72b8
#"
# The long string of characters found in the NBT of custom player heads
#PLAYER_PROFILES="
# ewogICJ0aW1lc3RhbXAiIDogMTY1NzMyMjIzOTgzMywKICAicHJvZmlsZUlkIiA6ICJjZGRiZTUyMGQwNDM0YThiYTFjYzlmYzkyZmRlMmJjZiIsCiAgInByb2ZpbGVOYW1lIiA6ICJBbWJlcmljaHUiLAogICJ0ZXh0dXJlcyIgOiB7CiAgICAiU0tJTiIgOiB7CiAgICAgICJ1cmwiIDogImh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTkwNzkwYzU3ZTE4MWVkMTNhZGVkMTRjNDdlZTJmN2M4ZGUzNTMzZTAxN2JhOTU3YWY3YmRmOWRmMWJkZTk0ZiIsCiAgICAgICJtZXRhZGF0YSIgOiB7CiAgICAgICAgIm1vZGVsIiA6ICJzbGltIgogICAgICB9CiAgICB9CiAgfQp9
#"
# The hash of the skin on Minecraft's skin server (http://textures.minecraft.net/texture/HASH)
#SKIN_HASHES="
# a90790c57e181ed13aded14c47ee2f7c8de3533e017ba957af7bdf9df1bde94f
#"