Commit graph

83 commits

Author SHA1 Message Date
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
Jake Potrebic
df842f3d43 Adjust config headers 2022-06-11 13:43:59 -07:00
Jake Potrebic
33d48ed240 Keep default keys in some maps
Fixes https://github.com/PaperMC/Paper/issues/7913#issuecomment-1152780671
2022-06-10 17:11:12 -07:00
Jake Potrebic
43f46a5f0b Improve migration file errors (#7929) 2022-06-10 10:01:09 -07:00
Nassim Jahnke
a488132e74 Remove bad warning 2022-06-10 14:58:25 +02:00
Jake Potrebic
29e793489c improve packet config serializer (#7920) 2022-06-10 01:45:41 -07:00
Jake Potrebic
89e9e14344 couple more migration issues 2022-06-09 22:03:37 -07:00
Jake Potrebic
b347f25afc fix 2 more migration issues 2022-06-09 18:40:07 -07:00
Nassim Jahnke
9f383d8097 Fix migration of packet limiter 2022-06-10 01:55:53 +02:00
Noah van der Aa
b3386c382b Make slime spawn checks use tag again and rename config option (#7910) 2022-06-10 00:48:46 +02:00
Jake Potrebic
35d5998b02 remove more unused config options 2022-06-09 15:15:01 -07:00
Jake Potrebic
288cf1e073 fix more config migration issues 2022-06-09 15:03:02 -07:00
Jake Potrebic
1aa8052d41 fix compile issue 2022-06-09 14:50:05 -07:00
Jake Potrebic
4d7c2c787c move commands out of configuration 2022-06-09 14:43:27 -07:00
Jake Potrebic
b89848009c minimessage conversion 2022-06-09 14:11:43 -07:00