Only enable RCON by default on Windows
This commit is contained in:
parent
d5c854d16f
commit
f95682fcd5
@ -147,7 +147,7 @@ command = "java -Xmx1G -Xms1G -jar server.jar --nogui"
|
||||
[rcon]
|
||||
# Enable sleeping server through RCON.
|
||||
# Must be enabled on Windows.
|
||||
#enabled = true
|
||||
#enabled = false # default: false, true on Windows
|
||||
|
||||
# Server RCON port. Must differ from public and server port.
|
||||
#port = 25575
|
||||
|
@ -418,7 +418,7 @@ pub struct Rcon {
|
||||
impl Default for Rcon {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
enabled: true,
|
||||
enabled: cfg!(windows),
|
||||
port: 25575,
|
||||
password: "".into(),
|
||||
randomize_password: true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user