
DEFAULT_PORT = 7777

DEFAULT_IP_ADDRESS = '127.0.0.1'

MAX_CONNECTIONS = 5

MAX_PACKAGE_LENGTH = 2048

ENCODING = 'utf-8'

SERVER_DATABASE = 'sqlite:///server_base.db3'

ACTION = 'action'
TIME = 'time'
USER = 'user'
ACCOUNT_NAME = 'account_name'

MESSAGE_STANDARD = {"action":"", "time":"", "receiver":"", "user":"", "contents":""}

PRESENCE = 'presence'
RESPONSE = 'response'
ERROR = 'error'
