Commit Graph

137 Commits

Author SHA1 Message Date
themode
e5e1d1614b Optimize chunk index to coordinate conversion + made the chunk map in InstanceContainer using long primitive but non-concurrent, requiring synchronization 2020-08-17 16:50:23 +02:00
themode
97a1141583 Replaced player viewableChunks set interaction to the Chunk class (Viewable support) 2020-08-16 19:18:34 +02:00
Felix Cravic
caa89dd2f8 Chunk update 2020-08-16 00:53:42 +02:00
Eoghanmc22
1798b50092 Merge branch 'master' of https://github.com/Minestom/Minestom
 Conflicts:
	src/main/java/net/minestom/server/MinecraftServer.java
	src/main/java/net/minestom/server/instance/MinestomBasicChunkLoader.java
2020-08-15 10:06:01 -04:00
Felix Cravic
ab86400e80 Fix Player#sendPluginMessage 2020-08-15 13:42:27 +02:00
Felix Cravic
939d06cfb5 Added Player#sendPluginMessage 2020-08-15 13:38:57 +02:00
Eoghanmc22
1b7641c0e1 Merge branches '1.16.2' and 'master' of https://github.com/Minestom/Minestom
 Conflicts:
	src/main/java/net/minestom/server/UpdateManager.java
	src/main/java/net/minestom/server/thread/PerGroupChunkProvider.java
	src/main/java/net/minestom/server/thread/PerInstanceThreadProvider.java
2020-08-14 20:52:34 -04:00
Felix Cravic
1d047b5de3 Removed useless synchronization 2020-08-14 15:24:57 +02:00
Eoghanmc22
cc01a48cf1 Minestom now properly adapts when a player changes their render distance, also fixed a bug that pointers to chunks that were unloaded were kept in the viewableChunks list until the player's instance was changed. 2020-08-13 17:54:55 -04:00
Eoghanmc22
d2f6c08c4e Merge branch 'master' of https://github.com/Minestom/Minestom 2020-08-13 17:25:59 -04:00
Eoghanmc22
74c99e8886 Fix glitchy chunk loading when you first login and don't send chunks to a player that are out of the player's render distance. 2020-08-13 17:23:35 -04:00
Eoghanmc22
d66d87ed97 Rate Limiting fixes 2020-08-13 14:51:01 -04:00
Eoghanmc22
542d603d60 1.16.2 support 2020-08-12 21:08:03 -04:00
jglrxavpok
a7139d19b6 Merge branch 'permission-api' 2020-08-10 21:43:15 +02:00
Felix Cravic
dad8503ee5 Optimize EntityEquipmentPacket 2020-08-10 13:55:06 +02:00
R0bbyYT
ba07fa78f0 Fixed 2020-08-09 17:10:58 +02:00
Felix Cravic
45fd0dc22a Comments 2020-08-07 09:14:50 +02:00
Felix Cravic
424256dcb6 Fixed entities not being removed from viewing list after changing instance 2020-08-06 18:39:56 +02:00
Felix Cravic
20e78afb40 Remove BossBar from the Player class, BossBar#addViewer should be used instead 2020-08-06 08:17:59 +02:00
Felix Cravic
4da05b2c3f Use ColoredText when possible 2020-08-05 18:25:11 +02:00
jglrxavpok
1772b94114 Start of Permission API 2020-07-31 22:31:58 +02:00
Felix Cravic
98c3419766 Cleanup 2020-07-27 02:28:03 +02:00
Felix Cravic
f8453b4906 Added ItemMeta + MapDataPacket 2020-07-23 05:36:15 +02:00
Felix Cravic
df6c9e4953 More comments + cleanup 2020-07-22 17:39:48 +02:00
jglrxavpok
30019ebe9a Customizable dimension list in JoinGamePacket + Dimension->DimensionType 2020-07-13 14:12:21 +02:00
Felix Cravic
9fc8012d9d Fix player display name 2020-07-06 19:15:13 +02:00
Felix Cravic
0d0674ee5d Added support for custom server brand name 2020-07-02 15:56:43 +02:00
Eoghanmc22
ffe5240a8d Merge branches 'experimental' and 'master' of https://github.com/Minestom/Minestom 2020-06-30 20:00:28 -04:00
Felix Cravic
f873f495ea Fix inventory + added our own chat parser 2020-07-01 01:17:58 +02:00
Eoghanmc22
68049b3eab Merge branches 'experimental' and 'master' of https://github.com/Minestom/Minestom 2020-06-30 17:15:32 -04:00
jglrxavpok
450603cac8 Don't send tags packet to viewers 2020-06-30 21:06:06 +02:00
jglrxavpok
2303b98024 Send tags to player on connection 2020-06-30 20:38:42 +02:00
Felix Cravic
2696bead72 Cleanup 2020-06-30 12:59:37 +02:00
Felix Cravic
e1b9f74cf4 Optimize message sending 2020-06-30 01:25:23 +02:00
Felix Cravic
18f9341c55 Add missing break statement 2020-06-29 17:32:35 +02:00
Eoghanmc22
f04e8036fc Add missing break and fix various things with the netty improvements made by WhileInside, add the disconnect during login packet currently only used for preventing multiple people with the same username from logging in when Mojang auth is enabled. 2020-06-29 11:25:10 -04:00
Eoghanmc22
37b5484775 Minor optimizations to mojang auth. 2020-06-25 19:40:33 -04:00
Eoghanmc22
b80da2f097 basic 1.16.1 support 2020-06-25 15:05:58 -04:00
Eoghanmc22
8e26447f9a Merge branch 'master' of https://github.com/Minestom/Minestom 2020-06-23 17:02:29 -04:00
Felix Cravic
2db810bafa Added legacy message support 2020-06-23 22:46:22 +02:00
Eoghanmc22
e203d9c45a Merge branch 'master' of https://github.com/Minestom/Minestom
 Conflicts:
	build.gradle
	src/main/java/net/minestom/server/entity/Player.java
2020-06-23 16:03:21 -04:00
Eoghanmc22
7ac90cff24 init 2020-06-23 15:58:31 -04:00
Felix Cravic
19fc90e764 Fixed Held packet + replaced the short by a byte 2020-06-23 18:09:01 +02:00
Felix Cravic
9dfb9b657b Added CommandSender#isPlayer and CommandSender#isConsole 2020-06-23 17:25:46 +02:00
Felix Cravic
f892213e8c Added a new Chat API 2020-06-22 23:25:00 +02:00
Eoghanmc22
c31b962ed8 fix imports 2020-06-21 19:25:50 -04:00
Eoghanmc22
77b99e8223 Merge with latest Minestorm 2020-06-21 18:57:53 -04:00
Eoghanmc22
42276efc49 Added optional Mojang auth and UUIDs support (MojangAuth.init()), added support for skin layers, and made everywhere have max lighting. 2020-06-21 18:04:19 -04:00
Felix Cravic
72234ac706 Added PlayerPreLoginEvent 2020-06-21 22:11:56 +02:00
Felix Cravic
eba5c5ae3a Added CommandSender and ConsoleSender 2020-06-21 14:01:03 +02:00