Commit Graph

100 Commits

Author SHA1 Message Date
Felix Cravic
5de6e466ee Execute the shutdown tasks before closing the netty server 2020-12-02 20:55:05 +01:00
Felix Cravic
415bcda6fd Allow custom Netty thread count 2020-11-29 17:49:02 +01:00
Felix Cravic
1f2e4de0b3 Use of a ScheduledExecutorService for the server ticks (instead of Thread#sleep) 2020-11-28 21:50:34 +01:00
Eoghanmc22
a934df2af2 Merge branch 'master' of https://github.com/Minestom/Minestom 2020-11-22 08:59:52 -05:00
themode
5d8b59c012 Fixed MinecraftServer#setChunkViewDistance making players show more chunks than what their option is 2020-11-22 13:23:53 +01:00
Eoghanmc22
f2f0625666 Merge branch 'master' of https://github.com/Minestom/Minestom
 Conflicts:
	src/test/java/demo/PlayerInit.java
2020-11-21 13:23:16 -05:00
Eoghanmc22
926c02b7f5 Small optimizations to netty. 2020-11-21 13:09:03 -05: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
Eoghanmc22
9a64a0a409 Merge branch 'master' of https://github.com/Minestom/Minestom
 Conflicts:
	src/main/java/net/minestom/server/entity/Player.java
	src/main/java/net/minestom/server/network/player/NettyPlayerConnection.java
	src/main/java/net/minestom/server/utils/PacketUtils.java
2020-11-20 08:56:58 -05:00
themode
075ff7600a Added a whole new caching system for ChunkDataPacket and UpdateLightPacket 2020-11-20 11:14:15 +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
828069c685 Cleanup + reduced default chunk view distance to 8 2020-11-19 07:00:41 +01:00
Eoghanmc22
f307303758 Netty improvements 2020-11-18 20:28:56 -05:00
themode
3db53a798f Removed lombok dependency 2020-11-16 03:10:51 +01:00
themode
a56a9aba3e Clarification for FakePlayer#initPlayer about player registration 2020-11-14 02:30:42 +01:00
themode
6586ca39bc Added MinecraftServer#getPacketProcessor and allow to override client packet and instantiate packet instance from an id 2020-11-14 00:20:19 +01:00
themode
ade727cd0f Cleanup + created SingleThreadProvider 2020-11-13 19:43:22 +01:00
themode
c60f625c55 Revamp of the packet sending code, added possibility to have listeners for outgoing packets 2020-11-13 07:43:35 +01:00
themode
0ab9c79a28 Prevent array resizing during server tick 2020-11-13 03:26:35 +01:00
themode
f24ae00c8f Enable packet rate limit by default with a value of 300 2020-11-13 02:07:01 +01:00
themode
02f507d5ad Server shouldn't crash/lag when receiving a string too big 2020-11-13 01:53:55 +01:00
themode
674e1079dd Added max packet size condition 2020-11-13 01:34:25 +01:00
themode
60d01fab11 Fix main loop sleep 2020-11-12 00:56:36 +01:00
themode
68bb479f4a Cleanup 2020-11-10 07:42:11 +01:00
themode
7db94f3a65 Support for velocity modern forwarding 2020-11-09 23:48:34 +01:00
themode
7bdfc93334 Added some comments about exceptions 2020-11-07 04:42:48 +01:00
themode
2c0f0a8f9e Remove warning about MinecraftServer#setEntityViewDistance 2020-11-04 19:20:45 +01:00
themode
f85b2c4aad Allow dynamic entity view distance change 2020-11-04 19:14:04 +01:00
themode
ae1d089603 Rounded extensions loading time for readability purpose 2020-11-04 18:27:18 +01:00
themode
b575d6df57 Changed the wiki link in README.md 2020-11-03 18:22:36 +01:00
themode
96dcd0e27f Incredibly hard update to 1.16.4 2020-11-03 02:16:32 +01:00
themode
b74d85eca8 The chunk view distance can now be dynamically modified both by the client or with the server using MinecraftServer#setChunkViewDistance, also added UpdateViewDistancePacket 2020-10-31 19:44:22 +01:00
themode
617d3cc89f Removed check for manager getters 2020-10-28 13:19:34 +01:00
themode
44c912d7ec Prevent retrieving null managers before their initialization and added annotations in ConnectionManager 2020-10-26 15:15:56 +01:00
themode
1b7613d977 Allow for custom chunk/entity view distance and compression threshold without recompiling the server. 2020-10-25 16:48:14 +01:00
themode
19ab2cbd50 Comments for MinecraftServer 2020-10-17 16:54:35 +02:00
themode
c130fb6144 Added getter for ExtensionManager 2020-10-17 16:30:37 +02:00
themode
660a67e53e English fix 2020-10-15 21:16:31 +02:00
themode
50326b676c Added PotionEffect 2020-10-15 05:29:48 +02:00
Articdive
e65fa060ba
Get the server JAR for assets directly from Mojang.
No longer require installed MC to get the server JAR.
2020-09-25 18:39:43 +02:00
jglrxavpok
6df42b79cb Merge branch 'mixin-support' 2020-09-11 21:03:43 +02:00
Eoghanmc22
952668efc0 1.16.3 2020-09-10 15:27:02 -04:00
themode
d4d5ac873f Renamed StorageFolder to StorageLocation 2020-08-31 00:41:19 +02:00
themode
6a66757c7a WIP MAX_PACKET_SIZE 2020-08-21 13:29:05 +02:00
jglrxavpok
164719090a (WIP) Support for runtime code modification 2020-08-20 02:06:58 +02:00
Eoghanmc22
51f8520a1f
Merge pull request #39 from Minestom/extensions
Add support for Extensions.
2020-08-18 19:26:03 -04:00
themode
8b30caa8c8 Micro optimization + cleanup 2020-08-19 01:24:51 +02:00
Articdive
846b668c1b
Rename plugins to Extensions and add basic support. 2020-08-18 14:18:12 +02:00
Felix Cravic
737cf24ace Stop hardcoding version name 2020-08-16 10:57:27 +02:00