diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a0675237..4b97d227 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,8 +1,8 @@ ![](http://www.pocketmine.net/favicon.png) -# PocketMine-MP Contribution Guidelines +# NostalgiaCore Contribution Guidelines -Before contributing to PocketMine-MP, please read this. +Before contributing to NostalgiaCore, please read this. ## I've a question @@ -10,21 +10,21 @@ Before contributing to PocketMine-MP, please read this. * You can ask directly to _[@PocketMine](https://twitter.com/PocketMine)_ in Twitter, but don't expect an inmediate reply. ## I want to create an issue -* First, use the [Issue Search](https://github.com/PocketMine/PocketMine-MP/search?ref=cmdform&type=Issues) to check if anyone has reported it. +* First, use the [Issue Search](https://github.com/kotyaralih/NostalgiaCore/search?ref=cmdform&type=Issues) to check if anyone has reported it. * Is your issue related to a Plugin? If so, please contact their original author instead of reporting it here. * And no, we won't update a Plugin because you need it. * When reporting, give as much info as you can, and if the Issue is a crash, give the Crash Dump. * Issues should be written in English. ## I want to contribute code -* Use the [Pull Request](https://github.com/PocketMine/PocketMine-MP/pull/new) system, your request will be checked and discussed. +* Use the [Pull Request](https://github.com/kotyaralih/NostalgiaCore/pull/new) system, your request will be checked and discussed. * __Create a single branch for that pull request__ -* If you want to be part of PocketMine-MP, we will ask you to. -* Code using the syntax as in PocketMine-MP. See below for an example. +* If you want to be part of NostalgiaCore, we will ask you to. +* Code using the syntax as in NostalgiaCore. See below for an example. * The code must be clear and written in English, comments included. -__Thanks for contributing to PocketMine-MP!__ +__Thanks for contributing to NostalgiaCore!__ diff --git a/src/API/PluginAPI.php b/src/API/PluginAPI.php index 64c068ff..8980f239 100644 --- a/src/API/PluginAPI.php +++ b/src/API/PluginAPI.php @@ -45,7 +45,7 @@ class PluginAPI extends stdClass{ $output = $output === "Plugins (0): " ? "No plugins installed.\n" : substr($output, 0, -2)."\n"; break; case "version": - $output = "This server is running PocketMine-MP version " . MAJOR_VERSION . "\nCODENAME: 「 " . CODENAME . " 」\n(Implementing API version #" . CURRENT_API_VERSION . " for Minecraft: PE " . CURRENT_MINECRAFT_VERSION . ")"; + $output = "This server is running NostalgiaCore version " . MAJOR_VERSION . "\nCODENAME: 「 " . CODENAME . " 」\n(Implementing API version #" . CURRENT_API_VERSION . " for Minecraft: PE " . CURRENT_MINECRAFT_VERSION . ")"; if(GIT_COMMIT !== str_repeat("00", 20)){ $output .= " (git ".GIT_COMMIT.")"; } diff --git a/src/dependencies.php b/src/dependencies.php index a799604e..59a4fd15 100644 --- a/src/dependencies.php +++ b/src/dependencies.php @@ -42,7 +42,7 @@ if(version_compare("5.4.0", PHP_VERSION) > 0){ } if(php_sapi_name() !== "cli"){ - console("[ERROR] You must run PocketMine-MP using the CLI.", true, true, 0); + console("[ERROR] You must run NostalgiaCore using the CLI.", true, true, 0); ++$errors; } diff --git a/src/installer/Installer.php b/src/installer/Installer.php index ec12fe4d..acb71551 100644 --- a/src/installer/Installer.php +++ b/src/installer/Installer.php @@ -30,7 +30,7 @@ private $lang, $config; public function __construct(){ - echo "[*] PocketMine-MP set-up wizard\n"; + echo "[*] NostalgiaCore set-up wizard\n"; echo "[*] Please select a language:\n"; foreach(InstallerLang::$languages as $short => $native){ echo " $native => $short\n"; diff --git a/src/tests/ServerSuiteTest.php b/src/tests/ServerSuiteTest.php index 4ef030f7..203a14d2 100644 --- a/src/tests/ServerSuiteTest.php +++ b/src/tests/ServerSuiteTest.php @@ -39,7 +39,7 @@ testCase("Utils::readDouble", abs(Utils::readDouble("\x41\x02\x03\x04\x05\x06\x07\x08") - 147552.5024529) < 0.0001, true); testCase("Utils::readTriad", Utils::readLong("\x41\x02\x03\x04\x05\x06\x07\x08"), "4684309878217770760"); - //PocketMine-MP server startup + //NostalgiaCore server startup global $server; $server = new ServerAPI(); $server->load(); diff --git a/src/utils/UPnP.php b/src/utils/UPnP.php index 95b9bb8d..9e5fe2c1 100644 --- a/src/utils/UPnP.php +++ b/src/utils/UPnP.php @@ -33,7 +33,7 @@ function UPnP_PortForward($port){ if($com === false or !is_object($com->StaticPortMappingCollection)){ return false; } - $com->StaticPortMappingCollection->Add($port, "UDP", $port, $myLocalIP, true, "PocketMine-MP"); + $com->StaticPortMappingCollection->Add($port, "UDP", $port, $myLocalIP, true, "NostalgiaCore"); }catch(Exception $e){ return false; }