Commit Graph
2198 Commits
Author SHA1 Message Date
retrooper 58f6cf5411 Cut off 1.7.10 injector. We still support 1.7.10 protocol, just not 1.7.10 server software!!!
Attempted reload support again. (Tested on 1.8.8)

PacketSide#getOpposite added
2022-04-07 22:59:38 +02:00
retrooper d966013b69 On Spigot, we now are behind Via & PS again! 2022-04-07 21:27:49 +02:00
retrooper 8261d95a4b Fixed incorrect HealthDisplay data in ScoreboardObjective wrapper by @LeeGodSRC 2022-04-07 20:33:45 +02:00
retrooper 0ec7cbdd64 Merge pull request #311 from FairyProject/bugfix/teams
Teams packet wrapper team name read/write with 16 max characters
2022-04-07 20:31:31 +02:00
retrooper 01aef56066 Fixed Empty NBT from being added to ItemStacks leading to a desync. (DefineOutside) 2022-04-06 22:47:05 +02:00
retrooper a1ca6e68bc Fix 1.8-1.12 entity type mappings
(DefineOutside)
2022-04-06 22:40:28 +02:00
retrooper bd2ae75b08 Fixed duplicate UserLoginEvent calls. 2022-04-03 23:28:36 +02:00
retrooper ed9cd05619 Spigot debug listener unregistered. 2022-04-03 20:43:55 +02:00
retrooper fdbe47a061 PacketListenerReflect removed;
PlayerInjectEvent removed, its replacement is UserLoginEvent
2022-04-03 20:42:18 +02:00
retrooper a4b326cd44 Velocity hopefully working on all versions. 2022-04-03 20:12:36 +02:00
retrooper 7e2c66a82e Optimized WrapperLoginServerLoginSuccess and progress on velocity? 2022-04-03 19:52:22 +02:00
retrooper 0913057d0d Fixed item type mappings on 1.16.2 2022-04-03 18:10:24 +02:00
retrooper 9d75d537cc Merge remote-tracking branch 'origin/version-dynamic' into version-dynamic 2022-04-01 21:30:28 +02:00
retrooper c1a2d05803 Outgoing packets must be in format of server, not client. 2022-04-01 21:30:18 +02:00
retrooper a0e05bb588 Updated our README 2022-04-01 21:19:20 +02:00
retrooper d8d3b77d5f Minor change to README. 2022-04-01 21:14:46 +02:00
retrooper ab4dce2af3 Trying to make protocol translation optional! On proxies we do not want it. 2022-04-01 21:12:11 +02:00
retrooper f0588eed10 Made WrappedBlockState and StateTypes more version dynamic. Now packetevents should hopefully be able to operate before via. 2022-04-01 19:52:57 +02:00
retrooper 99d6ee3554 Merge branch '2.0' into version-dynamic
# Conflicts:
#	spigot/src/main/java/io/github/retrooper/packetevents/injector/latest/connection/ServerConnectionInitializerLatest.java
2022-04-01 17:58:24 +02:00
retrooper 3e00a40918 PlayerManagerImpl in spigot module now reads game profile in players and will pass them into our User class.
User#sendTitle with strings added.
2022-04-01 17:45:06 +02:00
retrooper 1d97510869 Little comment added. 2022-03-31 22:54:39 +02:00
retrooper db3a804d15 NPE for optional in BlockPlacement wrapper fixed;
Decoder handler duplication on reloads fixed on 1.8+ servers
2022-03-31 22:44:27 +02:00
retrooper c83613ab04 Bug fixes for WrapperPlayServerSetTitleText & SetTitleSubtitle HANDLE_JSON should be true by default. 2022-03-28 22:43:59 +02:00
retrooper 42b7bb02c2 Packet type mappings per client version work.
We can process incoming packets ahead of via & protocolsupport successfully, ignoring world packets cause of wrappedblockstate.
2022-03-27 00:20:44 +01:00
retrooper c18739e057 Removed debugs. 2022-03-26 22:34:34 +01:00
retrooper 4ea4bf43e5 PacketType enums are version dynamic. You can get id by version and get the constant by id depending on version. It is beautiful. 2022-03-26 22:32:01 +01:00
retrooper 417571fe8d Bug fix for PotionTypes#getById 2022-03-25 22:23:46 +01:00
retrooper 24a2527fb2 Lots of progress on getting our mapped abstraction more version dynamic. 2022-03-25 22:22:56 +01:00
retrooper c8b94ec829 Optimization to PotionTypes. We removed the mappings and hard-code the IDs statically. EntityEffect & RemoveEntityEffect deprecated constructors removed. 2022-03-23 22:26:45 +01:00
retrooper 8dfbda5e35 We now have more meaningful stacktraces. For example when a packet has no content or fail to read a packet id or map a packet id to a packet type constant. 2022-03-23 22:11:16 +01:00
retrooper a9fb68223a Our netty handlers now produce exceptions in our wrappers and internal api.
WrapperPlayServerMultiBlockChange NPE fixed.
2022-03-23 21:37:14 +01:00
retrooper 9d69afaa81 Updated bug report template. 2022-03-22 23:04:15 +01:00
retrooper 5e1ff9b88a Minor change to namings. 2022-03-22 21:09:50 +01:00
retrooper 9bb6d9326c User#sendTitle implemented.
Implemented all title wrappers.
2022-03-22 20:46:46 +01:00
retrooper b00389f19f Added TimeStampMode setting to allow you to specify details about the timing in our events. You can even disable logging the time if you don't need it. 2022-03-22 19:46:45 +01:00
retrooper a4eb8cbece Minor changes. 2022-03-18 22:36:32 +01:00
retrooper 9463a07e9d PostPlayerInjectEvent removed
Replaced with better UserLoginEvent which also contains the User instance along with the Player instance on the platform.
2022-03-18 22:28:14 +01:00
retrooper 763a6c5d78 readOnly in listeners removed.
Its now a global setting in PacketEventsSettings#readOnlyListeners
2022-03-18 20:21:58 +01:00
retrooper b89ad2e128 Making some helpers in our api module so we don't duplicate lots of code in our implementations(modules)
Added UserConnectEvent & UserDisconnectEvent

