mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-18 03:35:33 +00:00
Added configuration option to pocketmine.yml to allow changing timings host, added new host mcpetimings.com
This commit is contained in:
parent
fc5fa01442
commit
554816b8b6
@ -132,7 +132,7 @@ class TimingsCommand extends VanillaCommand{
|
||||
|
||||
|
||||
$sender->sendMessage(new TranslationContainer("pocketmine.command.timings.timingsUpload", ["http://paste.ubuntu.com/" . $matches[1] . "/"]));
|
||||
$sender->sendMessage(new TranslationContainer("pocketmine.command.timings.timingsRead", ["http://timings.aikar.co/?url=" . $matches[1]]));
|
||||
$sender->sendMessage(new TranslationContainer("pocketmine.command.timings.timingsRead", ["http://" . $sender->getServer()->getProperty("timings.host", "mcpetimings.com") . "/?url=" . $matches[1]]));
|
||||
fclose($fileTimings);
|
||||
}else{
|
||||
fclose($fileTimings);
|
||||
|
@ -181,6 +181,10 @@ auto-updater:
|
||||
suggest-channels: true
|
||||
host: www.pocketmine.net
|
||||
|
||||
timings:
|
||||
#Choose the host to use for viewing your timings results.
|
||||
host: mcpetimings.com
|
||||
|
||||
aliases:
|
||||
#Examples:
|
||||
#showtheversion: version
|
||||
|
Loading…
x
Reference in New Issue
Block a user