houdini/config.py.sample
2019-05-04 22:49:23 +01:00

53 lines
1.1 KiB
Plaintext

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