The client can either be started using the provided run configurations for IntelliJ IDEA or by running a bundled JAR file.
To bundle the client into a JAR file, run the following command:
mvn clean package
This will create a JAR file in the player/target
directory.
To run the JAR file, execute the following command:
java -jar player/target/teamgruen-player.jar
The client can be started with the following arguments:
Argument | Description | Default |
---|---|---|
--batch-mode or -b |
Whether to run the client in batch (console) mode, reducing the logs to non-colored text. | false |
--debug or -d |
Whether to run the client in debug mode, enabling a closer look at the timings and moves of the player. | false |
--play-style or -s |
The play style of the client. Allowed values are weighted and max-passengers . This argument must be set when the client is not run in administrator/mass-testing mode. |
/ |
--game-type or -g |
The game type of the room which the player should join. | / |
--room or -r |
The ID of the room which the player should join. | / |
--reservation or -R |
The reservation ID of the room which the player should join. | / |
--host or -h |
The hostname of the server. | localhost |
--port or -p |
The port of the server. | 13050 |
--password |
The administrator password for the server. | examplepassword |