Skip to content

Commit 1bbea6d

Browse files
committed
feat: add missing configuration values
1 parent cfa4a5b commit 1bbea6d

File tree

6 files changed

+102
-13
lines changed

6 files changed

+102
-13
lines changed

src/config/paper/paper-global.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,20 @@ block-updates:
5757
Disabling block updates leads to tripwires no longer updating their block
5858
state, allowing for technically invalid tripwires to remain in the world,
5959
which might be useful for mapmakers.
60+
disable-chorus-plant-updates:
61+
default: "false"
62+
description: >-
63+
Whether to disable any form of block updates for chorus plants on the
64+
server. Disabling block updates leads to chorus plants no longer updating their block
65+
state, allowing for technically invalid chorus plant configurations to remain in the world,
66+
which might be useful for mapmakers.
67+
disable-mushroom-block-updates:
68+
default: "false"
69+
description: >-
70+
Whether to disable any form of block updates for mushroom blocks on the
71+
server. Disabling block updates leads to mushroom blocks no longer updating their block
72+
state, allowing for technically invalid mushroom block configurations to remain in the world,
73+
which might be useful for mapmakers.
6074
chunk-loading-advanced:
6175
auto-config-send-distance:
6276
default: "true"
@@ -523,6 +537,9 @@ unsupported-settings:
523537
This setting controls if equipment should be updated when handling certain player
524538
actions. If set to false this will allow players to exploit attributes by e.g.
525539
switching equipment before using it.
540+
simplify-remote-item-matching:
541+
default: "false"
542+
description: Only checks an item's amount and type instead of its full data during inventory desync checks.
526543
watchdog:
527544
early-warning-delay:
528545
default: "10000"

src/config/paper/paper-world-defaults.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,11 @@ entities:
249249
vanilla: "false"
250250
default: "true"
251251
description: "Prevents phantoms from attacking players who have slept "
252+
player-insomnia-start-ticks:
253+
default: "72000"
254+
description: |
255+
Number of ticks a player must stay awake before phantoms can start spawning.
256+
Default (72000) is 3 Minecraft days, -1 disables phantom spawning.
252257
piglins-guard-chests:
253258
default: "true"
254259
description: If piglins should attempt to guard chests when angered
@@ -357,6 +362,42 @@ entities:
357362
description: >-
358363
The rate, in ticks, at which arrows shot from players in creative mode
359364
are despawned
365+
ticks-per-spawn:
366+
ambient:
367+
default: "-1"
368+
description: |
369+
Determines how many ticks there are between attempts to spawn ambient mobs (bats).
370+
Default (-1) uses Vanilla spawn rate.
371+
axolotls:
372+
default: "-1"
373+
description: |
374+
Determines how many ticks there are between attempts to spawn axolotls.
375+
Default (-1) uses Vanilla spawn rate.
376+
creature:
377+
default: "-1"
378+
description: |
379+
Determines how many ticks there are between attempts to spawn passive creatures (animals).
380+
Default (-1) uses Vanilla spawn rate.
381+
monster:
382+
default: "-1"
383+
description: |
384+
Determines how many ticks there are between attempts to spawn hostile monsters.
385+
Default (-1) uses Vanilla spawn rate.
386+
underground_water_creature:
387+
default: "-1"
388+
description: |
389+
Determines how many ticks there are between attempts to spawn underground water creatures (glow squid).
390+
Default (-1) uses Vanilla spawn rate.
391+
water_ambient:
392+
default: "-1"
393+
description: |
394+
Determines how many ticks there are between attempts to spawn ambient water mobs (tropical fish).
395+
Default (-1) uses Vanilla spawn rate.
396+
water_creature:
397+
default: "-1"
398+
description: |
399+
Determines how many ticks there are between attempts to spawn water creatures (squid, dolphins).
400+
Default (-1) uses Vanilla spawn rate.
360401
despawn-range-shape:
361402
default: ELLIPSOID
362403
description: >-
@@ -1026,6 +1067,18 @@ tick-rates:
10261067
description: >-
10271068
How often mob spawners should tick to calculate available spawn areas and
10281069
spawn new entities into the world. A value of -1 will disable all spawners
1070+
dry-farmland:
1071+
default: "1"
1072+
description: |
1073+
Controls how frequently dry farmland blocks are ticked.
1074+
Higher values slow down the rate at which farmland checks for moisture updates.
1075+
Default (1) uses Vanilla behavior, -1 disables dry farmland random ticks.
1076+
wet-farmland:
1077+
default: "1"
1078+
description: |
1079+
Controls how frequently wet farmland blocks are ticked.
1080+
Higher values slow down the rate at which farmland checks for moisture updates.
1081+
Default (1) uses Vanilla behavior, -1 disables wet farmland random ticks.
10291082
sensor:
10301083
villager:
10311084
secondarypoisensor:

src/config/paper/server-properties.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,11 @@ sync-chunk-writes:
229229
text-filtering-config:
230230
default: ""
231231
description: "The path to the text filtering configuration file. Leave blank to disable text filtering."
232+
text-filtering-version:
233+
default: "0"
234+
description: |
235+
The version of the configuration format used for [`text-filtering-config`](#text_filtering_config).
236+
Valid values are 0 and 1.
232237
use-native-transport:
233238
default: "true"
234239
description: "Provides a performance boost for Linux servers."

src/config/paper/spigot.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ commands:
3939
silent-commandblock-console:
4040
default: "false"
4141
description: Whether to log Vanilla command feedback to the Console.
42+
enable-spam-exclusions:
43+
default: "false"
44+
description: Whether to apply spam exclusions from [`commands.spam-exclusions`](#commands_spam_exclusions).
4245
spam-exclusions:
4346
default: "[/skill]"
4447
description: >-

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,11 @@ It also remaps plugin CB calls to remove the version information.
224224
- **default**: `false`
225225
- **description**: Disables the folder walk and symlink validation when loading a world. Significantly improves world loading speed on massive worlds (>1TB). This does not disable symlink verification of datapacks.
226226

227+
#### paper.disableGameRuleLimits
228+
229+
- **default**: `false`
230+
- **description**: Disables limits on certain game rule values, e.g. `minecartMaxSpeed` and `spawnChunkRadius`.
231+
227232
#### minecraft.api.session.host
228233

229234
- **default**: `https://sessionserver.mojang.com`
@@ -234,6 +239,11 @@ It also remaps plugin CB calls to remove the version information.
234239
- **default**: `https://api.minecraftservices.com`
235240
- **description**: Allows specifying of a custom services API URL e.g. for caching. [`minecraft.api.session.host`](#minecraftapisessionhost) needs to be set too for this to apply.
236241

242+
#### com.mojang.eula.agree
243+
244+
- **default**: `false`
245+
- **description**: Setting this to true indicates that you have agreed with [Mojang's EULA](https://aka.ms/MinecraftEULA), skipping `eula.txt` checks.
246+
237247
## List of environment variables
238248

239249
#### PAPER_VELOCITY_SECRET

src/content/docs/paper/admin/reference/vanilla-command-permissions.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -113,21 +113,22 @@ The following is a list of permissions for Paper commands.
113113

114114
## Vanilla permissions
115115

116-
The following is a list of all additional Vanilla Permissions.
117-
118-
| Permission Node | Description | Players Have Permission By Default? |
119-
|-----------------------------------|-----------------------------------------------------------------------------|-------------------------------------|
120-
| minecraft | Gives the user the ability to use all vanilla utilities and commands. | No |
121-
| minecraft.admin.command\_feedback | Receive command broadcasts when sendCommandFeedback is true. | No |
122-
| minecraft.nbt.place | Gives the user the ability to place restricted blocks with NBT in creative. | No |
123-
| minecraft.nbt.copy | Gives the user the ability to copy NBT in creative. | Yes |
124-
| minecraft.debugstick | Gives the user the ability to use the debug stick in creative. | No |
125-
| minecraft.debugstick.always | Gives the user the ability to use the debug stick in all game modes. | No |
126-
| minecraft.commandblock | Gives the user the ability to use command blocks. | No |
116+
The following is a list of all additional Vanilla permissions.
117+
118+
| Permission Node | Description | Players Have Permission By Default? |
119+
|-----------------------------------|-----------------------------------------------------------------------------------------------------------------------|-------------------------------------|
120+
| minecraft | Gives the user the ability to use all vanilla utilities and commands. | No |
121+
| minecraft.admin.command\_feedback | Receive command broadcasts when sendCommandFeedback is true. | No |
122+
| minecraft.nbt.place | Gives the user the ability to place restricted blocks with NBT in creative. | No |
123+
| minecraft.nbt.copy | Gives the user the ability to copy NBT in creative. | Yes |
124+
| minecraft.debugstick | Gives the user the ability to use the debug stick in creative. | No |
125+
| minecraft.debugstick.always | Gives the user the ability to use the debug stick in all game modes. | No |
126+
| minecraft.commandblock | Gives the user the ability to use command blocks. | No |
127+
| minecraft.command.selector | Gives the user the ability to use [target selectors](https://minecraft.wiki/w/Target_selectors) in command arguments. | No |
127128

128129
## Bukkit permissions
129130

130-
The following is a list of all additional Bukkit Permissions.
131+
The following is a list of all additional Bukkit permissions.
131132

132133
| Permission Node | Description | Players Have Permission By Default? |
133134
|------------------------|------------------------------------------------------|-------------------------------------|
@@ -137,7 +138,7 @@ The following is a list of all additional Bukkit Permissions.
137138

138139
## Paper permissions
139140

140-
The following is a list of all additional Paper Permissions.
141+
The following is a list of all additional Paper permissions.
141142

142143
| Permission Node | Description | Players Have Permission By Default? |
143144
|----------------------------------------|------------------------------------------------------------------|-------------------------------------|

0 commit comments

Comments
 (0)