Drafting Server

The Drafting Server is a server hosted by a client, which handles an individual drafting session.

Development

The Drafting Server project can be found in the NautDrafter_Drafting project in the repository.

Usage

Instructions for hosting a Drafting Server from within the client can be found on the Hosting a Drafting Session page.

It is also possible to host a Drafting Server standalone from the command-line, by running the NautDrafter_Drafting project

./gradlew NautDrafter_Drafting:run

or installing

./gradlew NautDrafter_Drafting:install

and running from the commandline

./NautDrafter_Drafting/build/install/NautDrafter_Drafting/bin/NautDrafter_Drafting <args>

Command-line arguments

--name=String           sets the name of the server
--description=String    sets the description of the server
--pass=String           sets the password of the server
--map=Integer           sets the map (by id)
--port=Integer          sets the port (defaults to an ephemeral port with UPnP)
--ban=String			sets the ban type (uni|bi)
--lan=Boolean			enables/disables lan discovery
--autoexport=Boolean	enables/disables auto export of completed games to lobby server