From e9d87838590a02c7ca028fad8cd16e42a582dd32 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Mon, 29 Jun 2026 01:00:17 -0400 Subject: feat: self-signed certificates --- config.yaml | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) (limited to 'config.yaml') diff --git a/config.yaml b/config.yaml index 3bcaada..a55e032 100644 --- a/config.yaml +++ b/config.yaml @@ -1,30 +1,35 @@ -game: - tick_length: 600 - startup_validation: - root_rooms: [1001] - ignore_unreachable: [] +tick_length: 600 + +starting_room: 1001 +startup_validation: + root_rooms: [1001] + ignore_unreachable: [] telnet: enabled: true port: 4000 +http: + enabled: true + port: 8888 + +# To use Telnet TLS or HTTPS, configure the path of a certificate and private +# key. If cert_file and key_file are left empty, a self-signed certificate is +# generated automatically on startup. + telnet_tls: enabled: false port: 4001 cert_file: "" key_file: "" -http: - enabled: true - port: 8888 - https: enabled: false port: 8443 cert_file: "" key_file: "" -colors: +default_colors: room_name: "51 bold" room_number: "F0" room_desc: "FC" @@ -34,7 +39,6 @@ colors: protected_mob: "off" mob: "off" damage: "C4" - xp: "DE" level_up: "E2 bold" item: "DF" @@ -50,8 +54,6 @@ colors: eat_food: "9C" drop_message: "BA" credits_pickup: "DC" - map_at: "0F" map_blocked: "C4" - -- cgit v1.2.3