From 1befcb1699d73cf73fd3faf5beecf5de9ab55404 Mon Sep 17 00:00:00 2001 From: Griatch Date: Tue, 23 Jan 2018 19:46:55 +0100 Subject: [PATCH] Stop hard-coding examples of port settings in game template, it just confuses things. --- evennia/game_template/server/conf/settings.py | 23 +------------------ 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/evennia/game_template/server/conf/settings.py b/evennia/game_template/server/conf/settings.py index 7fe163b833..a8f9776805 100644 --- a/evennia/game_template/server/conf/settings.py +++ b/evennia/game_template/server/conf/settings.py @@ -34,27 +34,6 @@ from evennia.settings_default import * # This is the name of your game. Make it catchy! SERVERNAME = {servername} -# Server ports. If enabled and marked as "visible", the port -# should be visible to the outside world on a production server. -# Note that there are many more options available beyond these. - -# Telnet ports. Visible. -TELNET_ENABLED = True -TELNET_PORTS = [4000] -# (proxy, internal). Only proxy should be visible. -WEBSERVER_ENABLED = True -WEBSERVER_PORTS = [(4001, 4002)] -# Telnet+SSL ports, for supporting clients. Visible. -SSL_ENABLED = False -SSL_PORTS = [4003] -# SSH client ports. Requires crypto lib. Visible. -SSH_ENABLED = False -SSH_PORTS = [4004] -# Websocket-client port. Visible. -WEBSOCKET_CLIENT_ENABLED = True -WEBSOCKET_CLIENT_PORT = 4005 -# Internal Server-Portal port. Not visible. -AMP_PORT = 4006 ###################################################################### # Settings given in secret_settings.py override those in this file. @@ -62,4 +41,4 @@ AMP_PORT = 4006 try: from server.conf.secret_settings import * except ImportError: - print "secret_settings.py file not found or failed to import." + print("secret_settings.py file not found or failed to import.")