From e6c04861a469fd1ee3c1131f4b4fb63205da5ef9 Mon Sep 17 00:00:00 2001
From: ArkQuark <74979909+ArkQuark@users.noreply.github.com>
Date: Thu, 20 Oct 2022 20:23:05 +0300
Subject: [PATCH] Some updates
---
CONTRIBUTING.md | 10 +++++-----
README.md | 29 ++++++++++++++++-------------
bin.7z | Bin 8945198 -> 0 bytes
src/API/PluginAPI.php | 8 ++++++--
src/structure/Structure.php | 13 +++++++------
5 files changed, 34 insertions(+), 26 deletions(-)
delete mode 100644 bin.7z
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 38a825e1..0eec3d5b 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -34,9 +34,9 @@ It is mainly [PSR-2](https://github.com/php-fig/fig-standards/blob/master/accept
* Long arrays MAY be split across multiple lines, where each subsequent line is indented once.
* Files MUST use only the `` tag.
-* Code MUST NOT use namespaces. _(This restriction will be lifted on the Alpha_1.4 code)_
+* Code MUST NOT use namespaces. _(This restriction maybe will be lifted)_
* Strings SHOULD use the double quote `"` except when the single quote is required.
-* Arrays SHOULD be declared using `array()`, not the `[]` shortcut.
+* Arrays SHOULD be declared using `[]`, not the `array()` shortcut.
* Argument lists MAY NOT be split across multiple lines, except long arrays.
```php
@@ -52,14 +52,14 @@ class ExampleClass{
//do things
}elseif($firstArgument === "otherValue"){
$secondArgument = function(){
- return array(
+ return [
0 => "value1",
1 => "value2",
2 => "value3",
3 => "value4",
4 => "value5",
- 5 => "value6",
- );
+ 5 => "value6"
+ ];
}
}
}
diff --git a/README.md b/README.md
index f6933fa4..04479947 100644
--- a/README.md
+++ b/README.md
@@ -1,14 +1,14 @@
-
+
# NostalgiaCore
NostalgiaCore is a fork of Legacy PocketMine-MP 1.3.12, which fixes bugs of Legacy PocketMine-MP, and adds new content
-Supported version: 0.8.1
+Supported MCPE versions: 0.8.0, 0.8.1 (maybe 0.8.2)
(Special thx to GullCraft Network and DartMiner43)
-# Why should you use NostalgiaCore to run a Minecraft Pocket Edition 0.8.1 server?
+
Why should you use NostalgiaCore to run a Minecraft Pocket Edition 0.8.1 server?
• Items are dropping normally.
@@ -16,35 +16,38 @@ Supported version: 0.8.1
• Player hotbar is saved.
-• Extra options (Only on NostalgiaCore!)
-
-• Server is starting faster (~0.7 sec).
+• Extra options (like in-game messages to discord)
• Vector2 is fixed.
-• Players can't join as "RCON" or "CONSOLE".
-
• Working Nether Reactor.
+• Mob AI
+
+• PHAR plugins support
+
...and etc.
-# Download Stable NostalgiaCore
+ Download Stable NostalgiaCore
https://github.com/kotyaralih/NostalgiaCore/releases/
+ PHP binaries download
-# How to use auto-restart?
+https://sourceforge.net/projects/pocketmine/files/builds/
+
+ How to use auto-restart?
Simply start your server using ./start.sh -l
-# Our discord server
+ Our discord server
https://discord.gg/uSHEWe6NC3
-## Want to contribute?
+ Want to contribute?
* Check the [Contributing Guidelines](CONTRIBUTING.md)
-## Third-party Libraries/Protocols Used
+ Third-party Libraries/Protocols Used
* __[PHP Sockets](http://php.net/manual/en/book.sockets.php)__
* __[PHP SQLite3](http://php.net/manual/en/book.sqlite3.php)__
* __[PHP BCMath](http://php.net/manual/en/book.bc.php)__
diff --git a/bin.7z b/bin.7z
deleted file mode 100644
index 3dce6c331d27cd29d779dfe6dcd9f9507ca98a35..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 8945198
zcmV(wKw9kMTBTQ
ziKg0$%#-3y*##PpZvVaQPr=`5RWX6ah4x*!safrTYeV&1cQm(!_`GSRCcS4_p6qOA
zR)sPxxtc>oo2r_X`%zNH#wiLV_a-6#ag&Qd8+o({Hy=1OF8-j)o&Ob
znOSYR)pF4@60tS!oZ9UHLB=u=P(5?0l?7(!K8jC`g|f?%=8uAuma>~Z`7j9fgU$zW
znx@yhLtlHh4-yGOQOY6SM3mBLsmaiT*N5(`BQVn_xhFB@Mj#;n#jk|`YS8a-5iJFM
zYK!oNQqV@qwz49Zu$Vc>$FOM$>sIc{eu|SCyC^KHGy~;55@`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