houdini/config.py.sample

53 lines
1.1 KiB
Plaintext
Raw Normal View History

2019-04-22 00:19:14 +00:00
from Houdini import ConflictResolution
2019-03-01 19:41:40 +00:00
database = {
2019-04-10 23:48:41 +00:00
'Address': 'localhost',
'Username': 'postgres',
'Password': 'password',
'Name': 'houdini',
2019-03-01 19:41:40 +00:00
}
redis = {
2019-04-10 23:48:41 +00:00
'Address': '127.0.0.1',
'Port': 6379
2019-03-01 19:41:40 +00:00
}
2019-04-22 00:19:14 +00:00
commands = {
'Prefix': ['!', '?', '.'],
'StringDelimiters': ['"', "'"],
'ConflictMode': ConflictResolution.Silent
}
2019-03-01 19:41:40 +00:00
servers = {
2019-04-10 23:48:41 +00:00
'Login': {
'Address': '0.0.0.0',
'Port': 6112,
'World': False,
'Plugins': [
'Example'
2019-03-01 19:41:40 +00:00
],
2019-04-10 23:48:41 +00:00
'Logging': {
'General': 'logs/login.log',
'Errors': 'logs/login-errors.log',
'Level': 'DEBUG'
2019-03-01 19:41:40 +00:00
},
2019-04-10 23:48:41 +00:00
'LoginFailureLimit': 5,
2019-05-04 21:49:23 +00:00
'LoginFailureTimer': 3600,
'KeyTTL': 3000
2019-03-01 19:41:40 +00:00
},
2019-05-04 21:49:23 +00:00
'Blizzard': {
2019-04-10 23:48:41 +00:00
'Id': '100',
'Address': '0.0.0.0',
'Port': 9875,
'World': True,
'Capacity': 200,
'CacheExpiry': 3600,
'Plugins': [
2019-03-01 19:41:40 +00:00
],
2019-04-10 23:48:41 +00:00
'Logging': {
'General': 'logs/wind.log',
'Errors': 'logs/wind-errors.log',
'Level': 'INFO'
2019-03-01 19:41:40 +00:00
}
}
}