Skip to content

Commit 37e0846

Browse files
authored
Add support for accepts-transfers and rate-limit server properties (#3550)
1 parent 1868cd0 commit 37e0846

File tree

2 files changed

+45
-41
lines changed

2 files changed

+45
-41
lines changed

docs/configuration/server-properties.md

Lines changed: 40 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -396,41 +396,43 @@ When using `docker run` from a bash shell, the entries must be quoted with the `
396396
397397
### Other server property mappings
398398
399-
| Environment Variable | Server Property |
400-
|-----------------------------------|-------------------------------------------------------------------------------------------------|
401-
| ALLOW_FLIGHT | [allow-flight](https://minecraft.wiki/w/Server.properties#allow-flight) |
402-
| ALLOW_NETHER | [allow-nether](https://minecraft.wiki/w/Server.properties#allow-nether) |
403-
| BROADCAST_CONSOLE_TO_OPS | [broadcast-console-to-ops](https://minecraft.wiki/w/Server.properties#broadcast-console-to-ops) |
404-
| BROADCAST_RCON_TO_OPS | [broadcast-rcon-to-ops](https://minecraft.wiki/w/Server.properties#broadcast-rcon-to-ops) |
405-
| BUG_REPORT_LINK | bug-report-link |
406-
| ENABLE_COMMAND_BLOCK | [enable-command-block](https://minecraft.wiki/w/Server.properties#enable-command-block) |
407-
| ENABLE_STATUS | enable-status |
408-
| ENFORCE_SECURE_PROFILE | enforce-secure-profile |
409-
| ENTITY_BROADCAST_RANGE_PERCENTAGE | entity-broadcast-range-percentage |
410-
| FORCE_GAMEMODE | [force-gamemode](https://minecraft.wiki/w/Server.properties#force-gamemode) |
411-
| FUNCTION_PERMISSION_LEVEL | function-permission-level |
412-
| GENERATE_STRUCTURES | [generate-structures](https://minecraft.wiki/w/Server.properties#generate-structures) |
413-
| HARDCORE | [hardcore](https://minecraft.wiki/w/Server.properties#hardcore) |
414-
| HIDE_ONLINE_PLAYERS | hide-online-players |
415-
| LOG_IPS | log-ips |
416-
| MAX_CHAINED_NEIGHBOR_UPDATES | max-chained-neighbor-updates |
417-
| MAX_PLAYERS | [max-players](https://minecraft.wiki/w/Server.properties#max-players) |
418-
| MAX_TICK_TIME | [max-tick-time](https://minecraft.wiki/w/Server.properties#max-tick-time) |
419-
| MAX_WORLD_SIZE | [max-world-size](https://minecraft.wiki/w/Server.properties#max-world-size) |
420-
| NETWORK_COMPRESSION_THRESHOLD | network-compression-threshold |
421-
| ONLINE_MODE | [online-mode](https://minecraft.wiki/w/Server.properties#online-mode) |
422-
| OP_PERMISSION_LEVEL | op-permission-level |
423-
| PAUSE_WHEN_EMPTY_SECONDS | pause-when-empty-seconds |
424-
| PLAYER_IDLE_TIMEOUT | player-idle-timeout |
425-
| PREVENT_PROXY_CONNECTIONS | prevent-proxy-connections |
426-
| PVP | [pvp](https://minecraft.wiki/w/Server.properties#pvp) |
427-
| REGION_FILE_COMPRESSION | region-file-compression |
428-
| RESOURCE_PACK_ID | resource-pack-id |
429-
| RESOURCE_PACK_PROMPT | resource-pack-prompt |
430-
| SERVER_NAME | [server-name](https://minecraft.wiki/w/Server.properties#server-name) |
431-
| SIMULATION_DISTANCE | simulation-distance |
432-
| SPAWN_MONSTERS | [spawn-monsters](https://minecraft.wiki/w/Server.properties#spawn-monsters) |
433-
| SPAWN_PROTECTION | [spawn-protection](https://minecraft.wiki/w/Server.properties#spawn-protection) |
434-
| SYNC_CHUNK_WRITES | sync-chunk-writes |
435-
| USE_NATIVE_TRANSPORT | use-native-transport |
436-
| VIEW_DISTANCE | [view-distance](https://minecraft.wiki/w/Server.properties#view-distance) |
399+
| Environment Variable | Server Property |
400+
|-----------------------------------|-------------------------------------------------------------------------------------------------------------------|
401+
| ACCEPTS_TRANSFERS | [accepts-transfers](https://minecraft.wiki/w/Server.properties#accepts-transfers) |
402+
| ALLOW_FLIGHT | [allow-flight](https://minecraft.wiki/w/Server.properties#allow-flight) |
403+
| ALLOW_NETHER | [allow-nether](https://minecraft.wiki/w/Server.properties#allow-nether) |
404+
| BROADCAST_CONSOLE_TO_OPS | [broadcast-console-to-ops](https://minecraft.wiki/w/Server.properties#broadcast-console-to-ops) |
405+
| BROADCAST_RCON_TO_OPS | [broadcast-rcon-to-ops](https://minecraft.wiki/w/Server.properties#broadcast-rcon-to-ops) |
406+
| BUG_REPORT_LINK | [bug-report-link](https://minecraft.wiki/w/Server.properties#bug-report-link) |
407+
| ENABLE_COMMAND_BLOCK | [enable-command-block](https://minecraft.wiki/w/Server.properties#enable-command-block) |
408+
| ENABLE_STATUS | [enable-status](https://minecraft.wiki/w/Server.properties#enable-status) |
409+
| ENFORCE_SECURE_PROFILE | [enforce-secure-profile](https://minecraft.wiki/w/Server.properties#enforce-secure-profile) |
410+
| ENTITY_BROADCAST_RANGE_PERCENTAGE | [entity-broadcast-range-percentage](https://minecraft.wiki/w/Server.properties#entity-broadcast-range-percentage) |
411+
| FORCE_GAMEMODE | [force-gamemode](https://minecraft.wiki/w/Server.properties#force-gamemode) |
412+
| FUNCTION_PERMISSION_LEVEL | [function-permission-level](https://minecraft.wiki/w/Server.properties#function-permission-level) |
413+
| GENERATE_STRUCTURES | [generate-structures](https://minecraft.wiki/w/Server.properties#generate-structures) |
414+
| HARDCORE | [hardcore](https://minecraft.wiki/w/Server.properties#hardcore) |
415+
| HIDE_ONLINE_PLAYERS | [hide-online-players](https://minecraft.wiki/w/Server.properties#hide-online-players) |
416+
| LOG_IPS | [log-ips](https://minecraft.wiki/w/Server.properties#log-ips) |
417+
| MAX_CHAINED_NEIGHBOR_UPDATES | [max-chained-neighbor-updates](https://minecraft.wiki/w/Server.properties#max-chained-neighbor-updates) |
418+
| MAX_PLAYERS | [max-players](https://minecraft.wiki/w/Server.properties#max-players) |
419+
| MAX_TICK_TIME | [max-tick-time](https://minecraft.wiki/w/Server.properties#max-tick-time) |
420+
| MAX_WORLD_SIZE | [max-world-size](https://minecraft.wiki/w/Server.properties#max-world-size) |
421+
| NETWORK_COMPRESSION_THRESHOLD | [network-compression-threshold](https://minecraft.wiki/w/Server.properties#network-compression-threshold) |
422+
| ONLINE_MODE | [online-mode](https://minecraft.wiki/w/Server.properties#online-mode) |
423+
| OP_PERMISSION_LEVEL | [op-permission-level](https://minecraft.wiki/w/Server.properties#op-permission-level) |
424+
| PAUSE_WHEN_EMPTY_SECONDS | [pause-when-empty-seconds](https://minecraft.wiki/w/Server.properties#pause-when-empty-seconds) |
425+
| PLAYER_IDLE_TIMEOUT | [player-idle-timeout](https://minecraft.wiki/w/Server.properties#player-idle-timeout) |
426+
| PREVENT_PROXY_CONNECTIONS | [prevent-proxy-connections](https://minecraft.wiki/w/Server.properties#prevent-proxy-connections) |
427+
| PVP | [pvp](https://minecraft.wiki/w/Server.properties#pvp) |
428+
| RATE_LIMIT | [rate-limit](https://minecraft.wiki/w/Server.properties#rate-limit) |
429+
| REGION_FILE_COMPRESSION | [region-file-compression](https://minecraft.wiki/w/Server.properties#region-file-compression) |
430+
| RESOURCE_PACK_ID | [resource-pack-id](https://minecraft.wiki/w/Server.properties#resource-pack-id) |
431+
| RESOURCE_PACK_PROMPT | [resource-pack-prompt](https://minecraft.wiki/w/Server.properties#resource-pack-prompt) |
432+
| SERVER_NAME | [server-name](https://minecraft.wiki/w/Server.properties#server-name) |
433+
| SIMULATION_DISTANCE | [simulation-distance](https://minecraft.wiki/w/Server.properties#simulation-distance) |
434+
| SPAWN_MONSTERS | [spawn-monsters](https://minecraft.wiki/w/Server.properties#spawn-monsters) |
435+
| SPAWN_PROTECTION | [spawn-protection](https://minecraft.wiki/w/Server.properties#spawn-protection) |
436+
| SYNC_CHUNK_WRITES | [sync-chunk-writes](https://minecraft.wiki/w/Server.properties#sync-chunk-writes) |
437+
| USE_NATIVE_TRANSPORT | [use-native-transport](https://minecraft.wiki/w/Server.properties#use-native-transport) |
438+
| VIEW_DISTANCE | [view-distance](https://minecraft.wiki/w/Server.properties#view-distance) |

files/property-definitions.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
2+
"accepts-transfers": {"env": "ACCEPTS_TRANSFERS"},
23
"allow-flight": {"env": "ALLOW_FLIGHT"},
34
"allow-nether": {"env": "ALLOW_NETHER"},
4-
"bug-report-link": {"env": "BUG_REPORT_LINK"},
55
"announce-player-achievements": {"env": "ANNOUNCE_PLAYER_ACHIEVEMENTS"},
66
"broadcast-console-to-ops": {"env": "BROADCAST_CONSOLE_TO_OPS"},
77
"broadcast-rcon-to-ops": {"env": "BROADCAST_RCON_TO_OPS"},
8+
"bug-report-link": {"env": "BUG_REPORT_LINK"},
89
"difficulty": {"env": "DIFFICULTY"},
910
"enable-command-block": {"env": "ENABLE_COMMAND_BLOCK"},
1011
"enable-jmx-monitoring": {"env": "ENABLE_JMX"},
@@ -42,14 +43,15 @@
4243
"previews-chat": {"env": "PREVIEWS_CHAT"},
4344
"pvp": {"env": "PVP"},
4445
"query.port": {"env": "QUERY_PORT"},
46+
"rate-limit": {"env": "RATE_LIMIT"},
4547
"rcon.password": {"env": "RCON_PASSWORD"},
4648
"rcon.port": {"env": "RCON_PORT"},
4749
"region-file-compression": {"env": "REGION_FILE_COMPRESSION"},
48-
"resource-pack": {"env": "RESOURCE_PACK"},
50+
"require-resource-pack": {"env": "RESOURCE_PACK_ENFORCE"},
4951
"resource-pack-id": {"env": "RESOURCE_PACK_ID"},
5052
"resource-pack-prompt": {"env": "RESOURCE_PACK_PROMPT"},
5153
"resource-pack-sha1": {"env": "RESOURCE_PACK_SHA1"},
52-
"require-resource-pack": {"env": "RESOURCE_PACK_ENFORCE"},
54+
"resource-pack": {"env": "RESOURCE_PACK"},
5355
"server-ip": {"env": "SERVER_IP"},
5456
"server-name": {"env": "SERVER_NAME"},
5557
"server-port": {"env": "SERVER_PORT"},

0 commit comments

Comments
 (0)