Commit Graph

402 Commits

Author SHA1 Message Date
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