314 Commits

Author SHA1 Message Date
Dylan K. Taylor
dd0c5efb56 Initial spawn on 0.16 2016-10-27 10:55:00 +01:00
Dylan K. Taylor
3692ddab1d Remove duplicate call to gc_collect_cycles
This is already done in forceShutdown(), and if it is not then the
process will have committed suicide and this will never be called
anyway. Either way, it's useless.
2016-10-19 22:08:44 +01:00
SOF3
2a07638af3
Do not show playerNotFound notice if player data should not be saved 2016-10-07 17:52:25 +08:00
Dylan K. Taylor
d6fd9259cf Added options to disable saving player.dat 2016-10-07 10:25:26 +01:00
SOFe
58ff381557 PhpStorm automated formatting (#11)
* PhpStorm reformatting

* Tuned PhpStorm reformatting

* Improved ItemIds and BlockIds formatting

* Tuned more PhpStorm reformatting

* Improved string concatenation
2016-10-03 19:05:48 +08:00
SOF3
e913b16804
Fixed some lines indented with 4 spaces rather than tabs 2016-10-03 00:58:34 +08:00
SOFe
39f731aa06 Remove use of deprecated Utils::getRandomBytes(16) (#3)
Whichever guy did that, somehow this one just got missed out?
2016-10-01 16:08:59 +01:00
Dylan K. Taylor
7b8548b2b1 Added Flower Pots 2016-09-30 19:19:51 +01:00
Tux
8e9a078ff9 Use built-in random_bytes functionality 2016-09-06 11:47:58 +01:00
Intyre
6fb41c5c7f
UpdateBlockPacket fixed and changed skinName to skinId 2016-06-22 01:09:48 +02:00
Jorge González
012d46dfd8 Added Mob Heads
Fixed duplicated items in JSON file
2016-03-22 22:25:36 -06:00
PEMapModder
ed9888a2cb Fixed #3963, closes #3979, added hash for non-numeric seeds 2016-02-22 19:40:40 +08:00
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