Skip to content

Commit

Permalink
feat: 1.20.5 updates (#364)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
3 people committed Apr 28, 2024
1 parent 37597a0 commit 2f73388
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 13 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ multiple places, and if they change, it is important to change them in all place
our `Property` component to embed these values into the documentation. An example of this would be:

```jsx
<Property name="PAPER_JAVA_RECOMMENDED" />
<Property name="PAPER_JAVA_MIN" />
```

This will embed the value of the property into the documentation, and if it changes, it will be changed in all places.
Expand Down
8 changes: 8 additions & 0 deletions config-specs/paper/server-properties.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
accept-transfers:
default: "false"
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."
allow-flight:
default: "false"
description: >
Expand Down Expand Up @@ -167,6 +170,11 @@ rcon.password:
rcon.port:
default: "25575"
description: "The port to start the rcon server on."
region-file-compression:
default: "deflate"
description: >
Specifies the compression type used to compress region files. Possible values are: "deflate", "lz4" and "none".
If set to "none", region files will take up significantly more disk space, but it might make sense together with filesystem-level compression.
require-resource-pack:
default: "false"
description: "If true, a player must have the given resource pack to connect. They will be kicked if they do not have it."
Expand Down
3 changes: 1 addition & 2 deletions config-specs/properties.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"PAPER_JAVA_MIN": "17",
"PAPER_JAVA_RECOMMENDED": "21",
"PAPER_JAVA_MIN": "21",
"VELOCITY_JAVA_MIN": "17"
}
15 changes: 7 additions & 8 deletions docs/paper/admin/getting-started/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,16 @@ description: How to get started with downloading and setting up a Paper server.

:::tip

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

:::

| Paper Version | Recommended Java Version |
|----------------|-------------------------------------------------|
| 1.8 to 1.11 | Java 8 |
| 1.12 to 1.16.4 | Java 11 |
| 1.16.5 | Java 16 |
| 1.17.1-1.18.1+ | Java <Property name="PAPER_JAVA_RECOMMENDED" /> |
| Paper Version | Recommended Java Version |
|----------------|-----------------------------------------|
| 1.8 to 1.11 | Java 8 |
| 1.12 to 1.16.4 | Java 11 |
| 1.16.5 | Java 16 |
| 1.17.1-1.18.1+ | Java <Property name="PAPER_JAVA_MIN" /> |

## Downloading Paper

Expand Down
5 changes: 5 additions & 0 deletions docs/paper/admin/reference/system-properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,3 +205,8 @@ It also remaps plugin CB calls to remove the version information.

- **default**: `false`
- **description**: Allows cyclic plugin loading. See [here](paper-plugins.md#cyclic-plugin-loading) for more info.

#### Paper.DisableCommandConverter:

- **default**: `false`
- **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.
4 changes: 2 additions & 2 deletions docs/paper/dev/getting-started/plugin-yml.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ This will be shown in the plugin info commands.

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

:::info

Expand Down
1 change: 1 addition & 0 deletions docs/velocity/admin/reference/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ These settings mostly cover the basic, most essential settings of the proxy.
| `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. |
| `log-command-executions` | Boolean | Determines whether or not the proxy should log all commands run by the user. |
| `log-player-connections` | Boolean | Enables logging of player connections when connecting to the proxy, switching servers and disconnecting from the proxy. |
| `accepts-transfers` | Boolean | Determines whether or not the proxy accepts incoming transfers from other servers. If disabled, the proxy will disconnect transferred clients. |

## `query` section

Expand Down

0 comments on commit 2f73388

Please sign in to comment.