7b293aba08
Do not run close logic for inventories on chunk unload
...
Still call the event and change the active container though. We
want to avoid close logic because it's possible to load the
chunk through it. This should also be OK from a leak prevention/
state desync POV because the TE is getting unloaded anyways.
2021-03-11 03:03:32 -08:00
067c4e04bd
Add methods to find targets for lightning strikes
...
== AT ==
public net.minecraft.server.level.ServerLevel findLightningRod(Lnet/minecraft/core/BlockPos;)Ljava/util/Optional;
2021-10-04 10:16:44 +02:00
c754319985
Configurable item frame map cursor update interval
2021-08-13 01:14:38 +02:00
ac0d44684a
Optimize entity tracker passenger checks
2021-08-08 00:52:54 -04:00
0e4e270396
Add PlayerSetSpawnEvent
2021-05-19 18:59:10 -07:00
2e42192ea2
Allow skipping writing of comments to server.properties
...
Makes less git noise, as it won't update the date every single time
Use -DPaper.skipServerPropertiesComments=true flag to disable writing it
2021-07-23 02:32:04 +02:00
bb3dbd3116
Prevent AFK kick while watching end credits
2021-07-24 16:54:11 +02:00
e7de2be721
Don't apply cramming damage to players
...
It does not make a lot of sense to damage players if they get crammed,
especially as the usecase of teleporting lots of players to the same
location isn't too uncommon and killing all those players isn't
really what one would expect to happen.
For those who really want it a config option is provided.
2021-06-20 16:35:42 +01:00
818a84cfbe
Fix kick event leave message not being sent
2021-07-07 16:19:41 -07:00
485db97ad6
Add PlayerArmSwingEvent
2021-03-12 19:22:21 -08:00
9ce3172c9f
Use getChunkIfLoadedImmediately in places
...
This prevents us from hitting chunk loads for chunks at or less-than
ticket level 33 (yes getChunkIfLoaded will actually perform a chunk
load in that case).
2019-07-08 00:13:36 -07:00
ac687d7ecb
Fix PlayerDropItemEvent using wrong item
2021-06-20 21:55:59 -07:00
75225eb102
Add PlayerKickEvent causes
2021-05-15 20:30:45 -07:00
f61b2947ad
Add cause to Weather/ThunderChangeEvents
2020-12-02 18:23:26 -08:00
cc2c25ba55
Add Unix domain socket support
2021-05-11 17:39:22 -04:00
5392798da4
Move range check for block placing up
2022-06-08 10:52:18 +02:00
d6b69e74a9
Expand PlayerGameModeChangeEvent
2021-05-15 10:04:43 -07:00
64365b4218
Add environment variable to disable server gui
2021-05-17 00:34:55 -07:00
556bc3e8b5
Add Adventure message to PlayerAdvancementDoneEvent
2021-01-08 20:31:13 +01:00
3ab2001afb
Add Channel initialization listeners
2021-04-29 21:19:33 +02:00
73239b4aa7
Expand PlayerRespawnEvent, fix passed parameter issues
...
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com >
2021-04-23 22:42:42 +01:00
b9cab64e46
Implement methods to convert between Component and Brigadier's Message
2021-04-24 02:09:32 -07:00
a3c944c37b
fix PlayerItemHeldEvent firing twice
2021-04-22 19:02:07 -07:00
635832cc39
Add bypass host check
...
Paper.bypassHostCheck
Seriously, fix your firewalls. -.-
2021-04-18 21:27:01 +01:00
a6eda6cb37
Enhance console tab completions for brigadier commands
...
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com >
2021-03-30 16:06:08 -07:00
273355e28c
Don't ignore result of PlayerEditBookEvent
2021-04-05 18:35:15 -07:00
f2e70c48f9
forced whitelist: use configurable kick message
2021-03-27 09:24:23 +01:00
06ee0e08d7
Drop carried item when player has disconnected
...
Fixes disappearance of held items, when a player gets disconnected and PlayerDropItemEvent is cancelled.
Closes #5036
2021-02-04 20:32:01 +03:00
a032df8427
Allow using signs inside spawn protection
2020-04-15 01:54:02 +02:00
bf99953fa0
fix converting txt to json file
2021-01-04 19:49:15 -08:00
73deb32107
Improve ServerGUI
...
- Added logo to server frame
- Show tps in the server stats
2020-10-03 08:27:40 +02:00
9ba22a1143
added option to disable pathfinding updates on block changes
2021-01-25 14:37:57 +01:00
48c492c4d1
Add EntityMoveEvent
2020-02-11 21:56:48 -06:00
e3b367dcae
Reset shield blocking on dimension change
2021-01-24 08:55:19 -08:00
0faa210781
Make schedule command per-world
2021-01-04 19:52:44 -08:00
239e7a6b37
Add RegistryAccess for managing Registries
...
RegistryAccess is independant from CraftServer and
doesn't require one to be created allowing the
org.bukkit.Registry class to be loaded earlier.
== AT ==
public net.minecraft.server.RegistryLayer STATIC_ACCESS
2023-02-27 18:28:39 -08:00
23b8639dbf
Add sendOpLevel API
2020-12-29 15:03:03 +01:00
921d396ffa
Fix villager boat exploit
2021-01-11 12:43:51 -08:00
cabf9f914d
Remove stale POIs
2021-01-09 14:17:07 +01:00
1245e2a0de
Add ServerResourcesReloadedEvent
2020-12-02 20:04:01 -08:00
1e05072232
Add WorldGameRuleChangeEvent
2020-12-20 16:41:44 -08:00
40789b9ca7
Fix interact event not being called sometimes
...
* Call PlayerInteractEvent when left-clicking on a block in adventure
mode.
* Call PlayerInteractEvent when left-clicking an Entity that is out of
range in adventure/survival (entity reach is 3.0).
Co-authored-by: Moulberry <james.jenour@protonmail.com >
2020-06-21 17:21:46 +02:00
e32901791b
Player Chunk Load/Unload Events
2020-10-05 21:25:16 +02:00
1f21f3032b
Limit recipe packets
2020-12-12 23:45:28 +00:00
4b0e4655fd
Add API for quit reason
2020-11-14 16:19:52 +01:00
093bd60eae
Fix for large move vectors crashing server
...
Check movement distance also based on current position.
2020-05-17 23:47:33 -07:00
c2be5a5354
Fix deop kicking non-whitelisted player when white list is not enabled
2020-10-03 22:00:27 -05:00
af1fabed04
Extend block drop capture to capture all items added to the world
2020-09-17 00:36:05 +01:00
aebf9e869b
Fix Entity Teleportation and cancel velocity if teleported
...
Uses correct setPositionRotation for Entity teleporting instead of setLocation
as this is how Vanilla teleports entities.
Cancel any pending motion when teleported.
2020-08-25 20:45:36 -04:00
74de6853f4
Cache block data strings
2018-12-06 19:52:50 -05:00