mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 04:29:43 +00:00
Visual changes again...
This commit is contained in:
parent
10ae0fed78
commit
2b6b2939f2
6 changed files with 12 additions and 12 deletions
|
|
@ -1,8 +1,8 @@
|
|||

|
||||
|
||||
# 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!__
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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.")";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue