7954 Commits

Author SHA1 Message Date
Dylan K. Taylor
c2c210e25a Fixed --enable-ansi and --disable-ansi not being respected on threads
this causes some breakage to the behaviour of Terminal, and for that reason this is going on 4.0.

Terminal::hasFormattingCodes() will no longer auto-detect whether colour codes are supported.
2019-04-26 12:30:24 +01:00
Dylan K. Taylor
86c4e936cb Player now drops the contents of temporary inventories
these inventories are just glorified crafting tables.
2019-04-26 12:27:52 +01:00
Dylan K. Taylor
3b103dcd62 Level: use isInWorld() where appropriate 2019-04-26 12:26:01 +01:00
Dylan K. Taylor
48dfc5b232 Level: reduce complexity of populateChunk() 2019-04-26 12:18:00 +01:00
Dylan K. Taylor
39360f127a Player: Don't use iusername in cases where it's useless
these calls all do strtolower() anyway, so having iusername here just makes it confusing.
2019-04-26 12:07:47 +01:00
Dylan K. Taylor
25890e76e2 Player: replace redundant usage of Server->broadcast() 2019-04-26 12:04:56 +01:00
Dylan K. Taylor
b6b3dcc1aa Improve documentation of SourceInterface and AdvancedSourceInterface 2019-04-26 11:59:10 +01:00
Dylan K. Taylor
d0c4463773 3.8.2 is next 2019-04-26 10:08:59 +01:00
Dylan K. Taylor
7521160f53 Release 3.8.1 2019-04-26 10:08:22 +01:00
Dylan K. Taylor
4f5190e3f8 Updated BedrockData submodule 2019-04-25 20:53:08 +01:00
Dylan K. Taylor
3c941dd992 Move more stuff to BedrockData submodule 2019-04-25 18:23:31 +01:00
Dylan K. Taylor
89f457b397 updated legacy ID table (thanks @MCMrARM) 2019-04-25 17:49:10 +01:00
Dylan K. Taylor
2bdbb9794c New, more efficient blockstate table format
this reduces the file size by ~90%.
2019-04-25 17:28:22 +01:00
Dylan K. Taylor
898009a91b Sync crafting data changes
this seems to fix #2881, at least the reproducing case that was given.
2019-04-25 16:22:12 +01:00
Dylan K. Taylor
793f93afdb NetworkSession: sync with latest code generation changes 2019-04-25 14:49:20 +01:00
Dylan K. Taylor
64506ea3ae PacketPool: add @throws 2019-04-25 14:48:55 +01:00
Dylan K. Taylor
4a35516441 Reduce BatchPacket hacks
we can't get rid of these hacks entirely because BAcKWARdS ComPaTIbilitY, but this at least ensures that things over PID 127 won't burn the house down when 1.12 gets here. This also reduces conflicts with 4.0 line.
2019-04-25 14:48:36 +01:00
Dylan K. Taylor
74b9922a28 3.8.1 is next 2019-04-24 20:00:58 +01:00
Dylan K. Taylor
088fbf65b1 Release 3.8.0 2019-04-24 19:54:57 +01:00
Dylan K. Taylor
fa70127241 1.11.0 protocol changes 2019-04-24 19:54:16 +01:00
Dylan K. Taylor
fc76d04dcb StartGamePacket: allow specifying a custom runtimeID table
this is not the intended goal, but it's a happy side effect of making it easier to extract structured information from the client.
2019-04-24 18:40:29 +01:00
Dylan K. Taylor
353bae87a7 3.7.4 is next 2019-04-23 17:14:49 +01:00
Dylan K. Taylor
dc7be3fd52 Release 3.7.3 2019-04-23 17:13:04 +01:00
Dylan K. Taylor
f28a0740a0 Move version info to its own file for easier third party tooling 2019-04-23 16:07:25 +01:00
Dylan K. Taylor
98ca28d96e add a warning when chunkutils is missing 2019-04-21 17:36:38 +01:00
Dylan K. Taylor
db896b9faf ok i'm done
i am obviously not in any fit state to be doing this today...
2019-04-21 14:22:54 +01:00
Dylan K. Taylor
76c234e4e6 add some limits on batches 2019-04-21 14:16:38 +01:00
Dylan K. Taylor
1e5941c98c Level: Properly report world save timings
this wasn't including chunk unloading in the world save timings.
2019-04-18 19:39:23 +01:00
Dylan K. Taylor
9ca7c0c883 3.7.3 is next 2019-04-15 18:45:53 +01:00
Dylan K. Taylor
b4a8f8391b Release 3.7.2 2019-04-15 18:45:16 +01:00
Dylan K. Taylor
142d750b9f TextFormat: clean() now removes private-use area Unicode characters
the console can't print these, and these are being abused to cause mass crashes in the wild.
2019-04-15 18:42:09 +01:00
Dylan K. Taylor
389e7767d1 Sign: apply a very stupid limit on text size
this is necessary because of the epidemic of server attacks going around lately.
2019-04-14 19:30:28 +01:00
Dylan K. Taylor
4c268acc00 Fixed /whitelist on/off permissions, closes #2849 2019-04-14 17:58:53 +01:00
Dylan T
3925e598d6
Acquire exclusive lock on <datadir>/server.lock to avoid data corruption (#2858)
this fixes #2855.
2019-04-08 20:31:24 +01:00
Dylan K. Taylor
383ec8a8e3 TextFormat: Fixed tokenize() not being Unicode-aware 2019-04-08 15:45:26 +01:00
Dylan K. Taylor
95313e0a90 Updated some entity metadata properties 2019-04-08 14:42:33 +01:00
Dylan K. Taylor
e9a87978a6 Fixed usages of commands.generic.permission
apparently this doesn't exist in the client anymore
2019-04-07 15:07:24 +01:00
Dylan K. Taylor
612e9e162c Fixed worlds with unknown generators silently getting wrong generator, closes #2860 2019-04-06 15:17:36 +01:00
Dylan K. Taylor
fdc3faadc9 Register two missing default permissions
this fixes the pocketmine.command node not having the expected effect in some cases.
2019-04-05 18:48:37 +01:00
Dylan K. Taylor
2c678dcf0d Player: Fixed memory leak when PlayerLoginEvent is cancelled 2019-04-03 17:37:15 +01:00
Dylan K. Taylor
7bd9a2b2e0 3.7.2 is next 2019-03-30 19:15:17 +00:00
Dylan K. Taylor
5c26deb517 Release 3.7.1 2019-03-29 19:56:06 +00:00
Dylan K. Taylor
8fcb44de7d Merge branch '3.6' into 3.7 2019-03-29 19:55:36 +00:00
Dylan K. Taylor
bd2e7db3b9 Release 3.6.6 2019-03-29 19:49:30 +00:00
Dylan K. Taylor
f4480c07ee Updated NBT dependency 2019-03-29 19:47:15 +00:00
Dylan K. Taylor
c09e2301c8 Merge branch '3.6' into 3.7 2019-03-29 14:35:35 +00:00
Dylan K. Taylor
8e9f787d33 Implement runtimeID table randomization, closes #2841 2019-03-29 14:35:06 +00:00
Dylan K. Taylor
89833b3b68 Merge branch '3.6' into 3.7 2019-03-26 15:01:59 +00:00
Dylan K. Taylor
a10a656a5d Network: add a README to mcpe namespace 2019-03-26 15:01:00 +00:00
Sandertv
2659ed8d91 AvailableCommandsPacket: Updated the argument type constants for 1.10. (#2824) 2019-03-22 15:07:15 +00:00