Dylan K. Taylor
649ce5080b
StatusCommand: don't use config for reading global limit
2019-03-27 19:24:06 +00:00
Dylan K. Taylor
23071d257e
Extract process-related functions from Utils into a separate Process class
2019-03-24 18:57:32 +00:00
Dylan K. Taylor
6bd43a8215
Firehose auto-tick-rate anti-feature, closes #2665
2019-03-03 13:24:53 +00:00
Dylan K. Taylor
f49d590794
Level: remove getTiles(), more removal of tiles from user interface
2019-02-15 16:27:00 +00:00
Dylan K. Taylor
e341f3dce2
Level: rename getName() to getDisplayName()
2019-01-17 16:46:56 +00:00
Dylan K. Taylor
5052b75565
Separate Level management functionality from Server, clean up a bunch of mess
2019-01-12 19:11:05 +00:00
Dylan K. Taylor
4b9a142a5d
Import global functions and constants for enhanced performance
...
This is better for performance because these then don't need to be reevaluated every time they are called.
When encountering an unqualified function or constant reference, PHP will first try to locate a symbol in the current namespace by that name, and then fall back to the global namespace.
This short-circuits the check, which has substantial performance effects in some cases - in particular, ord(), chr() and strlen() show ~1500x faster calls when they are fully qualified.
However, this doesn't mean that PM is getting a massive amount faster. In real world terms, this translates to about 10-15% performance improvement.
But before anyone gets excited, you should know that the CodeOptimizer in the PreProcessor repo has been applying fully-qualified symbol optimizations to Jenkins builds for years, which is one of the reasons why Jenkins builds have better performance than home-built or source installations.
We're choosing to do this for the sake of future SafePHP integration and also to be able to get rid of the buggy CodeOptimizer, so that phar and source are more consistent.
2019-01-04 20:43:15 +00:00
Dylan K. Taylor
0bacf51729
Fix another swathe of number_format() truncation bugs
2019-01-04 19:39:51 +00:00
Dylan K. Taylor
592ce3c9e9
Adding some missed commands typehints and documentation
2017-08-21 19:02:30 +01:00
Dylan K. Taylor
8bb0c53797
More typehints for Command stuff
2017-07-14 08:52:27 +01:00
Dylan K. Taylor
51b0673b4b
Bite the bullet and enable strict types on everything
2017-06-07 12:53:16 +01:00
Dylan K. Taylor
8bdfe0d297
Report CPU and tick usage accurately using averages ( #195 )
2016-12-22 14:11:46 +00: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
Shoghi Cervantes
b166628940
Added ability to dump memory
2015-06-19 13:01:49 +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
82b0dbfe8e
Improved /status, added world information
2015-05-06 19:11:47 +02:00
Shoghi Cervantes
b2c25eaf36
Added MemoryManager, new memory properties, improved performance, updated RakLib, fixed misc. bugs
2015-04-18 20:13:52 +02:00
Shoghi Cervantes
e2bae92df8
Updated language files and command descriptions
2015-04-12 00:59:12 +02:00
Falkirks
d855bbba0b
Fix #2843
2015-04-09 20:59:42 -07:00
Shoghi Cervantes
71657a2a4e
Improved effects, threading changes
2015-04-08 17:31:06 +02:00
Shoghi Cervantes
4ec584d800
Added real memory and thread usage
2015-03-16 11:56:00 +01:00
Shoghi Cervantes
d04e994d1b
Added TPS load to /status
2014-09-21 12:18:51 +02:00
Shoghi Cervantes
279a438ae6
Fixed spawning of Tile entities via chunk packets
2014-06-22 18:05:42 +02:00
Shoghi Cervantes
f073a5b837
Fixed a few things
2014-06-17 18:46:16 +02:00
Shoghi Cervantes
9e8f015dc0
Changed commands to use CommandSender::getServer()
2014-06-17 18:41:10 +02:00
Shoghi Cervantes
a5e78d775b
Temp. fixed /status
2014-06-15 00:23:17 +02:00
Shoghi Cervantes
a2b3a4bb90
Removed not valid TimeCommand
2014-05-23 22:46:08 +02:00
Shoghi Cervantes
53749483c3
Implemented new Inventory windows on Player, Chest and Furnace
2014-05-23 20:53:06 +02:00
Shoghi Cervantes
5052e58bd0
Added /status memory
2014-04-03 13:22:04 +02:00
Shoghi Cervantes
2ad9e1fe29
Added /status title
2014-04-03 13:19:34 +02:00
Shoghi Cervantes
0865381881
Moved /status into debug.commands
2014-04-03 13:16:15 +02:00
William Teder
48f2927e08
Re-enable support for debug information with /status
2014-04-02 21:14:22 -05:00