Commit Graph

213 Commits

Author SHA1 Message Date
Myles
9fe19e763a Update GitHub + chat links 2019-04-06 13:31:33 +01:00
Myles
aecf9fb9b1
Merge pull request #1236 from ViaVersion/master
merge master into dev
2019-03-30 18:23:09 +00:00
creeper123123321
4e28a10aaa
ignore non-identifier format on plugin messages 2019-03-18 15:11:35 -03:00
Myles
49205f0361 Merge branch 'master' into dev 2019-03-18 11:30:19 +00:00
Myles
47819180c4 Rework previous commit + Introduce injection information to dump 2019-03-18 11:30:02 +00:00
Myles
be3fa19c0a Consistency: itruncate1_14Books -> isTruncate1_14Books 2019-03-17 16:11:36 +00:00
Myles
32a2734082 Merge branch 'master' into dev 2019-03-17 16:10:38 +00:00
creeper123123321
12b45d95e0
Trying to fix main hand on bungee, handle left handed on 1.8 using 0x80 2019-03-05 19:47:58 -03:00
Myles
ad1cd2c993
Merge pull request #1208 from KennyTV/dev
Add option to truncate edited books with more than 50 pages on 1.14
2019-03-04 09:34:41 +00:00
KennyTV
9d0331e190 Add option to truncate edited books with more than 50 pages 2019-03-04 10:14:52 +01:00
Myles
b9a2279966
Merge pull request #1206 from ViaVersion/master
merge master into dev
2019-03-03 13:29:00 +00:00
creeper123123321
f46a2bb618
Bungee auto-team, bump BungeeCord version, workaround for block connections 2019-02-24 15:02:09 -03:00
Myles
fd8879b46d Merge branch 'master' into dev 2019-02-23 22:34:16 +00:00
creeper123123321
d962ef09ff
workaround packet order for team packets 2019-02-23 13:44:41 -03:00
creeper123123321
0613886659
Fix memory leak 2019-02-23 10:12:25 -03:00
Myles
1be617c110 Merge branch 'master' into dev 2019-02-10 16:45:34 +00:00
creeper123123321
bce3593110
Tab delaying
(cherry picked from commit 386de52b9db1454e0fcec56ef9bfcd2c3a0f8d4a)
2019-02-06 18:53:24 -02:00
Myles
c5ba5b4647 Ensure pipeline parts exist before injecting #1168 2019-01-20 16:47:50 +00:00
creeper123123321
7e8bd606fe
remove commented code 2019-01-18 14:34:51 -02:00
creeper123123321
44ca95bf85
Fix bungee and velocity boss bar, implement Velocity channel workaround 2019-01-18 08:05:23 -02: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
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
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
Marco Neuhaus
fc8b55dce7 fix spelling mistake 2018-11-24 18:42:00 +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
8549c22567 Change the name of the config class to be more consistent 2018-11-17 13:12:19 +00: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
Myles
e6922eae46 Don't use -1 if provided by ProtocolDetectorService on Bungee #1064 2018-11-01 22:41:56 +00:00
Myles
0fb08be6e9 Tidy up code to make it consistent 2018-10-27 12:25:42 +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
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
ac91ecc5f6 Ensure client disconnected on Bungee before removing 2018-08-21 18:25:41 +01:00
Myles
2510751fdf Introduce 'suppress-1_13-conversion-errors' option 2018-08-21 16:26:04 +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
7c0c4ee74d Implement prefix based team colours (based on code by @JollyAjax) 2018-07-20 21:21:24 +01:00
creeper123123321
31a1bf35d9
More changes involving BaseProtocol - not tested yet 2018-07-14 09:11:17 -03:00
creeper123123321
f12a210665
Platform and Sponge changes 2018-06-14 15:21:49 -03: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
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
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
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
2292175e9a Ensure Bungee protocol order as well as ensuring it picks a protocol that viaversion knows. 2017-06-07 14:01:08 +01: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
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
3228ba65ae Fix #587 2016-12-20 20:13:19 +00:00
Myles
a35408d14f New config option for disabling piston animation for 1.11 clients #570 2016-12-15 15:32:54 +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
Myles
1209beb47d Allow servers to manually be probed with API 2016-11-14 12:38:39 +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
Myles
42edffb309 Change reflection to NMSUtil, and start work on Bungee (doesn't work) 2016-09-26 13:50:20 +01:00
Matsv
e136d1db94
Basic Bungee structure 2016-09-26 13:25:28 +02:00
Myles
dc01fb59b8 Doesn't compile but start work towards seperating into modules... (with legacy support hopefully for basic API) 2016-09-23 18:49:59 +01:00