add enforce secure chat to cli response
This commit is contained in:
parent
7c8c04573c
commit
172a072c36
1 changed files with 4 additions and 0 deletions
|
|
@ -52,6 +52,10 @@ env!("CARGO_PKG_VERSION"));
|
|||
|
||||
println!("Version: {} ({})", status.version.name, status.version.protocol);
|
||||
println!("Players: {}/{}", status.players.online, status.players.max);
|
||||
println!(
|
||||
"Enforces Secure Chat: {}",
|
||||
if status.enforces_secure_chat() { "true" } else { "false" },
|
||||
);
|
||||
println!("MOTD:");
|
||||
println!("{}", status.parse_description());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue