Commit Graph

2957 Commits

Author SHA1 Message Date
TheMode
165b7bced2 Only direct buffer should be used for IO 2021-05-08 22:45:57 +02:00
TheMode
abe4d0f6ad Remove unused traffic handler 2021-05-08 04:41:14 +02:00
TheMode
073f5872f8 Fix jline reader thread never being shutdown 2021-05-08 04:33:32 +02:00
TheMode
b880788124 BenchmarkManager thread should be daemon 2021-05-08 04:30:06 +02:00
TheMode
40f52ba49e Reduce memory used by chunk packet caching 2021-05-08 01:53:12 +02:00
TheMode
fbae08a5a6 Remove unused method 2021-05-08 01:05:51 +02:00
TheMode
f1e48b07b9 Reduce use of the pooled allocator 2021-05-08 00:52:46 +02:00
TheMode
8b98472ddf Ignore case for generated string arguments 2021-05-07 21:55:49 +02:00
TheMode
fb03b953bb Tick scheduling micro-optimization 2021-05-07 20:41:40 +02:00
TheMode
a33234d886 Fast exit when no chunk should be unloaded 2021-05-07 20:29:37 +02:00
TheMode
52732ed4cd Fix wrong slot being used in left/right click inside the player inventory 2021-05-07 06:48:13 +02:00
Németh Noel
443a097984 Merge remote-tracking branch 'upstream/master' into position-cleanup 2021-05-07 02:55:22 +02:00
TheMode
539648684e
Merge pull request #277 from Kebab11noel/hardcoded-light-improvement
Remove block light data and send full sky data
2021-05-07 02:53:19 +02:00
Németh Noel
6bd1fcff65 Remove block light data and send full sky data 2021-05-07 02:46:07 +02:00
Németh Noel
b75a034b2d Reintroduced two phase chunk sending 2021-05-07 02:24:28 +02:00
Németh Noel
de7241ef6c Re-enable chunk unloading, corrected packet order 2021-05-07 00:54:38 +02:00
TheMode
744b8e7886 Smarter code 2021-05-07 00:16:09 +02:00
TheMode
9a4fdae38a Fix block being transformed to AIR on interaction when in adventure mode 2021-05-07 00:15:16 +02:00
Kieran Wallbanks
37f0f797fd Add ability to mimic messages from a player with the echo command 2021-05-06 16:40:31 +01:00
Kieran Wallbanks
2404f19fe2 Avoid NPEs when obtaining chat message type from player 2021-05-06 16:12:46 +01:00
Németh Noel
d360904f77 Fix different spawn pos check 2021-05-05 23:55:01 +02:00
TheMode
f7f381a54e Update kotlin plugin to 1.5.0 2021-05-05 21:41:48 +02:00
Kieran Wallbanks
a9d2f4e8ca Respect client chat settings 2021-05-05 18:21:38 +01:00
Németh Noel
2f1ada9a9f Merge remote-tracking branch 'upstream/master' into position-cleanup 2021-05-05 18:26:57 +02:00
Németh Noel
3eb4981990 Removed redundant initial value 2021-05-05 18:25:20 +02:00
Németh Noel
7881cea36c Wait for client settings 2021-05-05 18:11:24 +02:00
Németh Noel
bea622db0b Only load spawning chunk before spawning the player 2021-05-05 17:48:57 +02:00
TheMode
cb568ef13a
Merge pull request #238 from Minestom/identified-utils
Server list ping overhaul (dynamic responses, multiple versions, open to LAN, UT3 query)
2021-05-05 17:32:07 +02:00
Kieran Wallbanks
0789bd619e Remove QueryResponse class in favor of Writable 2021-05-05 16:27:50 +01:00
Kieran Wallbanks
a43c0e1291 Modify OpenToLANConfig method names 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
42933e58b0 Minor formatting and javadoc changes 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
2968ea2513 Debug cleanup, expose session ID 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
c6082a35bb Fix query responses 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
17d584a2e3 Swap to SocketAddress 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
a6294ffd5b Cleanup imports 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
94ecb8de7b Add Query system 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
c92829e3cf Correct javadoc 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
f9245e8404 Move free port obtaining to util class 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
ec5ecb49bf Update javadoc 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
01fe452783 Implement OpenToLAN system 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
009f7cb1da Remove lazy initialisation of username component 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
462397d102 Remove Named and Identified interfaces 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
a15e3aef44 Make legacy server pings use the ServerListPingEvent 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
42e1811b7c Switch to per-version response data generation and implement NamedAndIdentified in ResponseData 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
0ac6d1aa37 Add shorthand methods for string creation 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
3651a132fe Correct Javadoc 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
a16c8d3273 Use Component in NamedAndIdentified 2021-05-05 16:18:10 +01:00
Kieran Wallbanks
8d192fcb9c Add NamedAndIdentified interface 2021-05-05 16:18:10 +01:00
Németh Noel
5b41f3ffd0 Spiral chunk loading 2021-05-05 17:05:22 +02:00
TheMode
916650b4c8 Fix ghost item on respawn 2021-05-05 05:43:41 +02:00