Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 13 additions & 4 deletions config/sidebar.paper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ const paper: SidebarsConfig = {
"admin/getting-started/getting-started",
"admin/getting-started/adding-plugins",
"admin/getting-started/migration",
"admin/reference/paper-plugins",
],
},
{
Expand All @@ -35,7 +34,6 @@ const paper: SidebarsConfig = {
},
items: [
"admin/how-to/basic-troubleshooting",
"admin/how-to/configuration",
"admin/how-to/update",
"admin/how-to/aikars-flags",
"admin/how-to/anti-xray",
Expand All @@ -49,9 +47,20 @@ const paper: SidebarsConfig = {
slug: "/cat/admin/reference",
},
items: [
"admin/reference/global-configuration",
"admin/reference/world-configuration",
{
type: "category",
label: "Paper Configuration",
link: {
type: "doc",
id: "admin/reference/configuration/README",
},
items: [
"admin/reference/configuration/global-configuration",
"admin/reference/configuration/world-configuration",
],
},
"admin/reference/system-properties",
"admin/reference/paper-plugins",
],
},
],
Expand Down
4 changes: 2 additions & 2 deletions docs/paper/admin/getting-started/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ disables Vanilla's GUI, so you don't get double interfaces when using the comman

For more advanced Java tuning, see [Aikar's Flags](../how-to/aikars-flags.md).

To configure your server, see the [Global Configuration](../reference/global-configuration.md) and
[Per World Configuration](../reference/world-configuration.md) pages.
To configure your server, see the [Global Configuration](../reference/configuration/global-configuration.md) and
[Per World Configuration](../reference/configuration/world-configuration.md) pages.

## Updating The Server

Expand Down
14 changes: 7 additions & 7 deletions docs/paper/admin/how-to/anti-xray.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ Paper includes an obfuscation-based Anti-Xray with two modes, configurable on a
:::info[Per World Configuration]

If you aren't already familiar with per world configuration, please take a moment to familiarize
yourself with the [Configuration Guide](configuration.md).
yourself with the [Configuration Guide](./reference/configuration).

:::

This guide is a step-by-step walk-through for configuring Anti-Xray. For reference documentation,
refer to the Anti-Xray section of the
[Per-World Configuration Reference](../reference/world-configuration.md#anti-xray).
[Per-World Configuration Reference](../reference/configuration/world-configuration.md#anti-xray).

Anti-Xray has two different modes. `engine-mode: 1` replaces specified blocks (`hidden-blocks`) with
other "fake" blocks, `stone` (`deepslate` at y < 0), `netherrack`, or `end_stone` based on the
Expand Down Expand Up @@ -52,7 +52,7 @@ included out of the box.
generation. If the client is able to obtain the world seed, it is able to know the real location of
every generated ore, completely bypassing Anti-Xray. This can be partially worked around by making
it harder for the client to reverse the world seed with the
[`feature-seeds` configuration](../reference/world-configuration.md#feature-seeds), in conjunction
[`feature-seeds` configuration](../reference/configuration/world-configuration.md#feature-seeds), in conjunction
with the structure seed options in `spigot.yml`. Note that this is not a complete solution, and it
may still be possible for a client to obtain the server's world seed. Using a different seed for
each world may also be beneficial.
Expand Down Expand Up @@ -130,7 +130,7 @@ anticheat:
<summary>Nether Configuration</summary>

Copy and paste into your `paper-world.yml` within your nether world folder. See the
[Configuration Guide](configuration.md) for more information.
[Configuration Guide](./reference/configuration) for more information.

{/* prettier-ignore */}
```yml title="world_nether/paper-world.yml"
Expand All @@ -157,7 +157,7 @@ anticheat:
<summary>End Configuration</summary>

Copy and paste into your `paper-world.yml` within your end world folder. See the
[Configuration Guide](configuration.md) for more information.
[Configuration Guide](./reference/configuration) for more information.

{/* prettier-ignore */}
```yml title="world_the_end/paper-world.yml"
Expand Down Expand Up @@ -237,7 +237,7 @@ anticheat:
<summary>Nether Configuration</summary>

Copy and paste into your `paper-world.yml` within your nether world folder. See the
[Configuration Guide](configuration.md) for more information.
[Configuration Guide](./reference/configuration) for more information.

{/* prettier-ignore */}
```yml title="world_nether/paper-world.yml"
Expand Down Expand Up @@ -276,7 +276,7 @@ anticheat:
<summary>End Configuration</summary>

Copy and paste into your `paper-world.yml` within your end world folder. See the
[Configuration Guide](configuration.md) for more information.
[Configuration Guide](./reference/configuration) for more information.

{/* prettier-ignore */}
```yml title="world_the_end/paper-world.yml"
Expand Down
4 changes: 2 additions & 2 deletions docs/paper/admin/how-to/basic-troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ Many plugins provide their own documentation about how to set them up properly.

Paper can also be configured in a variety of ways. Check these documents for detailed explanations about each configuration.

* [Paper Global Config](../reference/global-configuration.md)
* [Paper Per World Configuration](../reference/world-configuration.md)
* [Paper Global Config](../reference/configuration/global-configuration.md)
* [Paper Per World Configuration](../reference/configuration/world-configuration.md)

## Consult With Developer

Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
---
slug: /configuration
slug: /reference/configuration
---

# Configuration

:::note

This guide currently only covers per-world configuration in `paper-world-defaults.yml`. Information
about general configuration will be added in the future. In the meantime, please refer to the
information in the [1.19 announcement forum post](https://forums.papermc.io/threads/paper-1-19.344).

:::
# Paper Configuration

<!-- ## Global Configuration -->

Expand Down Expand Up @@ -108,9 +100,3 @@ Notice that `world_the_end/paper-world.yml` was never modified. Because of this,
configuration options from `config/paper-world-defaults.yml`. Additionally, `keep-spawn-loaded` was
only disabled in `resource_world/paper-world.yml` because in `config/paper-world-defaults.yml`,
`keep-spawn-loaded` is set to `true`.

<!-- ## System Properties -->

<!-- ## Environment Variables -->

<!-- ## Logging Configuration(?) -->
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ keywords:
# Paper Per World Configuration

Configuration options in `paper-world-defaults.yml` are configurable on a per-world basis. For more
information, see the [Configuration Guide](../how-to/configuration.md) For global configuration, see
the [Paper Global Configuration Reference](global-configuration.md)
information, see the [Configuration Guide](./configuration) For global configuration, see
the [Paper Global Configuration Reference](./global-configuration.md)

## anticheat

Expand All @@ -21,7 +21,7 @@ the [Paper Global Configuration Reference](global-configuration.md)
:::tip

Recommended configuration for both `engine-mode` `1` and `2` can be found in the
[Configuring Anti-Xray](../how-to/anti-xray.mdx) guide.
[Configuring Anti-Xray](../../how-to/anti-xray.mdx) guide.

:::

Expand Down
4 changes: 4 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
{
"source": "/paper/per-world-configuration",
"destination": "/paper/configuration"
},
{
"source": "/paper/configuration",
"destination": "/paper/reference/configuration"
}
],
"headers": [
Expand Down