nl_tokens: The Server API . <br / > Can be constructed with this constructor or by calling the [ default setup method ] { @link module : npm_crafty . server ~Server . setupDefault } . After construction various methods are available for creating a crafty server instance with net features and for connecting these net features to socket . io . <br / > Also offers a static method for [ automatic matchmaking ] ( module : npm_crafty . server ~Server . MatchMaker ) . <br / > The <code > sockets< / code > parameter contains the Socket . IO namespace to use for all Crafty related data .
pl_tokens: function <mask> ( sockets ) { return { createInstance : function ( room ) { return createInstance ( room , sockets ) ; } , addClient : addClient , removeClient : removeClient } ; }