Expected behavior
Changing the maximum length of the page, and max number of bytes in a page to -1 should allow for the player to use these books without these limits.
Observed/Actual behavior
The "Book too large!" kick seems to activate no matter what the config options are set to, page-max seems to work with all positive numbers up to 2147483647 so it is set to that, but the maximum length of page seems to be unchanged no matter what is in the config.
Steps/models to reproduce
1.Have a paper server with default options.
2. Set "page" and "page-max" under item-validationto 2147483647, -1, or some other very large number.
3. If page-max is set to -1, books are disabled. No matter what "page" is set to the kick always occurs at around the same length.
Plugin and Datapack List
Plugins:
Bukkit Plugins:
[22:13:17 INFO]:
CoreProtect
,
floodgate
,
Geyser-Spigot
,
SkinsRestorer
,
ViaVersion
Datapacks:
[22:13:22 INFO]: There are 2 data pack(s) enabled:
[
vanilla (built-in)
]
,
[
file/bukkit (world)
]
[22:13:22 INFO]: There are no more data packs available
Paper version
[22:13:25 INFO]:
Checking version, please wait...
[22:13:25 INFO]:
This server is running Paper version git-Paper-461 (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) (Git: b600140)
You are running the latest version
Previous version: git-Paper-459 (MC: 1.20.4)
Other
Page-max has been set to 2147483647 on my server, "page" has been tested on 2147483647, 16777216, default configuration, and -1, all of them provided the same result from what I saw.
total-multiplier is set to 1.0, so that should not be an issue.
The player is not an operator, and is on Java edition.
Expected behavior
Changing the maximum length of the page, and max number of bytes in a page to -1 should allow for the player to use these books without these limits.
Observed/Actual behavior
The "Book too large!" kick seems to activate no matter what the config options are set to, page-max seems to work with all positive numbers up to 2147483647 so it is set to that, but the maximum length of page seems to be unchanged no matter what is in the config.
Steps/models to reproduce
1.Have a paper server with default options.
2. Set "page" and "page-max" under item-validationto 2147483647, -1, or some other very large number.
3. If page-max is set to -1, books are disabled. No matter what "page" is set to the kick always occurs at around the same length.
Plugin and Datapack List
Plugins:
Bukkit Plugins:
[22:13:17 INFO]:
CoreProtect
,
floodgate
,
Geyser-Spigot
,
SkinsRestorer
,
ViaVersion
Datapacks:
[22:13:22 INFO]: There are 2 data pack(s) enabled:
[
vanilla (built-in)
]
,
[
file/bukkit (world)
]
[22:13:22 INFO]: There are no more data packs available
Paper version
[22:13:25 INFO]:
Checking version, please wait...
[22:13:25 INFO]:
This server is running Paper version git-Paper-461 (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) (Git: b600140)
You are running the latest version
Previous version: git-Paper-459 (MC: 1.20.4)
Other
Page-max has been set to 2147483647 on my server, "page" has been tested on 2147483647, 16777216, default configuration, and -1, all of them provided the same result from what I saw.
total-multiplier is set to 1.0, so that should not be an issue.
The player is not an operator, and is on Java edition.