From 7f231c5234788b6c913ed342ebba2db43cb9426f Mon Sep 17 00:00:00 2001 From: Romain Beaumont Date: Thu, 14 Apr 2016 01:05:28 +0200 Subject: [PATCH] the option is called max-players, fix #235 --- doc/API.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/API.md b/doc/API.md index 268805c..65f9a03 100644 --- a/doc/API.md +++ b/doc/API.md @@ -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: