fn load_from(path string) !Config
struct Config {
pub mut:
motd string = 'Vedrock Server'
sub_motd string = 'A V Bedrock server'
address string = '0.0.0.0'
port int = 19132
max_players int = 20
view_distance int = 8
gamemode string = 'survival'
xbox_auth bool = true
encryption bool
compression_threshold int = 256
generator string = 'flat'
language string = 'en'
resource_packs bool = true
resource_packs_dir string = 'resource_packs'
force_resource_packs bool
allow_client_packs bool = true
cdn_packs string
default_world string = 'world'
load_all_worlds bool
debug bool
}
fn (Config) bind_address #
fn (c &Config) bind_address() string