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,
|
|
|
|
'LoginFailureTimer': 3600
|
2019-03-01 19:41:40 +00:00
|
|
|
},
|
2019-04-10 23:48:41 +00:00
|
|
|
'Wind': {
|
|
|
|
'Id': '100',
|
|
|
|
'Address': '0.0.0.0',
|
|
|
|
'Port': 9875,
|
|
|
|
'World': True,
|
|
|
|
'Capacity': 200,
|
|
|
|
'CacheExpiry': 3600,
|
|
|
|
'Plugins': [
|
|
|
|
'Commands',
|
|
|
|
'Bot',
|
|
|
|
'Rank'
|
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
|
|
|
}
|
|
|
|
}
|
2019-03-18 15:59:04 +00:00
|
|
|
}
|