mirror of
https://github.com/evennia/evennia.git
synced 2026-03-19 22:36:31 +01:00
Moving the game port selection to settings.py for simplicity and security.
This commit is contained in:
parent
92165ade01
commit
7d869dff18
3 changed files with 7 additions and 7 deletions
|
|
@ -1,7 +1,6 @@
|
|||
INSERT INTO config_configvalue VALUES(1,'site_name','Evennia Test Site');
|
||||
INSERT INTO config_configvalue VALUES(2,'site_port','4000');
|
||||
INSERT INTO config_configvalue VALUES(3,'player_dbnum_start','2');
|
||||
INSERT INTO config_configvalue VALUES(4,'money_name_plural','Credits');
|
||||
INSERT INTO config_configvalue VALUES(5,'money_name_singular','Credit');
|
||||
INSERT INTO config_configvalue VALUES(6,'game_firstrun','1');
|
||||
INSERT INTO config_configvalue VALUES(7,'idle_timeout','1800');
|
||||
INSERT INTO config_configvalue VALUES(2,'player_dbnum_start','2');
|
||||
INSERT INTO config_configvalue VALUES(3,'money_name_plural','Credits');
|
||||
INSERT INTO config_configvalue VALUES(4,'money_name_singular','Credit');
|
||||
INSERT INTO config_configvalue VALUES(5,'game_firstrun','1');
|
||||
INSERT INTO config_configvalue VALUES(6,'idle_timeout','1800');
|
||||
|
|
|
|||
|
|
@ -123,4 +123,4 @@ mud_service = EvenniaService('Evennia Server')
|
|||
|
||||
# Sheet sheet, fire ze missiles!
|
||||
serviceCollection = service.IServiceCollection(application)
|
||||
internet.TCPServer(4000, mud_service.getEvenniaServiceFactory()).setServiceParent(serviceCollection)
|
||||
internet.TCPServer(settings.GAMEPORT, mud_service.getEvenniaServiceFactory()).setServiceParent(serviceCollection)
|
||||
|
|
|
|||
|
|
@ -81,3 +81,4 @@ INSTALLED_APPS = (
|
|||
)
|
||||
|
||||
LOGFILE = 'logs/evennia.log'
|
||||
GAMEPORT = 4000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue