mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-01-22 02:07:26 +07:00
Added help command to server CLI
This commit is contained in:
parent
8feff49a8a
commit
60257b48de
@ -316,6 +316,8 @@ public class Main extends ApplicationAdapter {
|
||||
String in = reader.readLine();
|
||||
if (in.equalsIgnoreCase("exit")) {
|
||||
Gdx.app.exit();
|
||||
} else if (in.equalsIgnoreCase("help") || in.equalsIgnoreCase("?")) {
|
||||
Gdx.app.log(TAG, "commands: address, clients, seed, exit");
|
||||
} else if (in.equalsIgnoreCase("address")) {
|
||||
Gdx.app.log(TAG, "address: " + server.future().channel().localAddress());
|
||||
} else if (in.equalsIgnoreCase("clients")) {
|
||||
|
Loading…
Reference in New Issue
Block a user