Commit Graph

1093 Commits

Author SHA1 Message Date
themode
5d8b59c012 Fixed MinecraftServer#setChunkViewDistance making players show more chunks than what their option is 2020-11-22 13:23:53 +01:00
themode
aa2f8489b2 Fixed max string length 2020-11-22 11:16:21 +01:00
themode
8330abbc4b Fixed mojang authentication 2020-11-21 23:33:06 +01:00
themode
48b637cbc8 Fixed player spawn when a respawn point is not specified 2020-11-21 20:56:32 +01:00
themode
ab98c11de3 ItemStack#isSimilar should return true if both items have the same identifier 2020-11-21 11:42:47 +01:00
themode
3087b120f9 Basic support for linux io_uring 2020-11-21 10:42:07 +01:00
themode
3193c0894e Typo fix 2020-11-21 10:27:39 +01:00
themode
27414f65ab Made packet caching optional (enabled by default) 2020-11-21 10:26:25 +01:00
themode
0e6bb6cc3d Replaced Arrays.copyOf to native #clone 2020-11-21 09:35:50 +01:00
themode
6ecf53c863 Increased player synchronization group from 50 to 75 2020-11-21 08:14:25 +01:00
themode
500fc2e903 Fixed chunk being asked two times 2020-11-21 08:06:04 +01:00
themode
404ddb5bf9 Added a new item data ownership system, replacing the old nbt consumer and NbtDataImpl 2020-11-21 06:37:44 +01:00
themode
58f035fc4a Added lastUpdate param comment in TemporaryCache 2020-11-21 05:53:30 +01:00
themode
2ae602df87 Rollback teleportation to respawn point 2020-11-20 19:23:50 +01:00
themode
206991ad0a Fixed TemporaryCache#retrieve not taking the last update time 2020-11-20 18:15:37 +01:00
themode
7a1a43279a Fixed empty chunk when connecting during its generation 2020-11-20 17:13:00 +01:00
themode
da4216a51f Fixed chunk synchronization during generation and packet sending 2020-11-20 16:37:59 +01:00
themode
d7d610ffef Fixed the player receiving multiple self position packet 2020-11-20 14:39:10 +01:00
themode
014bc8b0b5 Fixed DebugUtils 2020-11-20 14:21:20 +01:00
themode
871cb993b4 Do not send packet to empty collection 2020-11-20 14:14:55 +01:00
themode
98fe83c605 Comments for PacketUtils 2020-11-20 14:05:22 +01:00
TheMode
8c5d013990 Flush in the current thread
Signed-off-by: TheMode <themode@outlook.fr>
2020-11-20 13:48:45 +01:00
themode
f1c0c99781 Fixed TemporaryCache check 2020-11-20 11:59:58 +01:00
themode
075ff7600a Added a whole new caching system for ChunkDataPacket and UpdateLightPacket 2020-11-20 11:14:15 +01:00
themode
e453a0f9b5 Added Chunk#getLastChangeTime 2020-11-20 08:39:06 +01:00
themode
02eab844a5 Fix logging when compression is disabled (not recommended) 2020-11-20 07:55:34 +01:00
themode
9f45cf11a3 Added todo to optimize buffer allocation 2020-11-20 05:50:52 +01:00
themode
4060f8d290 Added GroupedPacketHandler to prevent rewriting the same packet multiple times 2020-11-20 05:37:13 +01:00
themode
3455c77eb7 Explain the role of each handlers 2020-11-20 04:48:33 +01:00
themode
e8ddf44c39 Stop hardcoding handler names 2020-11-20 04:36:33 +01:00
themode
153f7215b3 Write packet only once when used with PacketUtils#sendGroupedPacket 2020-11-20 03:57:05 +01:00
themode
2d7159f888 Fixed javadoc 2020-11-20 03:50:41 +01:00
themode
0739b57dd1 Server packet listener now takes a collection of player, for future network optimization 2020-11-20 03:47:29 +01:00
TheMode
a0fccca1c6
Merge pull request #69 from JesFot/master
Add code style checks
2020-11-20 02:55:33 +01:00
TheMode
60bb0fec73
Merge pull request #71 from LeoDog896/master
Add llama entity with hitbox
2020-11-20 02:55:02 +01:00
JesFot
2c18312988
Merge branch 'master' into master 2020-11-20 02:12:02 +01:00
LeoDog896
974372d2bd Merge remote-tracking branch 'upstream/master' 2020-11-19 19:55:00 -05:00
LeoDog896
66f038113f Added EntityLlama 2020-11-19 19:53:22 -05:00
themode
018786463d Replaced the channel traffic handler to GlobalChannelTrafficShapingHandler 2020-11-19 15:37:12 +01:00
themode
099a8bafdc Increase socket send buffer to 1MB 2020-11-19 08:29:34 +01:00
themode
c1e623eddc Fix unmappable character 2020-11-19 08:19:16 +01:00
TheMode
af730fb73c Decrease default synchronization time group to 50
Signed-off-by: TheMode <themode@outlook.fr>
2020-11-19 08:11:09 +01:00
themode
69a268aa9d Fixed first player teleportation when the respawn point is not 0 0 0 2020-11-19 08:05:08 +01:00
themode
828069c685 Cleanup + reduced default chunk view distance to 8 2020-11-19 07:00:41 +01:00
TheMode
fae8e30272 Reduced compression level to 3
Signed-off-by: TheMode <themode@outlook.fr>
2020-11-19 04:54:54 +01:00
themode
f30330c59b Added PlayerStartDiggingEvent warning 2020-11-18 13:22:23 +01:00
themode
408ce03cfb Made PacketDecoder more readable 2020-11-18 11:15:58 +01:00
themode
e619dd6a8e Set the default write & read limit to 75KB/s per connection 2020-11-18 11:11:21 +01:00
jglrxavpok
142b6a69a5 Post-merge fixes 2020-11-18 09:24:59 +01:00
jglrxavpok
0a4bb5ab08 Merge branch 'extensions-v2'
# Conflicts:
#	src/main/java/net/minestom/server/extensions/Extension.java
#	src/main/java/net/minestom/server/extensions/ExtensionManager.java
#	src/main/java/net/minestom/server/extras/selfmodification/MinestomRootClassLoader.java
2020-11-18 09:13:30 +01:00