Commit Graph
96 Commits
Author SHA1 Message Date
74e7902624 Add PlayerInsertLecternBookEvent [1.20 port] (#7305)
* Add PlayerInsertLecternBookEvent

* Rebase

Additionally, moves the event call higher up and removes the lectern
block state clone from the event.

* jSpecify

* Shrink correctly

* style fixups

* move methods

* rename param to cancel

* fix javadocs

* more javadoc fixes

* fix co-author on patch from yesterday

* last fix

---------

Co-authored-by: Mariell Hoversholm <proximyst@proximyst.com>
Co-authored-by: Bjarne Koll <git@lynxplay.dev>
2024-09-29 23:28:48 +02:00
Noah van der Aa dde797dbca Updated Upstream (CraftBukkit) (#10624)
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

CraftBukkit Changes:
666f091c6 SPIGOT-7649: Allow /setworldspawn command in all worlds again
2024-05-01 01:53:54 +02:00
Noah van der Aa 723528c18b 1.20.6 (#10623) 2024-04-30 00:16:07 +02:00
Noah van der Aa 251396321e [ci skip] Fix discussion template file name (#10607) 2024-04-28 20:16:07 +02:00
Noah van der Aa e6eff7111e Fix WorldCreator#keepSpawnLoaded 2024-04-25 19:57:27 +02:00
Noah van der Aa 2af3439727 Un-jankify root user detection 2024-04-25 19:13:12 +02:00
Noah van der Aa 44a5402713 Restore original formatting for MC-252817 patch 2024-04-24 23:26:18 +02:00
Noah van der Aa 060e370a08 more more work (806) 2024-04-24 23:23:56 +02:00
Noah van der Aa 3ea4a03fbc more more work (757) 2024-04-24 22:32:38 +02:00
Noah van der Aa b8911367e6 more work (721) 2024-04-24 22:05:42 +02:00
Noah van der Aa 7f488e6d9d Disable vertical air friction when item entities have friction disabled (#10369) 2024-04-07 01:36:59 +02:00
Noah van der Aa dc0fed044e Updated Upstream (CraftBukkit)
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

CraftBukkit Changes:
c9cb08551 SPIGOT-7536: Using Crafter crashes server
2023-12-07 13:03:14 +01:00
Noah van der Aa 9734050cf0 More compile fixes 2023-12-06 19:21:23 +01:00
Noah van der Aa 0b0aa1201b Migrate paper log ips option to new server.properties option 2023-09-23 21:37:26 +02:00
Noah van der Aa 529b5534e7 more more more more more more more more more more more work: passing the torch 2023-09-22 17:51:48 +02:00
Noah van der Aa 411f78293c more more more more more more more more more more more work: passing the torch 2023-09-22 17:51:48 +02:00
Noah van der Aa 9e63e24f0b more more more more more more more more more more work 2023-09-22 17:35:51 +02:00
Noah van der Aa 2b7e17a127 more more more more more more more more more work 2023-09-22 17:24:59 +02:00
Noah van der Aa 26dc16de31 more more more more more more more more work 2023-09-22 17:08:04 +02:00
Noah van der Aa d518a2739d more more more more more more more work
can't let lynx inflate his commit count too much
2023-09-22 16:58:35 +02:00
Noah van der Aa eee81acfb0 more more more more more more work 2023-09-22 09:24:44 +02:00
Noah van der Aa 4aa42e8aea more more more more more work 2023-09-21 23:04:51 +02:00
Noah van der Aa 7b6a88056c more more more more work 2023-09-21 22:35:39 +02:00
Noah van der Aa 86931baedf more more more work 2023-09-21 22:14:58 +02:00
Noah van der Aa 233b5b5bec more more work 2023-09-21 21:54:46 +02:00
Noah van der Aa d700351d49 more work 2023-09-21 21:00:11 +02:00
Noah van der Aa 6a5bb6ffb8 rebuild old indexes, first work 2023-09-21 19:39:51 +02:00
Noah van der Aa 524eeedaa8 So it begins... 2023-09-21 19:18:04 +02:00
Noah van der Aa a0632a8f06 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#9648)
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:
6b34da8f SPIGOT-7467: Add getAddress to RemoteConsoleCommandSender

CraftBukkit Changes:
db4ba2897 SPIGOT-7467: Add getAddress to RemoteConsoleCommandSender
4f7ff4dec PR-1246: Add missing AbstractTestingBase to tests which need them
f70a7b68d SPIGOT-7465, MC-264979: Fresh installations print NoSuchFileException for server.properties
8ef7afef6 PR-1240: Call BlockGrowEvent for vines that are growing on additional sides of an existing vine block

Spigot Changes:
d2eba2c8 Rebuild patches
2023-08-28 13:05:48 +02:00
Noah van der Aa d96d1cb7dd Fix custom statistic criteria creation (#9595) 2023-08-12 23:50:21 +02:00
Noah van der Aa 251cb43854 1.20: Remove Experimental API status where upstream forgot (#9271) 2023-06-08 15:04:43 +02:00
Noah van der Aa 0ec23e4426 1.20: Fix a bunch of compile issues (#9273) 2023-06-08 01:21:20 +02:00
Noah van der Aa e165710bb5 Fix API compile issues (#9269) 2023-06-07 21:47:39 +02:00
Noah van der Aa 4e67df5164 Undeprecate Server#getMap (#9185)
The only way to get a map is via its id, which is not a magic value. This implementation isn't going to be changing anytime soon, so it should be undeprecated.
2023-05-15 02:23:57 +02:00
Noah van der Aa ac1255aa58 Add CompostItemEvent and EntityCompostItemEvent (#6356) 2023-03-05 18:59:48 +01:00
Noah van der Aa 9aadb9a0c9 Fix cancelling EntityDeathEvent for Armor Stands killed by players (#6478) 2023-03-05 18:48:34 +01:00
Noah van der Aa 6a50027d5d chore: update adventure documentation url in javadocs (#8912) 2023-02-26 17:00:55 +01:00
Noah van der AaandBillyGalbreath 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
Noah van der Aa c2bee2c705 Expose signed message in chat events (#8694) 2022-12-23 16:54:04 +01:00
Noah van der Aa 2b86179e7e [ci skip] Correct chat preview removal version in javadoc (#8646) 2022-12-11 19:34:31 +01:00
Noah van der Aa d654558a4e More 1.19.3 registry fun (#8618) 2022-12-08 00:49:41 +01:00
Noah van der Aa 8208e3d1c4 Add missing spawn eggs: Electric Boogaloo (#8616) 2022-12-07 23:10:51 +01:00
Noah van der Aa 6513000165 Fix a handful of 1.19.3 compile issues (#8615) 2022-12-07 22:36:56 +01:00
Noah van der Aa 1ae3999c8f Limit pet look distance (#8612) 2022-12-06 19:10:58 +01:00
Noah van der Aa 0d81f1e394 Friction API (#6611) 2022-11-26 01:23:12 +01:00
Noah van der Aa 14d69488ad Strip coordinates from lodestone compasses (#8561) 2022-11-19 22:41:09 +01:00
Noah van der Aa da071ba78f Show exception when headless JRE detection is triggered (#8559) 2022-11-12 13:09:54 +01:00
Noah van der Aa f40ba18fd0 Fix pumpkin growth modifier (#8517) 2022-10-30 13:27:37 +01:00
Noah van der Aa f84fb32dc5 Add allow server listing & text filtering client options (#7595) 2022-10-27 01:09:03 +02:00
Noah van der Aa 95e37fca48 Detect headless JREs (#8491)
Crashes caused by the missing AWT dependency come up in the support channels fairly often.
This patch detects the missing dependency and stops the server with a clear error message,
containing a link to instructions on how to install a non-headless JRE.
2022-10-22 18:57:21 +02:00
Noah van der Aa ddc8e1fd7c Load Allay duplication cooldown as a long (#8410)
It is saved as a long, and the API exposes a long, so loading it as an int may cause issues like overflows.
2022-10-22 16:16:24 +02:00
Noah van der Aa e484f0dd39 Make Biome implement Translatable (#8161) 2022-07-20 18:23:26 +02:00
Noah van der Aa 952ccf3125 Move old user conversion down slightly (fixes #8050) (#8052) 2022-07-12 23:13:27 +02:00
Noah van der Aa 71cd2d00b6 Call StructureGrowEvent for mangrove propagule (#8023) 2022-07-04 16:20:43 +02:00
Noah van der Aa d652ff68f2 Don't allow world unloading while ticking worlds (fixes #8080) (#8081) 2022-07-01 18:14:50 +02:00
Noah van der Aa a0bca1d513 [ci skip] Fix tiny mistake in adventure javadocs (#8046) 2022-06-24 18:39:44 +02:00
Noah van der Aa a3f2d9b81e Fix MC-252439 (#7994) 2022-06-16 20:23:36 +02:00
Noah van der Aa f9cc088ea4 [ci skip] Update performance problem issue template to account for new config formats (#7967) 2022-06-14 10:50:38 +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
Noah van der Aa 44548b8544 Don't validate chunk before it's been run through DataConverter (#7907) 2022-06-09 18:39:02 +02:00
Noah van der Aa 5a7519440e (1.19) Make timings link clickable (#7897) 2022-06-08 22:27:24 +02:00
Noah van der Aa f81addfd7f Port Fix missing chunks due to integer overflow to 1.19 (#7891) 2022-06-08 19:39:07 +02:00
Noah van der Aa 88ca48c121 Moar 1.19 fixes (#7884) 2022-06-08 15:38:56 +02:00
Noah van der Aa 535fb2d726 Misc. 1.19 fixes (#7881) 2022-06-08 10:45:59 +02:00
Noah van der Aa 9423c662b9 [ci-skip] Update repository and API urls (#7835) 2022-05-20 17:12:30 +02:00
Noah van der Aaandstonar96 ee13266378 Hide ores with deepslate at Y=4 and below (#7792)
Fixes #7771

Co-authored-by: stonar96 <minecraft.stonar96@gmail.com>
2022-05-18 22:16:12 +02:00
Noah van der Aa 9434fcde82 Don't tick markers (#7299) 2022-05-06 17:33:07 +02:00
Noah van der Aa 8cdb1bf0ab Use mojang item ids for alternative item despawn rate (#6997) 2022-05-05 00:29:15 +02:00
Noah van der Aa 5ea6685328 Don't send itemmeta for books with the hide option enabled (#7734) 2022-04-18 12:23:37 +02:00
Noah van der Aa 2451b8df1d [ci-skip] Fix typo in feature request issue template (#7593) 2022-03-13 22:41:05 +01:00
Noah van der Aa 20780a5deb Update docs link in paper.yml (#7562) 2022-03-09 10:10:53 +01:00
Noah van der Aa 0e75816bcf Clarify exception messages for invalid view distances (#7510) 2022-03-04 11:23:28 +01:00
Noah van der Aa 835030c468 Add some missing deprecations to the adventure patch (#7500) 2022-02-23 03:11:52 +01:00
Noah van der Aa b42ccc8248 Fix IllegalArgumentException for /paper mobcaps command (#7472) 2022-02-12 20:02:14 +01:00
Noah van der Aa 61ecf80013 Don't load plugins prefixed with a dot (#7392) 2022-02-12 15:03:51 +01:00
Noah van der Aa 1f60c7a520 Updated Upstream (Bukkit/CraftBukkit) (#7411)
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:
af88996a SPIGOT-6890: Add repair cost amount in AnvilInventory
bc7bd363 PR-716: Fix scheduler javadocs (previously, the <b> tag broke the rendering)
6db1ab70 Improve item cooldown JavaDocs

CraftBukkit Changes:
13670b44 SPIGOT-6890: Add repair cost amount in AnvilInventory
0d109e86 PR-999: Prevent non-item cooldowns
2022-01-27 15:35:36 +01:00
Noah van der Aa 7b57dbf7c0 Offset spigot item optimizations instead of Mojang's (#6290) 2022-01-19 20:18:24 +01:00
Noah van der Aa 5fd56a9336 [ci skip] Fix incorrect javadoc for Mob pathfinding API (#6842) 2022-01-18 08:26:11 +01:00
Noah van der Aa ac54c26f5e Fix soul speed particles with hide-itemmeta enabled (#7239) 2022-01-02 00:26:53 +01:00
Noah van der Aa 0ca006fedf Fix riding distance statistics (#7021/SPIGOT-6475) (#7033) 2021-12-31 08:17:08 +01:00
Noah van der Aa eee1f6a0e0 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#7116) 2021-12-20 23:46:51 +01:00
Noah van der Aa 6de2d9794c Updated Upstream (Bukkit/CraftBukkit) (#7045)
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:
ffd8b289 PR-687: Fix NPE from previous commits

CraftBukkit Changes:
3c2af1b7 SPIGOT-6831: Fix llama strength crash
2021-12-06 13:43:46 +01:00
Noah van der Aa 3f7c1464c8 Don't get block light level if the sky level is 15 (#6922) 2021-12-04 14:24:40 +01:00
Noah van der Aa 6059060adf Port flat bedrock (generator settings) to 1.18 (#6960) 2021-12-01 02:31:13 +01:00
Noah van der Aa 1b84684982 Updated Upstream (CraftBukkit) (#6966) 2021-12-01 01:43:02 +01:00
15addfd44c Hide unnecessary itemmeta from clients (#6318)
Co-authored-by: Nassim Jahnke <nassim@njahnke.dev>
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2021-11-30 23:47:10 +01:00
Noah van der AaandMadeline Miller 6a642c3f47 Re-readd root/admin user detection (#6703)
* Re-readd root/admin user detection

* I am dum

* Only run id command if needed

* Use ProcessBuilder

* Link to issue

* Rebase

Co-authored-by: Madeline Miller <mnmiller1@me.com>
2021-10-09 11:29:05 +02:00
Noah van der Aa 1bd2f3e523 Fix kicking ops when whitelist is reloaded (MC-171420) (#6742) 2021-10-07 20:11:15 +02:00
Noah van der Aa 9cdeca64b8 Add config setting for logging player ip addresses. (#6342) 2021-10-07 20:02:40 +02:00
Noah van der Aa 283bda4234 Readd root/admin user detection (#6593)
* Readd root/admin user detection

* Use original test for Windows, use UID for unix and add co-author

* Move logging and remove unnecessary reader

* try with resources

* Use Windows security identifiers + reduce size of Unix check

* Remove extra newline at the bottom of the message

* Change wording

* Address comments

* Link to Maddy's article

* Use warning log level
2021-10-02 11:34:07 +02:00
Noah van der Aa 054854471c Don't log if debug logging isn't enabled. (#6603) 2021-09-14 16:44:06 +02:00
Noah van der Aa 3436b6780a Prevent softlocked end exit portal generation (#6525) 2021-09-03 20:05:01 +02:00
Noah van der Aa 7e5a053742 Respect despawn rate in merge check (#6428) 2021-08-21 16:32:07 +02:00
Noah van der Aa f9143cf9ec Don't fire entitymovevent for players. (#6402) 2021-08-15 19:37:42 +02:00
Noah van der Aa 5aeb8c87e7 Fix ITEM_DROPPED stat not working properly (#6331) 2021-08-06 18:46:25 +02:00
Noah van der Aa f8261096c8 Prevent AFK kick while watching end credits (#6239). (#6265) 2021-08-02 10:43:56 +02:00