Use single quote in config

This commit is contained in:
Ben 2019-04-11 00:48:41 +01:00
parent 34a48fe6d6
commit 1ba09cf36a

View File

@ -1,47 +1,47 @@
database = { database = {
"Address": "localhost", 'Address': 'localhost',
"Username": "postgres", 'Username': 'postgres',
"Password": "password", 'Password': 'password',
"Name": "houdini", 'Name': 'houdini',
} }
redis = { redis = {
"Address": "127.0.0.1", 'Address': '127.0.0.1',
"Port": 6379 'Port': 6379
} }
servers = { servers = {
"Login": { 'Login': {
"Address": "0.0.0.0", 'Address': '0.0.0.0',
"Port": 6112, 'Port': 6112,
"World": False, 'World': False,
"Plugins": [ 'Plugins': [
"Example" 'Example'
], ],
"Logging": { 'Logging': {
"General": "logs/login.log", 'General': 'logs/login.log',
"Errors": "logs/login-errors.log", 'Errors': 'logs/login-errors.log',
"Level": "DEBUG" 'Level': 'DEBUG'
}, },
"LoginFailureLimit": 5, 'LoginFailureLimit': 5,
"LoginFailureTimer": 3600 'LoginFailureTimer': 3600
}, },
"Wind": { 'Wind': {
"Id": "100", 'Id': '100',
"Address": "0.0.0.0", 'Address': '0.0.0.0',
"Port": 9875, 'Port': 9875,
"World": True, 'World': True,
"Capacity": 200, 'Capacity': 200,
"CacheExpiry": 3600, 'CacheExpiry': 3600,
"Plugins": [ 'Plugins': [
"Commands", 'Commands',
"Bot", 'Bot',
"Rank" 'Rank'
], ],
"Logging": { 'Logging': {
"General": "logs/wind.log", 'General': 'logs/wind.log',
"Errors": "logs/wind-errors.log", 'Errors': 'logs/wind-errors.log',
"Level": "INFO" 'Level': 'INFO'
} }
} }
} }