mirror of
https://github.com/danbulant/flying-squid
synced 2026-06-18 14:01:13 +00:00
the option is called max-players, fix #235
This commit is contained in:
parent
53504d0c54
commit
7f231c5234
1 changed files with 1 additions and 1 deletions
|
|
@ -213,7 +213,7 @@ Options is an object containing the following properties:
|
|||
* online-mode: defaults to true
|
||||
* beforePing: allow customisation of the answer to ping the server does. It takes a function with argument response and client, response is the default json response, and client is client who sent a ping. It can take as third argument a callback. If the callback is passed, the function should pass its result to the callback, if not it should return.
|
||||
* motd: the string that players see when looking for the server. Defaults to "A Minecraft server"
|
||||
* maxPlayers: the amount of players on the server. Defaults to 20
|
||||
* max-players: the amount of players on the server. Defaults to 20
|
||||
* logging: defaults to true, enables logging
|
||||
* gameMode: defaults to 0, 0 is survival 1 is creative.
|
||||
* generation: is an object. contains the name and the options for the generator. example:
|
||||
|
|
|
|||
Loading…
Reference in a new issue