Commit Graph

357 Commits

Author SHA1 Message Date
creeper123123321
7e8bd606fe
remove commented code 2019-01-18 14:34:51 -02:00
Gerrygames
bea5d39ed5 19w03c 2019-01-18 17:17:54 +01:00
creeper123123321
44ca95bf85
Fix bungee and velocity boss bar, implement Velocity channel workaround 2019-01-18 08:05:23 -02:00
Gerrygames
7102214c9e 19w03a 2019-01-16 18:44:37 +01:00
Myles
77a57d2243 Merge branch 'master' into dev 2019-01-12 17:42:47 +00:00
KennyTV
20654b0a77 Add convenience config options
Add option to send all flowerparts for 1.13+ as stems if a block is above
Add option to send 1-layer snow as 2-layers for 1.13+ to fix collision
2019-01-09 21:48:04 +01:00
Gerrygames
bea74661d1 19w02a 2019-01-09 18:26:08 +01:00
Myles
6b7bf843a1 Merge branch 'master' into dev 2019-01-09 16:30:29 +00:00
creeper123123321
cd7774f056
Use ProtocolInfo#getServerProtocolVersion for block connection, use bungee and velocity version if not ported 2019-01-08 13:58:24 -02: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
Myles
e6922eae46 Don't use -1 if provided by ProtocolDetectorService on Bungee #1064 2018-11-01 22:41:56 +00: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
e40be243de Return correct default protocol, whoops! 2018-10-03 10:12:13 +02:00
KennyTV
449ec15309 Remove unncessary/doubled map check 2018-09-30 20:48:23 +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
Myles
c09a9c88b4
Merge pull request #1005 from creeper123123321/sendpackettoserver
PacketWrapper#sendToServer changes
2018-09-23 18:18:00 +01: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
creeper123123321
17115460b7
PacketWrapper#sendToServer changes 2018-08-28 14:02:48 -03: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
8945fc27d7 Merge branch 'master' into dev 2018-08-21 18:25:56 +01:00
Myles
ac91ecc5f6 Ensure client disconnected on Bungee before removing 2018-08-21 18:25:41 +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
creeper123123321
798bf15155
Remove unused code 2018-08-05 17:54:17 -03:00
creeper123123321
9b42094273
Rewrite bungeecord relay messages 2018-08-04 07:37:33 -03:00
creeper123123321
b1e8efb00b
Fix memory leak 2018-07-28 17:53:17 -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
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
31a1bf35d9
More changes involving BaseProtocol - not tested yet 2018-07-14 09:11:17 -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
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
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
Matsv
b9e4466ef0 Update protocol to 18w03b 2018-01-19 11:12:05 +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
12c21c9b0a Add a few extra null checks into ProtocolDetectorService
Under certain conditions these can be null.
2017-11-26 13:45:39 +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
e372a56827 Refactor code to make field / class names better 2017-10-08 15:33:43 +01:00
mmxw11
a27808ade1 Add config for quick move action patch 2017-10-05 22:05:53 +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
279162d720 Ensure only 1 server saves config value at a time. 2017-07-31 15:25:04 +01: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
2292175e9a Ensure Bungee protocol order as well as ensuring it picks a protocol that viaversion knows. 2017-06-07 14:01:08 +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
Matsv
0817d28b88 Merge branches 'dev' and 'master' of https://github.com/MylesIsCool/ViaVersion into dev 2017-05-27 16:39:43 +02:00
Matsv
5b5f0dce24 Manually hide Entity BossBars on (from 1.8.x) server switch. Fixes #666 2017-05-25 18:14:56 +02: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
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
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
a52552dcb4 Save boss bars to BungeeCord which are made by Withers / Enderdragons 2017-02-03 16:24:14 +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
3228ba65ae Fix #587 2016-12-20 20:13:19 +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
Matsv
304f9b34fd Send empty metadata flags on server switch to prevent an Elytra glitch on 1.8 fixes #555 2016-11-15 18:10:14 +01:00
Myles
c817a0e9cb Add null check to hand patch 2016-11-15 17:07:31 +00:00
Myles
744252d492 Don't handle null users 2016-11-15 17:01:22 +00:00
Myles
bf01c9ea0e Fix getting connection twice 2016-11-15 08:17:15 +00:00
Myles
bee260e2b4 Ignore null users 2016-11-14 23:42:29 +00:00
Matsv
d277701caa Ignore if the setMainHand doesn't exist 2016-11-14 21:13:18 +01:00
Matsv
9b7f68a888 Store the mainHand and change it on serverChange for Bungee, fixes #536 2016-11-14 20:59:06 +01: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
1209beb47d Allow servers to manually be probed with API 2016-11-14 12:38:39 +00:00
Myles
fac7eab59e Prepare for 1.0.0 2016-11-13 14:04:56 +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
69e444f83d Fix Bungee constant entity ids 2016-11-02 18:07:21 +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
Matsv
2424057536 Translate messages from legacy, fix #521 2016-10-25 18:34:20 +02:00
Myles
b6dbe82d16 Fix lower version support (default to client version if we can't port it instead of server) #519 2016-10-23 21:18:18 +01:00
Myles
c4bab6c9af Optimise reflection in some cases where method isn't cached. 2016-10-16 16:25:53 +01:00
Matsv
7d23b12f85
Implement the UpdateListener for Bungee 2016-10-02 21:35:54 +02:00
Myles
4b3f757881 Rename scan servers to probe 2016-10-02 19:45:55 +01:00
Myles
21c957b8d5 Config for protocol versions
Also make config concurrent
2016-10-02 19:40:38 +01:00
Matsv
3354a46283
Remove some more debug messages 2016-10-02 11:41:18 +02:00
Matsv
975743c76f
Merge branch 'modular' of https://github.com/MylesIsCool/ViaVersion into modular 2016-10-02 11:28:10 +02:00
Matsv
d3b214965b
Add server info to the dump (#505) 2016-10-02 11:27:45 +02:00
Myles
eb8065ad20 Tab complete for bungee 2016-10-01 21:30:39 +01:00
Matsv
59620f7f93
Add a command to force search versions @ Bungee 2016-10-01 15:38:53 +02:00
Matsv
ba3aa4566e
Remove some debug messages that prevent Jenkins from building. 2016-10-01 14:56:08 +02:00
Matsv
8445a6d9db
Fix wrong handling if the client and child server have the same protocol id 2016-10-01 14:27:39 +02: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
Myles
b4976bd302 Merge branch 'modular' of https://github.com/MylesIsCool/ViaVersion into modular 2016-10-01 00:11:08 +01:00
Myles
ec848d7201 Reflection for Bungee stuffs 2016-10-01 00:10:54 +01:00
Matsv
65a6e25f1b
Remove debug message 2016-10-01 00:59:42 +02:00
Matsv
152993f749
Get bungee protocol version detection working. Still some odd issues. 2016-10-01 00:53:50 +02:00
Matsv
f1d53bb7ac
Start working on Bungee protocol id detection. 2016-09-30 23:02:34 +02:00
Matsv
313b794285
Merge branch 'modular' of https://github.com/MylesIsCool/ViaVersion into modular 2016-09-30 20:09:03 +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
655e14b36e Make dumping pretty print + add Bungee dumping 2016-09-30 16:30:28 +01:00
Matsv
b2df970af5
Implement removePortedClient on Bungee 2016-09-30 16:20:29 +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
eb72db9a5f Update TODO 2016-09-29 21:30:09 +01:00
Myles
10fc8f846d Fix PacketWrapper sending and implement Movement Transmitter for Bungee 2016-09-29 21:29:58 +01:00
Myles
b0d64bfebd Fix a bug in chunks (still not working fully)
Also remove bungeecord-proxy
2016-09-29 20:40:58 +01:00
Myles
36301a595b Fix Bungee Support (Excluding Chunks) + Rename Handlers 2016-09-29 15:25:18 +01:00
Matsv
0454169588
Add viaver alias 2016-09-27 19:38:13 +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
cdab5b3f5b Inject into Bungee, (does not get past login from when i've tested)
Also add commands
2016-09-26 14:48:46 +01:00