EGD: Require at least one of telnet host/port OR web portal. Fixes #946.

This commit is contained in:
Greg Taylor 2016-04-04 22:40:30 -07:00
parent db988b242b
commit d140c9883f
2 changed files with 9 additions and 2 deletions

View file

@ -116,16 +116,22 @@ or backwards-incompatible change.
### telnet_hostname
Required: **Yes**
Required: **Must specify this and telnet_port OR web_client_url**
The hostname that players can telnet into to play your game.
### telnet_port
Required: **Yes**
Required: **Must specify this and telnet_hostname OR web_client_url**
The port that the players can telnet into to play your game.
### web_client_url
Required: **Must specify this OR telnet_hostname + telnet_port**
Full URL to your game's web-based client.
## What information is being reported?
In addition the the details listed in the previous section, we send some

View file

@ -76,6 +76,7 @@ class EvenniaGameDirClient(object):
'evennia_version': get_evennia_version(),
'telnet_hostname': gd_config['telnet_hostname'],
'telnet_port': gd_config['telnet_port'],
'web_client_url': gd_config.get('web_client_url') or '',
'connected_player_count': SESSIONS.player_count(),
'total_player_count': PlayerDB.objects.num_total_players() or 0,
}