diff --git a/config-specs/paper/server-properties.yml b/config-specs/paper/server-properties.yml index 53e94ab6..ef1536ac 100644 --- a/config-specs/paper/server-properties.yml +++ b/config-specs/paper/server-properties.yml @@ -144,6 +144,11 @@ online-mode: op-permission-level: default: "4" description: "Sets the default permission level for ops when using /op. (Allowed values: 0, 1, 2, 3, 4)" +pause-when-empty-seconds: + default: "-1" + description: > + How many seconds have to pass after no player has been online before the server is paused. + This is disabled by default because it is incompatible with what plugins expect and might do with no players online. player-idle-timeout: default: "0" description: > diff --git a/config-specs/paper/vanilla/server-properties.yml b/config-specs/paper/vanilla/server-properties.yml new file mode 100644 index 00000000..16d8697b --- /dev/null +++ b/config-specs/paper/vanilla/server-properties.yml @@ -0,0 +1,2 @@ +pause-when-empty-seconds: + default: 60 diff --git a/docs/paper/admin/how-to/get-to-vanilla.mdx b/docs/paper/admin/how-to/get-to-vanilla.mdx index 1f802764..fa99fe5a 100644 --- a/docs/paper/admin/how-to/get-to-vanilla.mdx +++ b/docs/paper/admin/how-to/get-to-vanilla.mdx @@ -10,6 +10,7 @@ import ConfigDocBlock from '@site/src/components/config/ConfigDocBlock'; import VanillaWorldDefaults from '!!raw-loader!@site/config-specs/paper/vanilla/paper-world-defaults.yml' import VanillaGlobalDefaults from '!!raw-loader!@site/config-specs/paper/vanilla/paper-global.yml' import SpigotChanges from '!!raw-loader!@site/config-specs/paper/vanilla/spigot.yml' +import ServerProperties from '!!raw-loader!@site/config-specs/paper/vanilla/server-properties.yml' Due to the way the Bukkit API is implemented in Paper, the gameplay experience between Vanilla and Paper can have inconsistencies. This can be furthered by efforts to fix bugs present in Vanilla Minecraft. @@ -29,6 +30,8 @@ This guide will only help you to get as close to Vanilla as possible. Unfortunately, it currently is not possible to get a 100% Vanilla experience in Paper. ::: +## server.properties + ## paper-world-defaults.yml