Dylan K. Taylor
85ec7d9732
Change default MOTD
...
"Minecraft: PE Server" is no longer accurate, "Minecraft: Bedrock
Edition Server" is too wordy, and "Minecraft: BE Server" just sounds
weird.
and I'm not calling it simply a "Minecraft Server"
2017-09-25 23:43:09 +01:00
Dylan K. Taylor
10f597cd64
Stop hardcoding "PocketMine-MP" everywhere
2017-09-25 18:17:35 +01:00
Dylan K. Taylor
6e5759b1d1
Made incompatible client disconnect messages more informative
2017-09-25 14:30:11 +01:00
Dylan K. Taylor
03d3e595d6
Implement JWT signature verification and Xbox Live checks, close #315
...
This can be enabled or disabled using the "online-mode" directive in
server.properties.
NOTE: For safety reasons it is enabled by default, since many naive server owners currently believe that authentication is not needed because "the client is forced to sign-in".
Newsflash for readers: the forced authentication is easily bypassed using a LAN proxy.
Un-authenticated LAN connections will still work fine if the online mode is disabled.
Added the following API methods:
- Server->getOnlineMode() : bool
- Server->requiresAuthentication() : bool
- Player->isAuthenticated() : bool
JWT verification is rather expensive, so it is done in an AsyncTask. Make sure you don't hog your worker threads.
2017-09-25 12:30:58 +01:00
Dylan K. Taylor
8ca59d12e9
Updated PocketMine-Language submodule
2017-09-25 11:36:39 +01:00
Dylan K. Taylor
89e4defa29
use null coalesce in Server->getLevel()
2017-09-25 09:51:21 +01:00
Dylan K. Taylor
f5534a9ab0
Server: add some typehints
2017-09-25 09:49:19 +01:00
Dylan K. Taylor
28bce8d48c
Fixed plugins causing crashes by using Level->unload() and add a warning
...
yes, we don't want you to use this, but it still shouldn't crash if it can be prevented...
2017-09-25 09:46:19 +01:00
Dylan K. Taylor
3c02a6a8ed
Fixed eating sounds
2017-09-24 21:18:08 +01:00
Dylan K. Taylor
6b0ac8adb8
Don't overwrite the input map with reindexed stuff
...
we might need this again?
2017-09-24 19:17:00 +01:00
Dylan K. Taylor
38ec5da260
Refactored API compatibility checking code into its own method ( #1394 )
...
Refactored API compatibility checking code into its own method so plugins can use it
this change was inspired by https://github.com/poggit/devirion/blob/master/src/poggit/virion/devirion/DEVirion.php#L140-L172
2017-09-24 15:00:08 +01:00
Dylan K. Taylor
240cc3043a
Rewritten crafting, fixed #45
2017-09-24 14:14:24 +01:00
Dylan K. Taylor
043ae487de
Fixed some inconsistent uses of new ShortTag
vs setValue() in Furnace
2017-09-24 10:34:25 +01:00
Dylan K. Taylor
f12701e582
Fixed possible undefined NBT in Furnace, close #1398
2017-09-24 10:29:36 +01:00
Sandertv
6e961ae897
Addition of Coarse Dirt ( #1396 )
2017-09-23 22:25:03 +01:00
Dylan K. Taylor
e1d10f595a
AdventureSettingsPacket: removed leftover TODO comment
2017-09-23 16:51:58 +01:00
Dylan K. Taylor
178dd1b981
Fixed block picking, added PlayerBlockPickEvent
2017-09-23 14:42:28 +01:00
Dylan K. Taylor
826ec90856
Revert "Workaround for some plugins crashing clients during PlayerLoginEvent"
...
This reverts commit 087a994393be23f694c6d0585bcd3797a15bf50b.
2017-09-23 13:23:19 +01:00
Dylan K. Taylor
0523f26613
Send forced movement when getting bad movements after teleport, fixes AlwaysSpawn-type plugins
...
it's mostly harmless to send it here anyway
2017-09-23 12:49:46 +01:00
Dylan K. Taylor
5190d9c1e2
Fixed possible issue with JWT decoding
...
this is url-encoded, these characters should be replaced before base64_decode()ing. Not sure how this didn't get noticed before now.
2017-09-22 19:52:08 +01:00
Dylan K. Taylor
c8fd0eaf8b
Removed autogenerated stub TODO from BoneBlock
2017-09-21 19:50:03 +01:00
Dylan K. Taylor
53ef9b653a
Added some getters to FloatingTextParticle
2017-09-21 19:10:30 +01:00
Dylan K. Taylor
030cc4afb0
FloatingTextParticle: import cleanup & typehints
2017-09-21 19:09:33 +01:00
Dylan K. Taylor
9bd7f771d3
"Fixed" FloatingTextParticle yet again
...
- nametag visibility flags don't work properly, only players show them all the time
- invisibility overrides nametag visibility
- scale 0 triggers asserts on debug builds
..... how hard is it to NOT break these simple things each update Mojang?
closes #1205
2017-09-21 19:04:45 +01:00
Dylan K. Taylor
10f6a0eef0
FloatingTextParticle: fixed incorrect parameter type doc
2017-09-21 18:31:12 +01:00
Dylan K. Taylor
d0a96f35da
./ hack is back (/help is client-side >_<)
2017-09-21 17:51:39 +01:00
Dylan K. Taylor
d7091f4460
Fixed not being able to disable stats reporting using command line options
2017-09-21 17:14:44 +01:00
Dylan K. Taylor
c6670b2e74
Fixed Nether Wart's name
2017-09-21 16:56:41 +01:00
Dylan K. Taylor
0e2e9aab2e
Fixed crash when block classes override the constructor but don't specify a fallback name
2017-09-21 16:43:33 +01:00
Dylan K. Taylor
1b5fed983b
Revert "Fixed slab placement, close #145 ", reopen #145 , close #1314
...
This reverts commit f2ff0198cca01db0e93a9b45d428e624822f18e9.
2017-09-21 14:41:18 +01:00
Dylan K. Taylor
5aba87b250
Added brown and red mushroom blocks
2017-09-21 14:07:51 +01:00
Dylan K. Taylor
f01ce8e994
null and void typehints
2017-09-21 12:54:04 +01:00
Dylan K. Taylor
d89b8cf12e
Clean up SlotChangeAction inventory handling
2017-09-21 12:44:03 +01:00
Dylan K. Taylor
6aa9b081e9
Cleanup unused imports
2017-09-21 12:26:41 +01:00
Dylan K. Taylor
dbed80386a
Removed redundant interface
2017-09-21 12:22:47 +01:00
Dylan K. Taylor
cefad0444c
Merge branch 'master' into mcpe-1.2
2017-09-21 10:32:35 +01:00
Dylan K. Taylor
ee052f91d4
Fixed some air items with count 1 instead of 0
2017-09-21 10:30:14 +01:00
Dylan K. Taylor
ef6250967f
Use Item->isNull() more
2017-09-21 10:29:29 +01:00
Dylan K. Taylor
61cfdac6a1
Fixed a mistake in entity attack handler
2017-09-21 10:18:52 +01:00
Dylan K. Taylor
fd7fb10223
Return null on unmatched inventory action and log details
2017-09-20 18:38:14 +01:00
Dylan K. Taylor
6897cb4774
Moved inventory action magic slot constants where they belong
2017-09-20 18:27:29 +01:00
Dylan K. Taylor
8e7ad532f1
Updated RakLib submodule
2017-09-20 18:16:41 +01:00
Dylan K. Taylor
9e8366725a
Bump for 1.2.0.81
2017-09-20 17:30:27 +01:00
Dylan K. Taylor
b14ecc18c4
Remove unused imports
2017-09-20 12:24:44 +01:00
Dylan K. Taylor
55720d9f0a
Added InventoryAction->onPreExecute(), fixed PlayerDropItemEvent deleting items
2017-09-20 12:19:42 +01:00
Dylan K. Taylor
0262465a26
Fixed dupe cake glitch
...
this is what happens when you try to be clever when not properly awake
2017-09-20 11:19:15 +01:00
Dylan K. Taylor
7996a7b08c
Testing handling multiple result items for ShapedRecipes
...
this doesn't work yet, I wanted to see how glitchy it is with cakes. The answer is: very glitchy.
2017-09-20 11:14:09 +01:00
Dylan K. Taylor
4a1fc1bdf7
don't try to send contents during inventory construction
2017-09-20 10:18:24 +01:00
Dylan K. Taylor
85b2b2ae2e
Don't send tile inventory slots during the constructor
...
This is completely pointless and a waste of time.
2017-09-20 10:15:28 +01:00
Dylan K. Taylor
38e11aae5e
Some cleanup to how EntityInventoryChangeEvents are handled
2017-09-20 10:13:05 +01:00