Dylan K. Taylor
86cc151e60
Revert "Network: Each interface now keeps its own statistics"
...
This reverts commit 7720a0534e3c4f0dcc70cf3fbc12699de6f04374.
2019-04-18 15:45:03 -04:00
Dylan K. Taylor
7720a0534e
Network: Each interface now keeps its own statistics
...
this allows more detailed analysis.
2019-04-18 19:57:40 +01:00
Dylan K. Taylor
f933ce31dd
Merge branch 'stable'
2019-04-18 19:40:22 +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
752e398970
AsyncTask: TLS now supports storing multiple values (now requires a key/value pair)
2019-04-18 18:58:31 +01:00
Dylan K. Taylor
a4c7ec077b
Fixed possible crash in ChunkRequestTask
2019-04-18 17:45:14 +01:00
Dylan K. Taylor
5913d5038b
Cleaned up Entity->close() handling
2019-04-18 17:23:48 +01:00
Dylan K. Taylor
cc01dfe8df
Player: protect usedChunks
2019-04-18 16:20:56 +01:00
Dylan K. Taylor
d68501c748
fixed spawn-radius: 0
2019-04-18 16:12:20 +01:00
Dylan K. Taylor
939dfd9269
First look at separating chunk sending from Level
2019-04-17 19:33:37 +01:00
Dylan K. Taylor
0973e39697
Level: Fixed ChunkListeners not receiving some events when no loaders are using a chunk
2019-04-17 16:13:40 +01:00
Dylan K. Taylor
3468f006a2
Use AsyncTask->onError() for chunk task crash tracking
2019-04-17 16:00:17 +01:00
Dylan K. Taylor
e62bbd4754
AsyncTask: added onError() main thread hook, closes #2512
2019-04-16 17:44:14 +01:00
Dylan K. Taylor
b4f6c1e1a6
Merge branch 'stable'
2019-04-15 18:58:53 +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
209ae51a67
Merge branch 'stable'
2019-04-15 16:11:49 +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
Frago9876543210
e506c7f7de
Call BlockTeleportEvent when dragon egg teleports ( #2840 )
2019-04-14 17:46:22 +01:00
Dylan K. Taylor
cfd4580388
sync NBT network string length cap
2019-04-14 17:14:44 +01:00
Dylan K. Taylor
8a1c362db7
Server: remove dead function getDefaultGamemode()
...
this was functionally identical to getGamemode() and is now just a red herring.
2019-04-13 14:31:58 +01:00
Dylan K. Taylor
c4b4575c74
Refuse to load plugins with ambiguous minAPI versions
...
closes #2381
2019-04-12 19:51:43 +01:00
Dylan K. Taylor
bf2851f324
Move API checking to its own class so it can be unit-tested
2019-04-12 19:45:41 +01:00
Dylan K. Taylor
5f23fffdda
Merge remote-tracking branch 'origin/3.7'
2019-04-12 18:33:13 +01:00
Dylan K. Taylor
342b48b758
VersionString: Use the correct bitwise operators
2019-04-12 18:32:15 +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
c310a0c50c
Merge branch '3.7'
2019-04-06 15:35:58 +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
c49ead1a4c
Merge branch '3.7'
2019-04-05 18:49:02 +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
86a5a50330
Generator: remove more useless functions
...
these are red herrings for plugin developers since they are not used.
2019-04-04 17:53:25 +01:00
Dylan K. Taylor
5a989d82bb
Generator: remove useless function getName()
2019-04-04 16:43:04 +01:00
Dylan K. Taylor
e6a1f0eb8d
Command: remove duplicated code
2019-04-03 18:06:22 +01:00
Dylan K. Taylor
0e3e984db9
Player: Disconnects no longer nuke player internals, (mostly) fixes #1239
...
there are some problems that haven't been accounted for yet, but this fixes all the direct crashes.
2019-04-03 17:44:34 +01:00
Dylan K. Taylor
a0b8d9a64e
Merge branch '3.7'
2019-04-03 17:39:45 +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
f901c2a612
Player: move some functions to a more sensible place
...
let's keep disconnect-related logic grouped together.
2019-04-02 19:57:10 +01:00
Dylan K. Taylor
f332550e52
Player: move toggle* rollback handling to network session
...
this allows network sessions to react to it how they want, or (in the case of things like Specter) perhaps ignore it.
2019-04-02 19:49:53 +01:00
Dylan K. Taylor
80a6fc5dd1
BlockFactory: remove deprecated functions
2019-04-02 19:15:29 +01:00
Dylan K. Taylor
b6e453a5f4
LegacyAnvilChunkTrait: remove obsolete TODO
2019-04-02 19:13:41 +01:00
Dylan K. Taylor
7d22b2a6d7
Player: removed useless addActionBarMessage()
...
this is exactly the same as sendTip().
2019-04-02 18:43:14 +01:00
Dylan K. Taylor
e5756dbf0b
Move a whole bunch of packet crap to NetworkSession
2019-04-02 18:31:16 +01:00
Dylan K. Taylor
2c4f2810d2
AsyncTask: Remove misleading methods getFromThreadStore(),saveToThreadStore(),removeFromThreadStore()
...
These methods are commonly mixed up when we talk about thread-local storage. What these things actually do is store persistent data on the worker thread.
2019-04-02 14:57:11 +01:00
Dylan K. Taylor
6214a9398d
Player: remove sendWhisper()
...
this can be done with a standard translated message, and with more customizability.
2019-03-31 19:25:09 +01:00
Dylan K. Taylor
f0b85936cf
Improved /tell
2019-03-31 19:08:35 +01:00