Intyre
a6cd526e60
PHP7 to master
2016-02-21 12:47:30 +01:00
Dongjoon Hyun
302fb9e65e
Add @throws docs.
...
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
2016-02-17 14:22:47 -08:00
Intyre
a2734f6dc0
Merged master into php7 to support 0.13.1
2016-01-22 17:36:45 +01:00
Intyre
90c3e66e6b
Updated for .13.1. skinName replaces isSlim, API bump
2015-12-16 14:37:46 +01:00
Intyre
09b4d4dc7a
Fixes for derps found with PHPStorm code inspector
2015-10-10 23:10:24 +02:00
Shoghi Cervantes
cf3d8f449e
Added some asserts
2015-09-27 19:48:42 +02:00
Shoghi Cervantes
ddc140af5e
Updated to new pthreads version, updated RakLib
2015-09-27 13:37:27 +02:00
Shoghi Cervantes
0bcf639a98
Changed how exceptions work and are logged, throw proper exceptions on tasks
2015-09-18 12:03:24 +02:00
Shoghi Cervantes
472fcfa4c7
Removed ThreadedFactory
2015-09-18 11:18:41 +02:00
Shoghi Cervantes
3ffdb8e552
Removed @deprecated classes, methods and properties, added some type hints
2015-09-12 17:10:11 +02:00
Shoghi Cervantes
922e9d93d5
Moved exception handler to a big try catch
2015-09-11 09:09:45 +02:00
Shoghi Cervantes
e137ac4c56
Base PHP7 work to make it "run" - READ NEXT LINES!
...
All plugins will need to bump the API if they want to use this.
NOTE THAT THIS IS NOT THE FINAL API 2.0.0 AND THAT THERE WILL BE MORE CHANGES.
To start updating, you might also want to read https://secure.php.net/manual/en/migration70.php and specifically https://secure.php.net/manual/en/migration70.incompatible.php
To compile PHP7 with some of the required dependencies, use https://gist.github.com/shoghicp/166ab26ce5cc7a390f45
ONLY LINUX IS TESTED, DO NOT ASK FOR OTHER PLATFORMS!
----- THIS VERSION IS NOT SUPPORTED -----
This version WILL crash randomly in unexpected places due to PHP7, pthreads, PocketMine or cosmic rays.
Handle with care, and store under direct sunlight for the best performance.
2015-09-10 21:29:29 +02:00
Shoghi Cervantes
b47cebb1d5
PHP7 changes
2015-08-23 00:25:30 +02:00
Shoghi Cervantes
7f8b39a63c
Renamed NBT tags to have Tag in the name
2015-08-23 00:25:29 +02:00
Shoghi Cervantes
31ef7721b1
Removed network channels, bumped protocol
2015-08-12 14:59:48 +02:00
Shoghi Cervantes
534b988a1c
Added basic Nether generator
2015-08-09 00:38:23 +02:00
Shoghi Cervantes
a9ead5567b
Improved NBT json parsing, attribute base
2015-08-08 22:39:43 +02:00
Shoghi Cervantes
4dd0469792
Base enchantment class
2015-08-08 14:53:03 +02:00
Shoghi Cervantes
d1bfb304cb
Added some extra tile entities, fake enchanting table
2015-08-07 12:07:39 +02:00
Shoghi Cervantes
cba9ff393c
Fixed properties for NBT, fixed dropping items removing extra data set
2015-08-06 21:51:39 +02:00
Shoghi Cervantes
1b812d373c
Updated protocol packet ids
2015-08-03 10:53:23 +02:00
Shoghi Cervantes
5621ab0c49
Updated some packets for 0.12, UUIDs, other stuff!
2015-08-02 01:22:36 +02:00
Shoghi Cervantes
4258e22c02
Made some changes for 0.12
2015-08-01 19:14:44 +02:00
Shoghi Cervantes
0c09361c46
Added main-hard-limit memory property similar to old memory-limit, use less memory on startup (RakLib)
2015-07-11 13:16:39 +02:00
Shoghi Cervantes
33e312c7d0
Added extra memory reportings (heap, stack), stop tasks faster, added extra timeouts fro ServerKiller
2015-06-13 15:37:02 +02:00
Shoghi Cervantes
eeef81e2b1
Fixed #3154
2015-06-10 10:10:07 +02:00
Shoghi Cervantes
eef33d64e6
Fixed new players having air ticks to 0 instead of 300
2015-06-09 15:26:28 +02:00
Shoghi Cervantes
ec226105e4
Added support for overriding properties over the command line
2015-06-09 11:23:57 +02:00
Shoghi Cervantes
4fd5e9ba7d
Improved RakNet encapsulated packet encoding
2015-06-08 12:45:52 +02:00
Shoghi Cervantes
cbb1c55a06
Improved biome generation, get grass color from gradient interpolation, improved performance of generation, try to recreate grass colors from imported chunks, closes #2845 , closes #1792
2015-06-07 15:17:02 +02:00
Shoghi Cervantes
cf3f32fdae
Added Script plugin loader
2015-06-06 23:09:54 +02:00
Shoghi Cervantes
62a8f58bb0
Improved block and chunk cache, fixed PlayerQuitEvent player save
2015-06-06 20:28:37 +02:00
Shoghi Cervantes
5682026eae
Fixed state corruption for auto saving
2015-06-06 15:53:28 +02:00
Shoghi Cervantes
bdb9b1865b
Added exception when unloading the default level without switching it first, #3112
2015-06-05 16:48:27 +02:00
Shoghi Cervantes
6e69e15dfd
Moved network check out of level, added server killer for long stops
2015-06-05 11:46:33 +02:00
Shoghi Cervantes
d542dfc2ce
Split player into more methods, added extra timings
2015-06-05 00:19:45 +02:00
Shoghi Cervantes
71490f60f2
Fixed other invisibility issues
2015-06-04 16:51:48 +02:00
Shoghi Cervantes
9e14435dbb
Moved network ids to constants, improved some entity methods, more performance
2015-05-30 23:59:24 +02:00
Shoghi Cervantes
03f178379e
Fixed items getting corrupted pickup delay, not being able to be killed by other damage sources
2015-05-28 22:17:12 +02:00
Shoghi Cervantes
51062940c5
Implemented QueryRegenerateEvent as base for other interfaces
2015-05-26 01:17:34 +02:00
Shoghi Cervantes
66435d4f6a
Workaround client-sede issue, remove this when fixed
2015-05-24 10:16:43 +02:00
Michael Yoo
76c27fc18b
Use broadcast permission to broadcast tips and popups
2015-05-23 22:05:48 +09:30
Michael Yoo
a0f8bc15dc
Fix small whitespace issues, make broadcasts return count() as specified in PHPDoc
2015-05-23 22:05:48 +09:30
Striker209MPE
adc5aa11ac
Added Server->broadcastTip() and Server->broadcastPopup()
...
Signed-off-by: Michael Yoo <michael@yoo.id.au>
2015-05-23 22:05:48 +09:30
Shoghi Cervantes
be6b0656a0
Do async saving only when needed
2015-05-23 10:54:15 +02:00
Shoghi Cervantes
149234f125
Added asynchronous file writing
2015-05-22 16:32:08 +02:00
Shoghi Cervantes
46f20d36b3
Improved unique id generation for server
2015-05-21 12:59:33 +02:00
Shoghi Cervantes
cde2d39029
New statistics system
2015-05-21 11:41:11 +02:00
Shoghi Cervantes
63a5269313
Added settings.profile-report-trigger to only extract timings on a given tps rate
2015-05-16 16:02:32 +02:00
Shoghi Cervantes
7a34417e67
Kill player below -16 as now the bottom of the world can be rendered, send player count
2015-05-15 16:51:20 +02:00