Create config.sample.py

This commit is contained in:
ro 2019-06-09 02:52:35 +02:00 committed by GitHub
parent fdeb0feed4
commit 3c6b412425
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

55
config.sample.py Normal file
View File

@ -0,0 +1,55 @@
from houdini import ConflictResolution
from houdini import Language
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,
'Language': Language.En,
'World': True,
'Capacity': 200,
'CacheExpiry': 3600,
'Plugins': [
],
'Logging': {
'General': 'logs/blizzard.log',
'Errors': 'logs/blizzard-errors.log',
'Level': 'INFO'
}
}
}