Commit Graph

97 Commits

Author SHA1 Message Date
Bjarne Koll 623478709c Remove unused lag-compensate-block-breaking option (#9635)
Removes the unused lag-compensate-block-breaking option from the paper
configuration file as the patch using it has been dropped in 1.19.
2023-08-21 14:08:25 +02:00
ruViolence 79152ad03a Add entity tracker min Y distance config option (#9406) 2023-08-21 16:05:49 +08:00
EpicPlayerA10 e121a90eef Add option to disable chorus plant and mushroom block updates (#9442) 2023-08-21 06:49:38 +02:00
Jake Potrebic 3d0d1cb6ae Add restrict-player-reloot-time config (#7652) 2023-08-12 14:26:47 -07:00
Jake Potrebic 94106a38f5 Fix treasure map config default (#9572) 2023-08-04 08:52:22 -07:00
Astralchroma e5b7dd2906 Configurable Region Compression Format (#8505) 2023-07-23 01:13:48 +01:00
Boy0000 9628b9384b Add option to disable NoteBlock and Tripwire updates (#9368) 2023-06-30 16:11:52 +02:00
Jake Potrebic c975c477f7 Add trail ruins structure set seed in spigot config (#9327)
Also adds a server test to ensure the defaults match and that a seed
exists for each structure set
2023-06-17 12:12:23 -07:00
Jake Potrebic d555760ff6 Remove more outdated config settings (#9358) 2023-06-17 11:25:22 -07:00
Emilia Kond 6925d11945 Use net.kyori.ansi for console logging (#9313)
Uses the new ANSIComponentSerializer introduced in Adventure 4.14.0 to
serialize components when logging them via the ComponentLogger, or when
sending messages to the console.

This replaces the old solution which uses legacy jank and custom color
conversions, with a new library that handles the conversion and config
2023-06-13 01:00:12 +03:00
Nassim Jahnke 1bda3d4d2a Start working on 1.20 2023-06-07 18:24:39 +02:00
Jake Potrebic bb734246e6 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#9228)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
4727d326 Don't let Sign extend SignSide, mark API as experimental
9b29bdcc PR-845: Add preliminary support for multi sided signs

CraftBukkit Changes:
b346a5f6d PR-1170: Add preliminary support for multi sided signs
86c816189 Update SQLite version
d9324b4bc Fix addition of custom smithing trim / transform recipes

Spigot Changes:
7d7b241e Rebuild patches
2023-05-31 16:36:57 -07:00
Redned 07674ea170 Add option to flush region files on save (#9149) 2023-05-12 15:07:24 -05:00
Jake Potrebic 74b88dc367 Deprecate ChatColor (#9069)
All API that uses it is deprecated
2023-04-02 11:53:29 -07:00
Cody b46708d565 Added a config option for ticking markers (#9034) 2023-04-02 13:21:13 -05:00
Owen1212055 f5224dafea Allow non player entities in scoreboards by default (#9082)
This in general caused much more confusion than needed, and in general, made rather negligible performance gains on collision.
2023-04-02 13:53:11 -04:00
Jake Potrebic 4015d08acf Use class loggers without the fqn for non-debug logging (#9012) 2023-03-20 01:23:52 -07:00
Nassim Jahnke 92dd8645a8 More more patches 2023-03-14 19:36:39 +01:00
Nassim Jahnke 15ade6f446 More patches 2023-03-14 19:05:23 +01:00
Nassim Jahnke 08ab8edb76 Start working on 1.19.4 2023-03-14 18:11:24 +01:00
Jake Potrebic d24a71e85d Updated Upstream (Bukkit/CraftBukkit/Spigot) (#8874)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
6b3c598b PR-814: Add a method to send multiple equipment changes
181a984b Update Maven shade version to align with CraftBukkit
a5a36e32 Revert "Update Maven shade version to align with CraftBukkit"
7a8f4a42 Update Maven shade version to align with CraftBukkit
58327201 Add support for Java 20

CraftBukkit Changes:
b56426c7a PR-1142: Calculate explosion damage separately for each affected EntityComplexPart
fbe3410af PR-1140: Add a method to send multiple equipment changes
8434e3633 Add support for Java 20
c998a1d23 Increase outdated build delay
4a929b5d6 SPIGOT-7267: Fix EntityType#getTranslationKey() and add unit test
086d8dc8a SPIGOT-7268: CraftMetaPotion reads ShowParticles and ShowIcon properties incorrectly
8ba5e399e SPIGOT-7262: Improve visibility API

Spigot Changes:
a2190e30 Rebuild patches
2023-03-10 12:18:50 -08:00
Jake Potrebic bd166747a6 convert API/server tests to mockito (#8848)
* convert API tests to mockito

* convert server tests to mockito

* add co-author
2023-02-15 13:27:40 -08:00
Drex 905b16a361 Add AntiXray layered obfuscation mode (#8799) 2023-02-09 18:38:00 +01:00
Jake Potrebic 48768d68d6 Rework filtering spawn egg and tile entity nbt config (#6613) 2022-12-27 18:59:15 -08:00
Noah van der Aa b8a1f20c8d Add config option for spider worldborder climbing (#6448)
Co-authored-by: BillyGalbreath <blake.galbreath@gmail.com>
2022-12-23 17:51:24 +01:00
Nassim Jahnke 583c8afcd8 Fix buffer-joins-to-world patch 2022-12-21 22:55:42 +01:00
Jake Potrebic 06018dbedf fix some startup issues 2022-12-08 00:52:08 -08:00
Jason Penilla 6e1deb99aa compile fixes 2022-12-07 20:24:00 -07:00
Noah van der Aa 6513000165 Fix a handful of 1.19.3 compile issues (#8615) 2022-12-07 22:36:56 +01:00
Nassim Jahnke d0386f21e8 First server patches 2022-12-07 18:08:55 +01:00
Nassim Jahnke b7dd55ce72 API patches 2022-12-07 17:46:46 +01:00
Ján Villim 25196237b1 Added ability to control player's insomnia and phantoms spawning (#6500) 2022-11-26 17:59:04 +01:00
Jake Potrebic b121c04895 Moving ATs from the at file to individual patches (#8573) 2022-11-19 15:53:20 -08:00
Noah van der Aa 14d69488ad Strip coordinates from lodestone compasses (#8561) 2022-11-19 22:41:09 +01:00
uku 9e743bccff Add config setting for grindstone overstacking (#8156) 2022-10-23 01:25:17 +02:00
vytskalt 201ba4d328 Add fire-tick-delay option (#8037) 2022-10-23 01:57:09 +03:00
Lulu13022002 e827d176c4 Update settings directory path in exceptions (#7968) 2022-10-13 13:38:06 +02:00
Jake Potrebic 5eb4ada324 Fix configs that relied on outdated min/max y levels (#6986) 2022-10-08 23:52:09 -07:00
TetraTheta 1fc4118bd8 Only create paper.yml-README.txt on config conversion (#8334) 2022-10-02 16:29:09 +09:00
Spottedleaf 0f1a8717e8 Rewrite chunk system (#8177)
Patch documentation to come

Issues with the old system that are fixed now:
- World generation does not scale with cpu cores effectively.
- Relies on the main thread for scheduling and maintaining chunk state, dropping chunk load/generate rates at lower tps.
- Unreliable prioritisation of chunk gen/load calls that block the main thread.
- Shutdown logic is utterly unreliable, as it has to wait for all chunks to unload - is it guaranteed that the chunk system is in a state on shutdown that it can reliably do this? Watchdog shutdown also typically failed due to thread checks, which is now resolved.
- Saving of data is not unified (i.e can save chunk data without saving entity data, poses problems for desync if shutdown is really abnormal.
- Entities are not loaded with chunks. This caused quite a bit of headache for Chunk#getEntities API, but now the new chunk system loads entities with chunks so that they are ready whenever the chunk loads in. Effectively brings the behavior back to 1.16 era, but still storing entities in their own separate regionfiles.

The above list is not complete. The patch documentation will complete it.

New chunk system hard relies on starlight and dataconverter, and most importantly the new concurrent utilities in ConcurrentUtil.

Some of the old async chunk i/o interface (i.e the old file io thread reroutes _some_ calls to the new file io thread) is kept for plugin compat reasons. It will be removed in the next major version of minecraft.

The old legacy chunk system patches have been moved to the removed folder in case we need them again.
2022-09-26 01:02:51 -07:00
Shane Freeder e14a2a0cce Configurable chat thread limit (#7878) 2022-09-20 01:16:23 +01:00
karthanistyr 24d3f7bb49 Restore no-crash behaviour when read-only config file(s) (#8318) 2022-09-17 05:22:17 +02:00
Jake Potrebic 15ce56cb40 Leave a paper.yml.txt stub pointing to new location (#8090) 2022-08-02 13:24:57 -07:00
stonar96 b4e9e20e79 1.19 Anti-Xray cleanup (#8104) 2022-07-18 12:30:31 +02:00
Owen1212055 ed2321032d Use safe method for handling Files#createDirectories (#7997) 2022-06-25 16:40:28 -04:00
Jake Potrebic c517b28adc Fix number parsing (#8013) 2022-06-17 11:28:18 -07:00
Jake Potrebic e08802e9ef Add option for strict advancement dimension checks (#7954) 2022-06-14 16:31:20 -07:00
Jake Potrebic c3f403dd76 Couple config fixes (#7975) 2022-06-13 15:29:44 -07:00
froobynooby 98b65200d8 Use deserialised row keys in config tables (#7962) 2022-06-14 06:20:43 +09:30
Nassim Jahnke 8d1748a6f9 Add paper-settings-directory cl argument (#7949) 2022-06-12 10:07:43 +02:00