Enable authentication in examples

This commit is contained in:
Ryan 2022-08-10 10:32:05 -07:00
parent b2310db7b7
commit 003c2e3649
5 changed files with 0 additions and 24 deletions

View file

@ -67,10 +67,6 @@ impl Config for Game {
MAX_PLAYERS + 64
}
fn online_mode(&self) -> bool {
false
}
async fn server_list_ping(
&self,
_server: &SharedServer<Self>,

View file

@ -65,11 +65,6 @@ impl Config for Game {
MAX_PLAYERS + 64
}
fn online_mode(&self) -> bool {
// You'll want this to be true on real servers.
false
}
fn dimensions(&self) -> Vec<Dimension> {
vec![Dimension {
fixed_time: Some(6000),

View file

@ -60,11 +60,6 @@ impl Config for Game {
MAX_PLAYERS + 64
}
fn online_mode(&self) -> bool {
// You'll want this to be true on real servers.
false
}
async fn server_list_ping(
&self,
_server: &SharedServer<Self>,

View file

@ -55,11 +55,6 @@ impl Config for Game {
MAX_PLAYERS + 64
}
fn online_mode(&self) -> bool {
// You'll want this to be true on real servers.
false
}
async fn server_list_ping(
&self,
_server: &SharedServer<Self>,

View file

@ -65,11 +65,6 @@ impl Config for Game {
MAX_PLAYERS + 64
}
fn online_mode(&self) -> bool {
// You'll want this to be true on real servers.
false
}
async fn server_list_ping(
&self,
_server: &SharedServer<Self>,