mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
added ability to add comments for entries in .properties files, deleted experimental-mob-ai since it does nothing
This commit is contained in:
parent
8046d0e17c
commit
2a827c42c4
4 changed files with 65 additions and 9 deletions
|
|
@ -137,6 +137,16 @@ class ServerAPI{
|
|||
"auto-save" => true,
|
||||
"enable-mob-ai" => true,
|
||||
"abort-reading-after-N-packets" => PocketMinecraftServer::$PACKET_READING_LIMIT
|
||||
], comments: [
|
||||
"level-type" => [
|
||||
"Alowed types:",
|
||||
"FLAT - flat world",
|
||||
"DEFAULT - use one of the 4 pregenerated worlds from pocketmine",
|
||||
"VANILLA - unfinished, attempts to generate vanilla 0.8.1 world. This geneeator is very slow."
|
||||
],
|
||||
"abort-reading-after-N-packets" => [
|
||||
"Sets max amount of packets the server can read before forcing tick check."
|
||||
]
|
||||
]);
|
||||
Entity::$allowFly = $this->getProperty("allow-flight", true);
|
||||
if(!Entity::$allowFly){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue