mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 04:59:46 +00:00
comments for server-type and generator-settings in server.properties
This commit is contained in:
parent
8362ed4211
commit
20298d60fd
1 changed files with 25 additions and 0 deletions
|
|
@ -153,6 +153,31 @@ class ServerAPI{
|
||||||
"legacy - sleep while waiting for the next tick. same ticking as in old PocketMine. The server won't use a lot of cpu, but tps may be not stable(causes 16 TPS on Windows)",
|
"legacy - sleep while waiting for the next tick. same ticking as in old PocketMine. The server won't use a lot of cpu, but tps may be not stable(causes 16 TPS on Windows)",
|
||||||
"nodelay - unused time is not used for anything.. May cause to use 100% of CPU.",
|
"nodelay - unused time is not used for anything.. May cause to use 100% of CPU.",
|
||||||
"netwait - uses unused time to wait for packets. Should always give max tps. Untested on windows."
|
"netwait - uses unused time to wait for packets. Should always give max tps. Untested on windows."
|
||||||
|
],
|
||||||
|
"server-type" => [
|
||||||
|
"Changes server type. Does not affect anything in 0.8.1. Allowed types:",
|
||||||
|
"normal - changes unconnected_pong reply to use MCCPP;Demo;",
|
||||||
|
"demo - same as normal",
|
||||||
|
"minecon - changes unconnected_pong reply to use MCCPP;MINECON;",
|
||||||
|
],
|
||||||
|
"generator-settings" => [
|
||||||
|
"Used to set level settings when generating a world. Currently affects only FLAT world.",
|
||||||
|
"FLAT world preset format: VERSION;LAYERS;STARTY;PARAMS",
|
||||||
|
"The string contains multiple parameters split by ;",
|
||||||
|
"VERSION - preset version (2)",
|
||||||
|
"LAYERS - defines layers and their sizes",
|
||||||
|
" each layer is formatted as <ID>x<CNT>",
|
||||||
|
" <ID> - block id to fill the layer",
|
||||||
|
" <CNT> - layer height",
|
||||||
|
"Multiple layers are separated by ,",
|
||||||
|
"STARTY - start y level. Must be more than 0",
|
||||||
|
"PARAMS - additional patamaters",
|
||||||
|
" spawn(radius=<N> block=<ID>) - sets spawn parameters",
|
||||||
|
" radius=<N> - sets spawn radius to <N>",
|
||||||
|
" block=<ID> - sets block to fill spawn area with",
|
||||||
|
" decoration(treecount=<N> grasscount=<M>) - sets amount of decorations",
|
||||||
|
"Preset example:",
|
||||||
|
"2;7,59x1,3x3,2;1;spawn(radius=10 block=89),decoration(treecount=80 grasscount=45)"
|
||||||
]
|
]
|
||||||
]);
|
]);
|
||||||
Entity::$allowFly = $this->getProperty("allow-flight", true);
|
Entity::$allowFly = $this->getProperty("allow-flight", true);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue