Skip to content

Commit 2f73388

Browse files
olijeffers0nLeguan16Luccboy
authored
feat: 1.20.5 updates (#364)
Document various 1.20.5 changes --------- Co-authored-by: leguan <59799222+Leguan16@users.noreply.github.com> Co-authored-by: Luccboy <58391278+Luccboy@users.noreply.github.com>
1 parent 37597a0 commit 2f73388

File tree

7 files changed

+25
-13
lines changed

7 files changed

+25
-13
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ multiple places, and if they change, it is important to change them in all place
165165
our `Property` component to embed these values into the documentation. An example of this would be:
166166

167167
```jsx
168-
<Property name="PAPER_JAVA_RECOMMENDED" />
168+
<Property name="PAPER_JAVA_MIN" />
169169
```
170170

171171
This will embed the value of the property into the documentation, and if it changes, it will be changed in all places.

config-specs/paper/server-properties.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
accept-transfers:
2+
default: "false"
3+
description: "Whether this server accepts transfers from other servers using the transfer command/packet. If this is set to false, the server will disconnect the client."
14
allow-flight:
25
default: "false"
36
description: >
@@ -167,6 +170,11 @@ rcon.password:
167170
rcon.port:
168171
default: "25575"
169172
description: "The port to start the rcon server on."
173+
region-file-compression:
174+
default: "deflate"
175+
description: >
176+
Specifies the compression type used to compress region files. Possible values are: "deflate", "lz4" and "none".
177+
If set to "none", region files will take up significantly more disk space, but it might make sense together with filesystem-level compression.
170178
require-resource-pack:
171179
default: "false"
172180
description: "If true, a player must have the given resource pack to connect. They will be kicked if they do not have it."

config-specs/properties.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"PAPER_JAVA_MIN": "17",
3-
"PAPER_JAVA_RECOMMENDED": "21",
2+
"PAPER_JAVA_MIN": "21",
43
"VELOCITY_JAVA_MIN": "17"
54
}

docs/paper/admin/getting-started/getting-started.mdx

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,16 @@ description: How to get started with downloading and setting up a Paper server.
99

1010
:::tip
1111

12-
Paper requires at least **Java <Property name="PAPER_JAVA_MIN" />** to run. We recommend using
13-
**Java <Property name="PAPER_JAVA_RECOMMENDED" />**, which [is easy to download and install](/misc/java-install).
12+
Paper requires at least **Java <Property name="PAPER_JAVA_MIN" />** to run, which [is easy to download and install](/misc/java-install).
1413

1514
:::
1615

17-
| Paper Version | Recommended Java Version |
18-
|----------------|-------------------------------------------------|
19-
| 1.8 to 1.11 | Java 8 |
20-
| 1.12 to 1.16.4 | Java 11 |
21-
| 1.16.5 | Java 16 |
22-
| 1.17.1-1.18.1+ | Java <Property name="PAPER_JAVA_RECOMMENDED" /> |
16+
| Paper Version | Recommended Java Version |
17+
|----------------|-----------------------------------------|
18+
| 1.8 to 1.11 | Java 8 |
19+
| 1.12 to 1.16.4 | Java 11 |
20+
| 1.16.5 | Java 16 |
21+
| 1.17.1-1.18.1+ | Java <Property name="PAPER_JAVA_MIN" /> |
2322

2423
## Downloading Paper
2524

docs/paper/admin/reference/system-properties.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,3 +205,8 @@ It also remaps plugin CB calls to remove the version information.
205205

206206
- **default**: `false`
207207
- **description**: Allows cyclic plugin loading. See [here](paper-plugins.md#cyclic-plugin-loading) for more info.
208+
209+
#### Paper.DisableCommandConverter:
210+
211+
- **default**: `false`
212+
- **description**: Disables Paper's automatic upgrading of commands, including items with custom data defined in command blocks and other places that may contain commands, to the new component format introduced in version 1.20.5.

docs/paper/dev/getting-started/plugin-yml.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ This will be shown in the plugin info commands.
9292

9393
The version of the Paper API that your plugin is using. This doesn't include the minor version.
9494
Servers with a version lower than the version specified here will refuse to load the plugin.
95-
The valid versions are 1.13 - <SoftwareVersion versionType={"maj"}/>.
96-
- <VersionFormattedCode>`api-version: '%%_MAJ_MC_%%'`</VersionFormattedCode>
95+
The valid versions are 1.13 - <SoftwareVersion versionType={"maj-min"}/>.
96+
- <VersionFormattedCode>`api-version: '%%_MAJ_MIN_MC_%%'`</VersionFormattedCode>
9797

9898
:::info
9999

docs/velocity/admin/reference/configuration.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ These settings mostly cover the basic, most essential settings of the proxy.
7878
| `failover-on-unexpected-server-disconnect` | Boolean | This setting allows you to determine if the proxy should failover or disconnect the user in the event of an unclean disconnect. |
7979
| `log-command-executions` | Boolean | Determines whether or not the proxy should log all commands run by the user. |
8080
| `log-player-connections` | Boolean | Enables logging of player connections when connecting to the proxy, switching servers and disconnecting from the proxy. |
81+
| `accepts-transfers` | Boolean | Determines whether or not the proxy accepts incoming transfers from other servers. If disabled, the proxy will disconnect transferred clients. |
8182

8283
## `query` section
8384

0 commit comments

Comments
 (0)