Commit Graph

351 Commits

Author SHA1 Message Date
Gerrygames
bea74661d1 19w02a 2019-01-09 18:26:08 +01:00
Gerrygames
284a462936 18w50a 2018-12-12 20:48:52 +01:00
Gerrygames
134987cb20 18w49a 2018-12-06 09:32:53 +01:00
Myles
c1147cb9f7 Formatting 2018-12-05 19:08:55 +00:00
Myles
8965b22f6d Merge branch 'master' into dev 2018-12-02 12:38:10 +00:00
Gerrygames
8aa7b749ca 18w48a 2018-11-29 16:31:39 +01:00
Marco Neuhaus
fc8b55dce7 fix spelling mistake 2018-11-24 18:42:00 +01:00
Gerrygames
079cd7210b 18w47a 2018-11-21 17:20:26 +01:00
Gerrygames
9a13eb36b3 Serverside block-connections! 2018-11-17 15:45:37 +01:00
Myles
9ba5cc1f98 Merge branch 'master' into dev 2018-11-17 14:11:04 +00:00
Myles
ab1c44c4fb Propose 2.0.0 snapshot as this version contains several API breaking changes 2018-11-17 13:13:55 +00:00
Myles
8549c22567 Change the name of the config class to be more consistent 2018-11-17 13:12:19 +00:00
Gerrygames
c5969c303e 18w46a 2018-11-15 15:44:50 +01:00
creeper123123321
4c07b6d28d
Squash Velocity platform commits
incomplete velocity code

untested velocity version detector

update velocity module version

Injecting, but not working

facepalm

Fix handler type

Should work now

will it work now?

it works!!!

fix npe in command tab completion

Do not forward command to server

implement server changing with different versions
thanks @Leymooo

Fix memory leaks

maybe cleaner code?

trying to port mainhandpatch, added todo

fix version

Use separated protocol version, add todo

Trying to mitigate UserConnection#toServer concurrent issue

port elytrapatch

it works but horribly and needs a modification in velocity

replace with a semaphore and EventLoop#submit

Lock for incoming packets

fix version

remove some TODOs

Listen to DisconnectEvent

Relocate snakeyaml
2018-11-12 15:05:48 -02:00
Gerrygames
9fac4f9de4 18w45a 2018-11-08 13:43:38 +01:00
Gerrygames
c58b28fd00 18w44a 2018-10-31 18:51:54 +01:00
Myles
d1b22b0f82 Update version 2018-10-27 12:30:39 +01:00
Myles
0fb08be6e9 Tidy up code to make it consistent 2018-10-27 12:25:42 +01:00
Myles
58efd6158f Back to SNAPSHOT 2018-10-22 17:45:17 +01:00
Myles
99bd1a52fb 1.13.2 update 2018-10-22 17:42:53 +01:00
KennyTV
a206fd7541 Remove unncessary doubled map check 2018-09-30 16:07:08 +02:00
Myles
77472cb9f4 Back to snapshot 2018-09-24 11:39:14 +01:00
Myles
5372d4b8e7 1.5.2 release 2018-09-24 11:33:20 +01:00
Myles
9f6766fb82 Back to 1.5.2-SNAPSHOT 2018-09-23 19:28:07 +01:00
Myles
ab77eb98c0 Prepare for 1.5.1 release 2018-09-23 18:54:24 +01:00
Myles
6457ff315f Merge branch 'pr/987' 2018-09-23 18:43:29 +01:00
7kasper
5415a24f4e ViaVersion <3 ProtocolSupport 2018-09-12 19:59:42 +02:00
7kasper
0a8fc31be1
3/2 Hopefully fix all the space thingies. 2018-09-10 21:45:26 +02:00
7kasper
f6ae076731
Part 2/2 Import & register listener. 2018-09-10 21:29:27 +02:00
7kasper
76296d8d41
Part 1/2 generate PS Packet Listener 2018-09-10 21:27:34 +02:00
Myles
527b5e6f99 Allow disabling of auto-complete in 1.13 via disable-1_13-auto-complete in config #891 2018-09-01 07:53:36 +01:00
Myles
0f77da15ff Back to snapshot for dev 2018-08-22 17:32:47 +01:00
Myles
a05ea7c1ce Prepare for 1.13.1 update 2018-08-22 17:05:24 +01:00
Myles
925aaf345c Merge branch 'master' into dev 2018-08-21 17:18:27 +01:00
Myles
2510751fdf Introduce 'suppress-1_13-conversion-errors' option 2018-08-21 16:26:04 +01:00
Marco Neuhaus
3b48f11f7b add support for 1.13.1-pre1 2018-08-16 22:38:22 +02:00
Myles
9ec8e2daf7 Update version to correspond to snapshot version 2018-08-12 20:33:24 +01:00
creeper123123321
1e7dbac34e
Reduce cooldown 2018-08-11 12:31:45 -03:00
Myles
34491967e2 Back to snapshot 2018-07-20 23:29:25 +01:00
Myles
3df70055b0 1.4.1 release 2018-07-20 23:25:57 +01:00
Myles
7c0c4ee74d Implement prefix based team colours (based on code by @JollyAjax) 2018-07-20 21:21:24 +01:00
Logics4
4fe68c2c93 Don't use Paper block placement patch in 1.12.
Apparently the bug that caused the block placement issues with Paper was fixed in 1.12 (according to Aikar from its development team). So, with this commit the patch to fix it won't run if the server is running Paper 1.12 or higher (which means it will only be used in 1.11.2 and lower server versions).
2018-07-20 16:12:00 +01:00
Matsv
7eb446d528 Bump to 1.4.1-SNAPSHOT 2018-07-19 09:18:31 +02:00
Myles
d0230af5c9 ViaVersion 1.13 support
Thanks to Matsv, creeper123123321, Pokechu22, PureGero
2018-07-18 23:26:14 +01:00
creeper123123321
cd9ff95226
1.13!!!!! 2018-07-18 14:12:35 -03:00
creeper123123321
7cd1563805
1.13-pre10, fix flower pots, comment debug message 2018-07-17 17:15:43 -03:00
creeper123123321
ca85c9739a
1.13-pre9, RIP BaseProtocol1_13, use Type.VAR_INT_ARRAY 2018-07-16 15:45:41 -03:00
creeper123123321
5f1fba0276
1.13-pre8 2018-07-13 15:23:07 -03:00
creeper123123321
638165aad5
1.13-pre7 2018-07-11 09:47:13 -03:00
creeper123123321
006fb177e6
1.13-pre6 2018-07-04 10:50:01 -03:00
Myles
2c62cc37e7
Merge pull request #844 from creeper123123321/platform-and-sponge-changes
Platform and Sponge changes
2018-07-02 22:50:12 +01:00
creeper123123321
2fe0ed2ca1
restoring providers is not simple, removing todo 2018-07-02 18:48:52 -03:00
creeper123123321
e3f71c26e7
1.13-pre5 + revert some changes 2018-07-02 11:36:03 -03:00
creeper123123321
df2d9ba3d8
1.13-pre4 + ProtocolPipeline changes 2018-06-27 09:39:38 -03:00
creeper123123321
39419f4ca3
1.13-pre3 2018-06-22 09:19:57 -03:00
creeper123123321
e26b6d08e1
1.13-pre2 + merge master 2018-06-17 10:17:33 -03:00
creeper123123321
f12a210665
Platform and Sponge changes 2018-06-14 15:21:49 -03:00
Matsv
e9633c6522 Bump to 1.13-pre1 2018-06-04 20:32:27 +02:00
creeper123123321
067da7e1d9
18w22c 2018-05-31 12:03:45 -03:00
creeper123123321
9d39bb2d62
18w21b 2018-05-26 08:52:31 -03:00
creeper123123321
6a4f2f6830
18w21a 2018-05-23 15:28:22 -03:00
creeper123123321
120b12feeb
18w20c 2018-05-17 14:09:36 -03:00
creeper123123321
bb64329b07
18w20b 2018-05-16 17:12:43 -03:00
creeper123123321
5878c53aa4
18w20a + mapping changes
(cherry picked from commit 57b5a0d)
2018-05-15 17:00:14 -03:00
creeper123123321
136adaebd5
18w19b 2018-05-09 15:45:09 -03:00
creeper123123321
1e0113a58a 18w16a 2018-04-19 16:29:50 -03:00
Matsv
960f8ddce7 Bump 16w15a (TODO auto regenerate entities with PAaaS) 2018-04-12 21:59:51 +02:00
Matsv
f2f485731f Update to 18w14b 2018-04-06 19:52:45 +02:00
Matsv
4a172a27ad Bump protocol (TODO handle new item? (regenerate mappings)) 2018-04-04 18:12:23 +02:00
Matsv
e759fbb5db Pull @creeper123123321 's work and bump to 18w11a! 2018-03-17 14:28:53 +01:00
creeper123123321
c24485b5f9 18w10d - todo entities 2018-03-12 17:05:08 -03:00
creeper123123321
8eae83f218 18w09a 2018-03-03 11:59:19 -03:00
creeper123123321
f59f178cec
Merge pull request #1 from MylesIsCool/master
merge master
2018-02-24 06:55:10 -03:00
creeper123123321
909bbc43d0 18w08b trying entity rewrite but didn't worked 2018-02-23 17:46:56 -03:00
creeper123123321
4de081efda 18w08a sound rewrite 2018-02-21 19:25:56 -03:00
mmxw11
172ac19585 18w07b - MISSING MAPPINGS 2018-02-17 20:37:50 -02:00
mmxw11
c46bdcf42b
Fix inventory handling
fixes #780 & #800
2018-01-22 21:32:22 +02:00
Matsv
b9e4466ef0 Update protocol to 18w03b 2018-01-19 11:12:05 +01:00
Matsv
be4af60ad1 Merge branches 'dev' and 'master' of https://github.com/MylesIsCool/ViaVersion into dev 2018-01-19 11:06:18 +01:00
Matsv
721297bf21 Correct runRepeatingSync order 2018-01-19 11:05:16 +01:00
Matsv
9ff20f3fea 18w02a 2018-01-11 16:14:34 +01:00
Matsv
444eabcebf Handle metadata correctly, implement new MetaTypes & bump protocol to 18w01a (non-stable) 2018-01-04 14:59:59 +01:00
Matsv
cc4ae6eb80 Bump to 17w50a (no stable). 2017-12-24 13:08:20 +01:00
Myles
19eb478067 [WIP] 17w49a Basic block + item support (inventory transactions are broken / some issues with wrong block)
This will be fully implemented over the coming weeks. Please don't report missing features etc.
2017-12-11 23:39:34 +00:00
Myles
54540fb8ef Merge branch 'master' into dev 2017-12-11 12:20:49 +00:00
Myles
5a74e129a4 Change 'quick-move-action-fix' to default disabled.
This is until we can ensure no bugs happen with it if we're required to release.
See #780
2017-11-28 15:17:02 +00:00
Myles
61836895b0 Update to 17w45b 2017-11-10 20:58:30 +00:00
Myles
5f36302057 Base 17w45a update (missing areaeffectcloud remap) 2017-11-08 18:12:15 +00:00
Matsv
1b9bf4b36e 16w43b 2017-10-26 16:05:25 +02:00
Matsv
9b9cdf8b8f Support for 17w43a 2017-10-26 15:39:57 +02:00
Myles
11be597d11 Torch support for paper patch #758 2017-10-11 20:48:45 +01:00
Myles
e372a56827 Refactor code to make field / class names better 2017-10-08 15:33:43 +01:00
mmxw11
471f1ae71d Try make it compile with Travis...
... don't use diamond operators?
2017-10-05 22:11:06 +03:00
mmxw11
a27808ade1 Add config for quick move action patch 2017-10-05 22:05:53 +03:00
mmxw11
2703e849cb Increase the waiting time 2017-09-28 20:47:13 +03:00
mmxw11
d57ef2b303 Fix inv provider not working on 1.8 servers 2017-09-28 20:44:49 +03:00
mmxw11
1c4e0051a0 Finish inventory provider
+ Support 1.9+ servers
2017-09-25 21:49:43 +03:00
mmxw11
b3d3921f6e Support item provider on a 1.8 server
... 1.9 is on the way
2017-09-25 18:04:39 +03:00
mmxw11
976c418c9e Start implementing inv update task 2017-09-25 16:13:56 +03:00
mmxw11
b2669129f2 More work on the inv provider 2017-09-24 22:11:54 +03:00
mmxw11
343e316e4c Make InvContainerItemProvider 2017-09-24 21:35:38 +03:00
Myles
3f5362a857 1.12.2 Support 2017-09-18 10:28:05 +01:00
Myles
c7c61df0b8 Minecraft 1.12.2 Pre-release 1 Support 2017-09-13 15:45:45 +01:00
Myles
298835be42 Move config to assets/viaversion & refactor Config
Config loading is done by the implementing class.
Platforms can now specify the URL of the default config.
2017-09-11 13:10:54 +01:00
Myles
757d22da23 Switch back to snapshot 2017-08-03 16:02:50 +01:00
Matsv
cbc0a12dd6 1.12.1 update 2017-08-03 14:59:03 +02:00
Matsv
c405424500 Compatibility for 1.12.1-pre1 2017-08-02 13:44:14 +02:00
Matsv
23091d60ff Change maven version 2017-08-01 17:30:26 +02:00
Myles
a64c21da8b Fix invalid json nbt chat messages, #712 2017-07-31 15:24:25 +01:00
Myles
188419feb0 1.1.1 SNAPSHOT 2017-06-09 19:10:56 +01:00
Myles
fd44e2e9bd 1.1.1 release 2017-06-09 17:04:05 +01:00
Myles
ef04346019 Move back to snapshot for 1.1.1 ViaVersion 2017-06-07 13:07:05 +01:00
Myles
381ff1e5d3 1.12 update 2017-06-07 12:58:51 +01:00
Matsv
a8e3d9ec95 Update to 1.12-pre7 2017-05-31 14:05:18 +02:00
Matsv
6ee2d0574f Bump version from 1.0.5 -to 1.1.0 since this won't be just a bugfix update. 2017-05-29 20:23:54 +02:00
Myles
91b5a8036c 1.12-pre6 2017-05-29 13:59:02 +01:00
Myles
6d0b28fac4 Merge branch 'master' into dev 2017-05-22 13:38:37 +01:00
Myles
ce286cf322 Remove unnecessary synchronising 2017-05-22 13:38:22 +01:00
Myles
395d020411 Update to 1.12-pre5 2017-05-19 22:32:21 +01:00
Matsv
cc64ffff98 Update to 1.12-pre4 2017-05-18 15:03:27 +02:00
Myles
d7daab7e64 1.12-pre3 2017-05-17 16:26:12 +01:00
Myles
833698fe8a Update to 1.12-pre2 2017-05-11 18:05:20 +01:00
Matsv
11d26c13b8 1.12-pre1 2017-05-10 18:03:15 +02:00
Myles
6a65a35dee 17w18b 2017-05-04 18:51:38 +01:00
Myles
37aab2c759 ViaVersion for 17w18a 2017-05-03 15:00:37 +01:00
Myles
18ad5da081 17w17b 2017-04-27 15:02:17 +01:00
Myles
9f65e727c9 17w17a 2017-04-26 15:34:24 +01:00
Myles
a7df7715b1 Update to 17w16b 2017-04-21 21:26:30 +01:00
Myles
a6491cf792 17w16a support 2017-04-20 16:31:11 +01:00
Myles
0bab4f62de Update to 17w15a, (some sound stuff may of changed) 2017-04-12 11:55:32 +01:00
Matsv
89f47c6a6a Merge branch 'master' of https://github.com/MylesIsCool/ViaVersion into dev 2017-04-05 21:09:47 +02:00
Myles
899eac0e7e Fix ProtocolSupport not working on new versions #629 (+1 ProtocolSupport having nice code) 2017-04-05 20:05:08 +01:00
Myles
efad8f41a1 13w14a 2017-04-05 18:09:36 +01:00
Myles
ee81935a74 Update to 17w13b
Note: I had an issue with some packet not working, if you have steps to replicate please make an issue.
2017-04-01 21:55:51 +01:00
Myles
3fdbf5b062 Revert previous Server protocol check, add a call to ProtocolRegistry to force class load. 2017-02-17 14:15:27 +00:00
Myles
99e4ab22e3 Only inject channels when server protocol is known #631 2017-02-13 17:22:52 +00:00
Myles
8da0c4310c Update to 17w06a 2017-02-08 14:10:18 +00:00
Myles
71ff8a773b Back to dev 2017-02-03 16:32:56 +00:00
Myles
e3c1b9bf64 1.0.4 Release 2017-02-03 16:27:18 +00:00
Myles
0388f340cc Don’t support older versions if protocol support is installed, fixes #615 2017-01-30 17:15:47 +00:00
Myles
ea4487e33f Back to dev 2016-12-20 21:46:19 +00:00
Myles
c2578bd212 Bump to 1.0.3 2016-12-20 21:06:23 +00:00
Myles
08b2d5b7e8 Fix #604 2016-12-20 20:11:21 +00:00
Myles
2b89dbce0e Back to snapshot 2016-12-20 16:14:13 +00:00
Myles
f256309487 Bump version to 1.0.2 2016-12-20 16:07:37 +00:00
Myles
462abb1ef9 Update to snapshot 1.11.1 2016-12-15 15:39:38 +00:00
Myles
a35408d14f New config option for disabling piston animation for 1.11 clients #570 2016-12-15 15:32:54 +00:00
Myles
9103f89aff 1.0.2-SNAPSHOT 2016-11-16 19:58:59 +00:00
Myles
8e4c2648a3 1.0.1 Release 2016-11-16 19:57:20 +00:00
Myles
9186361a29 Change ConcurrentHashMaps to just Maps for Java 7 support 2016-11-15 15:17:16 +00:00
Matsv
689f0fd5db Back to the snapshots 2016-11-14 19:17:20 +01:00
Matsv
d450c9b4d6 1.11 and bump version 2016-11-14 16:15:20 +01:00
Myles
fac7eab59e Prepare for 1.0.0 2016-11-13 14:04:56 +00:00
Myles
e430bfce06 Fix uninjection when different handler order 2016-11-13 13:34:22 +00:00
Myles
1c584040ca Use logger instead of System.out 2016-11-13 13:25:56 +00:00
Myles
10a2df5a7d Use plugin description from project pom.xml and fix sponge.
This disables the sponge plugin annotation processor and uses our own mcmod.info
2016-11-13 13:15:26 +00:00
Matsv
4142797380 Implement PlatformVersion for better dump output 2016-11-13 12:36:48 +01:00
Matsv
68fc884d2a Change the platform name to the full name that includes the version 2016-11-12 13:16:27 +01:00
Matsv
dd6423de06 Remove event-based commandblock listeners 2016-11-06 11:30:28 +01:00
Matsv
c896ed5f63 Move the Bungee server switch handler to an event instead of inside the encoder, this will also make ViaBackwards work correctly 2016-11-02 17:17:41 +01:00
Myles
bd11c98e45 Better support for ChannelInitializer detection (incase they do something funny, fixes latest PS dev) 2016-10-26 17:34:09 +01:00
Myles
55fccba711 Support for new PS when package isn't found 2016-10-26 17:33:16 +01:00
Max Qian
f92b7e5b80 Tell ProtocolSupport to decode MINECRAFT_FUTURE packets using the default decoder (for 1.9.4) 2016-10-19 14:44:25 +01:00
Myles
8093c424e2 WIP fix, ping works but it still doesn't connect 2016-10-19 14:44:25 +01:00
Myles
c4bab6c9af Optimise reflection in some cases where method isn't cached. 2016-10-16 16:25:53 +01:00
Myles
21c957b8d5 Config for protocol versions
Also make config concurrent
2016-10-02 19:40:38 +01:00
Matsv
f53c8c67e2
Fix Bukkit config NPE, only change the protocol id if ViaVersion can support it and support unsupported Bungee protocol ids (Not working correctly yet) 2016-10-01 13:31:14 +02:00
Matsv
7031d431da
Implement 1_11 entity / parent class structure and patch holograms the other way around! Thanks for fixing Mojang :-) #482 2016-09-30 20:08:39 +02:00
Myles
b7b322a525 Full config api for all platforms using snakeyaml + comments 2016-09-30 00:34:16 +01:00
Myles
771c00b146 Implement Task Ids 2016-09-29 22:55:08 +01:00
Myles
23f1589c28 Update commands to add new platform specific command also add platform to updater. 2016-09-29 22:35:51 +01:00
Myles
10fc8f846d Fix PacketWrapper sending and implement Movement Transmitter for Bungee 2016-09-29 21:29:58 +01:00
Matsv
aeec7e5f95
Start working on packet-level chunk bulks 2016-09-29 16:33:14 +02:00
Myles
36301a595b Fix Bungee Support (Excluding Chunks) + Rename Handlers 2016-09-29 15:25:18 +01:00
Matsv
8ea3623a79
Stop using new Gson() everywhere (#505) 2016-09-27 19:15:39 +02:00
Myles
396998c7fc Factor & Javadoc update 2016-09-27 17:31:10 +01:00
Matsv
51c469882b
Port Bukkit listeners to Sponge 2016-09-26 22:30:59 +02:00
Myles
8b9a1750de Basic Config API for sponge, need to do comments 2016-09-26 20:12:34 +01:00
Myles
3411c3d144 Add encoder name 2016-09-26 17:57:36 +01:00
Myles
42edffb309 Change reflection to NMSUtil, and start work on Bungee (doesn't work) 2016-09-26 13:50:20 +01:00
Myles
14daca5fea Fix 1.9.4+ support and also fix sponge support to work better.
Tested on SpongeVanilla + SpongeForge
(1.8.8 & 1.9.4)
2016-09-26 13:11:46 +01:00
Matsv
e136d1db94
Basic Bungee structure 2016-09-26 13:25:28 +02:00
Matsv
9a8a6e5b16
Implement PPS for Sponge 2016-09-26 11:16:20 +02:00
Myles
b371c14a27 Add Sponge Support 2016-09-26 01:44:21 +01:00
Myles
a1fbca11f0 Queue tasks & Fix PPS 2016-09-25 21:02:12 +01:00
Myles
0fe9ccf4a8 Make pom.xml better 2016-09-25 20:43:32 +01:00
Matsv
08713947b7
Add BukkitViaLoader to the builder and limit the builder methods 2016-09-25 21:42:22 +02:00
Matsv
e56bce2f31
Create builder for ViaManager 2016-09-25 21:33:47 +02:00
Matsv
573374866b
Optimize imports & reformat code 2016-09-25 21:17:09 +02:00
Matsv
32afa2a9a3
Fix building and change versions 2016-09-25 21:10:41 +02:00
Myles
669cbcd142 Fix maven so it compiles 2016-09-25 20:05:58 +01:00
Matsv
79d353d458
Basic configuration api and add platform specific dump info 2016-09-25 20:41:34 +02:00
Myles
30d477c6d2 Add Bulk Chunks, need to do full packet reading as a fallback though 2016-09-25 19:34:24 +01:00
Myles
7a7c3f15d8 Add required provider for movement (for reflection caching) 2016-09-25 18:26:14 +01:00
Myles
52610f7c66 Use HandItemProvider for 1.8 hand items 2016-09-25 18:06:04 +01:00
Matsv
84ee4410a6
Use generics for bossbars 2016-09-25 18:20:42 +02:00
Myles
49d51de263 Start moving listeners away 2016-09-25 17:17:07 +01:00
Myles
848b0cf113 Make ViaCommandSender better, fix quite a few of the commands. 2016-09-25 16:03:03 +01:00
Myles
05930ad791 Add ViaManager and abstraction / Add todo list 2016-09-25 14:39:37 +01:00
Matsv
b146257b1a
Abstract the BossBar for multi-platform support 2016-09-24 19:31:41 +02:00