Myles
91344a0b50
Cleanup some of the block placement code.
2016-06-19 18:07:00 +01:00
Troy Frew
27d6c12556
Added TacoSpigot to the block place fix. ( #437 )
...
TacoSpigot is a fork of PaperSpigot that people use.
2016-06-13 09:29:10 +02:00
Mats
a76dd1ba49
Merge pull request #427 from Harry5573/master
...
Correct hologram Y offset
2016-06-10 15:38:52 +02:00
Mats
1a4388b3e7
Convert the Elytra sound properly they added in 1.9.2. Fix #430 ( #432 )
...
* Convert the Elytra sound properly they added in 1.9.2. Fix #430
* Change wrong version in comment
* Remove the passthrough
2016-06-09 16:03:01 +01:00
Mats
f1b81f77d6
Use Myles new Magic transformer for the ArmorListener ( #429 )
...
* Use Myles new Magic transformer for the ArmorListener
* Use Myles new Magic transformer for the CommandBlockListener
2016-06-09 10:49:31 +01:00
Myles
d6edec3a55
Allow packets to be transformed after sent by specifying the current protocol, woo!
2016-06-09 02:44:12 +01:00
Harry
094f4c6d58
Correct hologram Y offset
...
https://github.com/filoghost/HolographicDisplays/blob/master/HolographicDisplays/Plugin/com/gmail/filoghost/holographicdisplays/util/Offsets.java#L15 The offset is by default -1.25 for 1.8, however 1.9 clients require only -0.29. (-1.25 - -0.29) = -0.96 which should be the correct offset.
2016-06-08 21:43:15 +01:00
Myles
f8ac54e237
Fix splash potion crash.
2016-06-08 19:02:11 +01:00
joserobjr
089e07fe49
Changes the random chest sounds to normal chest. ( #424 )
2016-06-08 19:09:19 +02:00
yzimroni
1d3b8f802c
Update names from 'snapshot' to '1.10' ( #422 )
2016-06-08 18:00:21 +02:00
Matsv
249ab01425
Rename package
2016-06-08 16:41:00 +02:00
Matsv
851097de44
Rename package
2016-06-08 16:38:59 +02:00
Matsv
c095a51f7c
1.10 support and version bump
2016-06-08 16:35:06 +02:00
Matsv
5e62b7001e
Merge branch 'master' of https://github.com/MylesIsCool/ViaVersion into 1.10
2016-06-08 15:35:55 +02:00
joserobjr
a79533bf72
Fixed uncraftable potion conversions from 1.8 to 1.9
2016-06-08 10:31:03 -03:00
joserobjr
e3510d01d6
Fixes potion data conversion from 1.8 to 1.9
2016-06-08 08:09:13 -03:00
Mats
8cc4ba168a
Patch EchoPet wrong metadata value ( #419 )
2016-06-08 11:29:08 +01:00
Matsv
264a21d092
Merge branch 'master' of https://github.com/MylesIsCool/ViaVersion into 1.10
2016-06-08 11:37:23 +02:00
Mats
e2585db350
Make the main class cleaner by giving the config his own class ( #418 )
2016-06-07 19:18:48 +02:00
Matsv
a2f7a52d31
Support for 1.10-pre2
2016-06-07 17:29:30 +02:00
Matsv
d04121202d
Modify the config comments to & 1.10
2016-06-07 09:11:33 +02:00
Matsv
95517ade2c
Merge branch 'master' of https://github.com/MylesIsCool/ViaVersion into 1.10
2016-06-03 22:18:28 +02:00
Matsv
c9441de7e4
Change from info to severe
2016-06-03 21:15:53 +02:00
Matsv
dc946cb845
An amazing feature.
2016-06-03 20:49:06 +02:00
Myles
5fa30d9adb
Merge branch 'master' into 1.10
2016-06-03 18:52:52 +01:00
Myles
a7043424ec
Support ProtocolLib + late-bind, also it now tells you the plugin to blame if it goes wrong. How nice!
2016-06-03 18:52:25 +01:00
Matsv
e1b3d21732
Woops, the sounds were still broken. Now it should be fixed. no lies this time
2016-06-02 21:19:48 +02:00
Matsv
8ffc056a7e
Cleanup and change class/package names from 1.9.3
2016-06-02 21:00:18 +02:00
Matsv
7c274fb03d
Handle new sounds
2016-06-02 20:52:55 +02:00
Matsv
3b533b5138
Compatibility with 1.10-pre1 (number 2, git didn't push everything for some reason)
2016-06-02 18:37:05 +02:00
Matsv
5665510f7e
Compatibility with 1.10-pre1
2016-06-02 18:34:04 +02:00
Matsv
d5bf7909e8
Sync with master
2016-05-27 19:16:22 +02:00
Myles
e3305e4eae
Automatically buffer unknown entities, removes 2 config values and deprecate api
2016-05-27 01:00:01 +01:00
Matsv
15fe8d394e
Support for 16w21b
2016-05-26 19:02:06 +02:00
Matsv
082db38c40
Merge branch 'master' of https://github.com/MylesIsCool/ViaVersion into 1.10
2016-05-26 17:03:40 +02:00
Myles
be54dc41d1
Add SkinRestorer to plugin.yml unsure if this will fix anything
2016-05-26 14:27:27 +01:00
Myles
487e79c043
Fix javadocs
2016-05-26 13:54:22 +01:00
Matsv
9d9fc65633
Support for 16w21a, how fun. A snapshot without packet changes
2016-05-25 16:44:20 +02:00
Matsv
6eac61c912
Sync with master
2016-05-24 21:17:30 +02:00
Matsv
d89362a271
Sync with master
2016-05-24 21:13:28 +02:00
Myles
9e6c0f72a8
Update version to be 1.9.3/4
2016-05-22 11:41:59 +01:00
Myles
70ad2613f1
Update config to look a bit more nicer, doesn't have the extra space when generated by bukkit.
2016-05-22 11:41:27 +01:00
Myles
9052946c45
Merge branch 'master' into 1.10
2016-05-21 22:12:10 +01:00
Myles
3ddc43bf7b
Implement isSpigot() in the API and make it so xray does not activate if they do not use spigot.
2016-05-21 22:07:20 +01:00
Matsv
cdb757eae5
Implement Myles idea to just use templates instead of defining compatibility
2016-05-21 21:19:20 +02:00
Matsv
50a3e03649
Possibility to add 'isCompatible' with other types. Fixes crashes on a 1.8 server
2016-05-21 20:54:26 +02:00
Matsv
957284930e
Fix sounds
2016-05-21 16:19:12 +02:00
Matsv
198a24371c
Sync with master
2016-05-21 15:01:25 +02:00
Mats
bcc994b0dd
Add possibility to get the supported versions from the api and status response ( #402 )
...
* Possibility to send the Supported versions inside the status response packet
* Make lowercase
2016-05-19 18:56:42 +01:00
Matsv
f870bd5a32
Transform pitch correctly
2016-05-19 13:07:51 +02:00
Matsv
a14abd6f4f
Handle the new Metadata value for 16w20a
2016-05-19 12:18:04 +02:00
Matsv
2456c3cf17
Basic support for the new 1.10 snapshot 16w20a
2016-05-18 16:43:57 +02:00
Myles
ba624a2b48
1.9.4 backport ( #399 )
...
Allow 1.9.4 spigot to handle 1.9, 1.9.1, 1.9.2
2016-05-17 22:48:56 +01:00
Mats
82bf11fcbc
Fix anti-xray for 1.9 ( #393 )
...
* Fix anti-xray for 1.9
* Bye NMS.
* Perform
* Add config option
2016-05-10 19:53:37 +01:00
Myles
00cc545795
Using javassist add compatibility for Spigot builds with protocol compatibility (eg. 1.9.1 & 1.9.2)
...
Also fix issue with protocol passthrough
*whew*
2016-05-10 14:37:31 +01:00
Myles
c7ee816aba
Merge branch 'master' of https://github.com/MylesIsCool/ViaVersion
2016-05-10 10:27:32 +01:00
Myles
e7f85e67f6
Change our data structures to use concurrent equivalents, netty is multi-threaded.
2016-05-10 10:26:49 +01:00
Mats
d239d2f967
Stop depending the bossbar metadata rewriter on the bukkit api ( #391 )
...
* Don't depend the bossbar metadata rewriter on the bukkit api
* Rename field
2016-05-09 17:44:10 +01:00
Mats
4cffdd4f64
Don't call PlayerInteractEvent twice and fix the gamemode message ( #390 )
...
* Experimental feature to fix the 'Your gamemode has been updated to ' message
* Don't fire PlayerInteractEvent twice, fix #326
2016-05-08 19:49:13 +01:00
Mats
cb3f0291b7
Well, this feature never worked. ( #389 )
2016-05-04 20:03:48 +01:00
Mats
edaffad045
1.9.3 support
2016-05-04 17:32:38 +02:00
Myles
172f89940a
Implement passthroughAll to make it easier for adding things to the end of a packet.
2016-05-03 21:09:48 +01:00
Myles
fb4bc397c6
Add fallback to metaindex to living entity.
2016-04-30 20:40:09 +01:00
Myles
e595344941
Implement rewriting for villager trade info.
2016-04-29 17:09:24 +01:00
Mats
0374da573b
Check if the player is ported, fix NullPointerException post 876 on spigotmc.org ( #374 )
2016-04-24 12:29:52 +01:00
Myles
8e64fb8c21
Add magical unknown protocol version, so that if it's not registered it doesn't NPE.
2016-04-23 20:39:16 +01:00
Myles
acb7372eb7
Ensure that the player is online.
2016-04-22 13:36:10 +01:00
Myles
057ab050ea
Make it so base protocol actually registers its listeners Credit to @jollyolbrits for finding this silly one.
2016-04-22 13:28:54 +01:00
Myles
261d68c58e
Fix blocking shield not going away :P
2016-04-21 21:13:10 +01:00
Myles
cc5bcb8a64
Allow NMS packet receiving
2016-04-21 16:19:29 +01:00
Mats
b6794f5597
Cancel swap item, fix #364 ( #365 )
...
* Cancel swap item, fix #364
* Remove canceling drop item
2016-04-20 18:31:18 +01:00
Myles
6bb473ea8d
Change PlayerMovementMapper to a handler and fix the mappings so it works.
2016-04-20 01:33:01 +01:00
Myles
7984f6400c
Clean up not used code
2016-04-20 01:25:00 +01:00
Myles
3498d093b0
Thanks @jollyolbrits for debugging, fix the issue with ground not being sent properly for movement.
...
Fixes anti-cheat issues.
Placement issues.
Probably 100 billion other issues.
Fix me being an idiot and changing numbers.
2016-04-20 01:22:58 +01:00
Myles
a3db32758c
Add new is feature to PacketWrapper :)
2016-04-20 01:09:39 +01:00
Myles
45952d3759
Move Idle thread.
2016-04-20 00:50:44 +01:00
Myles
c552b12696
Merge branch 'master' of https://github.com/MylesIsCool/ViaVersion
2016-04-19 22:53:48 +01:00
Myles
0ae9d9dbbf
Fix bossbars so they send correctly, credits to @jollyolbrits for detailed reporting of where the issue may take place.
2016-04-19 22:53:27 +01:00
Mats
8852e3b3a3
Change item from main hand, not offhand. Fixes #329 ( #363 )
2016-04-19 16:32:03 +01:00
Myles
a496b2d3a8
This branch would be better here as it won't be applicable if elsewhere.
2016-04-17 12:59:01 +01:00
Myles
6198dbfe70
Change to match the config
2016-04-17 12:55:34 +01:00
Myles
a81d52a54f
Implement a packet limiting system,
...
This means that if a client sends more than a maximum, it will be disconnected.
It also means if a client goes over a threshold multiple times over a period of time, it will be disconnected.
Improvements are welcome, it's mostly down to how the user configures it.
(Some values are higher so that we don't kill every server with a tiny bit of lag)
2016-04-17 12:55:18 +01:00
Myles
4f8a248c6b
Add item-cache as a less expensive way of getting items. (Will rewrite eventually to not depend on Bukkit)
2016-04-17 00:52:35 +01:00
Mats
57d58db35e
Fix item showing twice, one in the new slot ( #359 )
2016-04-15 18:48:28 +01:00
Mats
c214ca02e8
Make commandblocks compatible with all 1.8 spigot/craftbukkit versions, fix #355 ( #356 )
2016-04-14 12:59:23 +01:00
Myles
6b8b0e1771
Bump version to 0.7.6-SNAPSHOT
2016-04-13 19:42:53 +01:00
Myles
e6671513f2
Improve an issue to do with block breaking ghosting back, note this is not a fully fix, but improves the issue quite a bit.
2016-04-13 16:54:18 +01:00
Myles
4c7b50d6fb
Fix chunk sending order, Fixes #338 , #292 (I believe.)
2016-04-13 15:05:50 +01:00
Mats
1c9229a2fc
Don't unload the chunks twice ( #350 )
2016-04-13 12:25:41 +01:00
Mats
dc4b5b4d35
Possibility to show the new 1.9 death messages ( #348 )
2016-04-12 12:01:37 +01:00
Mats
517299d673
Show skeletons' bow like 1.8, not down as 1.9 without target ( #347 )
2016-04-12 11:18:58 +01:00
Mats
a8baa7af50
Transform Combat packet ( #346 )
2016-04-12 11:18:51 +01:00
Myles
a1f847c905
Patch respawn packet to reset bulk / loaded cache.
2016-04-11 20:17:48 +01:00
Mats
f3ea43b1eb
Reformat / optimize imports ( #344 )
2016-04-10 18:43:08 +01:00
Mats
551b5d0654
Rewrite effect ids ( #342 )
...
* Rewrite effect ids
* Remove test line
* Remove Lombok unused thingy
* No need to check.
2016-04-10 14:29:25 +01:00
Mats
9f39662df6
Check if custom name is visible and if custom name is not empty. Fix …
...
* Check if custom name is visible and if custom name is not empty. Fix #327
* Fix typo
2016-04-06 13:50:09 +01:00
Mats
5032e7d07e
Only apply the 'Hologram patch' to small entities since it only happens to them.
...
Only apply the 'Hologram patch' to small entities (Doesn't fix issue but hey)
2016-04-04 15:55:48 +01:00
Myles
c7c6ee9fbc
Delay registration of protocols until the plugin has loaded to prevent it being done at the wrong time, #323 #316 Fixed
2016-04-03 23:30:10 +01:00
Mats
4431ca63c2
Fix viaversion list command
2016-04-03 11:26:27 +01:00
Myles
1fa7211cf0
Construct List properly, Fix #314
2016-04-03 01:51:38 +01:00
Myles
de576795dc
Blame @Matsv
2016-04-02 22:59:40 +01:00
Myles
8276b212e9
Merge pull request #313 from Matsv/master
...
Stop allowing everyone to change the instance
2016-04-02 21:32:46 +01:00
Matsv
aabd9247a6
Stop allowing everyone to change the instance
2016-04-02 21:45:24 +02:00
Myles
997c2ad6a1
Fix Potions: ThrownPotion is now correct, and the particles are too.
...
Fixes #223
Also changes a tiny bit of javadoc :)
2016-04-02 14:46:30 +01:00
Myles
233a2ba5df
Merge pull request #312 from Matsv/dev
...
Fix custom NBT for potions / spawneggs
2016-04-02 14:09:00 +01:00
Matsv
ed0d5a7cfb
Fix NBT for potions
2016-04-02 15:06:10 +02:00
Matsv
87f083460c
Fix custom named spawneggs
2016-04-02 15:02:41 +02:00
Myles
2d6dedefb8
Add some packet plugins to loadbefore to ensure it works better with them.
2016-04-02 13:50:21 +01:00
Matsv
8c706b665c
Don't format if no args are given
2016-04-02 11:58:15 +02:00
Matsv
2e3677a592
Make command sender messages cleaner
2016-04-02 11:51:17 +02:00
Myles
3602c5087b
Don't send a meta data packet when list is empty. #288
2016-04-01 18:13:23 +01:00
Hugo Kerstens
7defe7129f
Implement subcommand to reload the config
2016-04-01 17:31:44 +02:00
Matsv
3f64fb7d5f
Cleanup BossBar class & add new bossbar api method, addPlayers()
2016-04-01 16:03:56 +02:00
Myles
ac8f7a00ae
Merge pull request #305 from HugoDaBosss/master
...
Implement new protocol version registry
2016-03-31 22:45:39 +01:00
Myles
6893f34289
Support reloading to some extent, if you use protocol lib it will kick all your players... (So you probably should just get a PluginManager...)
...
One day i'll fully patch to work... (If I don't kick the players it ends up that ProtocolLib implodes and nobody can connect.)
2016-03-31 22:45:15 +01:00
Hugo Kerstens
0a69d62cbe
Fixed typo (blame Mats)
2016-03-31 23:26:13 +02:00
Matsv
7326205495
Woops use the same instance
2016-03-31 22:48:20 +02:00
Matsv
2905d77206
Reformatting moved color to the top ;(
2016-03-31 20:53:03 +02:00
Matsv
cb8ec2ce20
Add tab-complete possibility and help subcommand
2016-03-31 20:50:22 +02:00
Hugo Kerstens
09f484f956
Implement new protocol version registry
2016-03-31 19:50:04 +02:00
Matsv
b701a0ef67
Change debug mode subcmd description
2016-03-31 18:55:05 +02:00
Matsv
eb50f4e907
Merge branch 'master' of https://github.com/Matsv/ViaVersion into cmd
2016-03-31 17:53:12 +02:00
Matsv
6480ea34fc
Changed javadoc
2016-03-31 17:52:06 +02:00
Matsv
511941462f
Add javadoc
2016-03-31 17:51:30 +02:00
Matsv
34cc783cac
Fix missing description, add javadocs, make sure subcommand is valid, check permission
2016-03-31 17:48:15 +02:00
Matsv
ecc79b4f49
Command API to keep it clean and make it possible for developers to add their own viaversion subcommands if they want to.
2016-03-31 17:22:42 +02:00
Matsv
41d5144b57
Handle discontinued player item in hand, fixes #299
2016-03-31 16:28:56 +02:00
Hugo Kerstens
0acc2f95fb
Remove unneeded code
2016-03-31 15:08:19 +02:00
Myles
8760b53a0a
Fix Disconnect Issue (It's not really harmful but still)
2016-03-30 17:45:24 +01:00
Myles
a40182186f
Fix debug issue with 1.9.2
2016-03-30 17:34:13 +01:00
Matsv
75c9284cda
Rename 1_9_1 PRE to just 1_9_1
2016-03-30 18:23:52 +02:00
Myles
fb6055cbfe
1.9.2 support (no protocol changes from what I've seen)
2016-03-30 16:51:55 +01:00
Myles
639c9ea8c1
Fix 1.8R0.1 not working, ensure flying packets are sent from right place in pipeline, should fix #273
2016-03-30 16:43:01 +01:00
Myles
1872845d2b
Add additional information when packets aren't sent correctly.
2016-03-30 15:58:31 +01:00
Myles
93755c6732
Move patch to update health so it works better and is applied upon login.
2016-03-29 18:22:40 +01:00
Myles
c49bf89ead
Merge pull request #289 from Matsv/debug
...
Show all errors on debug
2016-03-29 15:03:36 +01:00
Myles
4ff4fe2ab2
Merge branch 'master' of https://github.com/MylesIsCool/ViaVersion
2016-03-29 15:02:04 +01:00
Myles
1b99e2cf57
Move EntityNBT to different file and fix the issue to do with respawn chunks unloading. #287
2016-03-29 15:01:38 +01:00
Matsv
55830b0dfb
Show all errors on debug
2016-03-29 16:00:56 +02:00
Mats
95ea95be13
Woops the new api broke ServerListPlus custom outdated message again fixes #282
2016-03-28 11:52:29 +02:00
Myles
d72b7fc4df
Fix shields not being configurable
2016-03-27 23:52:57 +01:00
Myles
0992c74351
Improve block placing a bit
2016-03-27 23:40:32 +01:00
Myles
081c23ad8b
Small Javadocs
2016-03-27 22:45:25 +01:00
Hugo Kerstens
9847912128
Make BossBar API easier to use
2016-03-27 21:30:31 +02:00
Myles
d89a34cca3
Allow packets to be written to the server using passthrouh ID, shouldn't break anything I also updated comment on why interaction is half broken
2016-03-27 19:13:19 +01:00
Myles
6197138380
Merge pull request #279 from HugoDaBosss/apiv2
...
Update BossBar API to use protocol version and add protocol version check by uuid API method
2016-03-27 18:31:17 +01:00
Hugo Kerstens
f5f4876182
Add check for isPorted because server can be using 1.9
2016-03-27 18:05:04 +01:00
Hugo Kerstens
293c1229ff
Update BossBar API to use protocol version and add protocol version by uuid API method
2016-03-27 17:58:31 +01:00
Myles
ba60f10744
Match the source for SPIGOT-1.8
2016-03-27 16:37:42 +01:00
Myles
c0493de4df
Does not fix armour issue completely but improves right click armour items (it's still bugged, working on it)
2016-03-27 14:57:13 +01:00