threadSafe in PacketListeners removed.
2022-03-18 18:26:33 +01:00
retrooper 747a1a73c4 User references actually get destroyed when they disconnect.
User#getEntityId added.

PacketTransformationUtil memory leaks fixed.
2022-03-16 22:54:21 +01:00
retrooper ab99da9e7a Tryna fix some early packet handling. 2022-03-16 20:18:30 +01:00
retrooper 8969742139 Added few comments. 2022-03-16 16:41:41 +01:00
retrooper c5002778c9 Fixed memory leaks when converting Packetevents itemstack to bukkit and vice versa. 2022-03-16 16:35:42 +01:00
retrooper 97b7e81908 New EntityTypes added.
SpigotDataHelper#fromBukkitEntityType tested to work on 1.8.8
2022-03-13 22:35:23 +01:00
retrooper 323d553d5e Fixed velocity module netty dependency 2022-03-13 19:25:42 +01:00
retrooper fe13d021c1 Improvement to build.gradle 2022-03-13 19:09:12 +01:00
retrooper aa11d7e42e Last minor improvements to ResourcePackSend wrapper. 2022-03-13 18:49:31 +01:00
retrooper 8bca8d1cb5 Code optimization to WrapperPlayServerResourcePackSend. Now accepts a nullable prompt. 2022-03-13 18:43:33 +01:00
retrooper ca5021d090 Merge remote-tracking branch 'origin/2.0' into 2.0 2022-03-13 18:34:04 +01:00
retrooper cbd899983e Cleaned up our build system. Adventure issues fixed. 2022-03-13 18:33:49 +01:00