diff --git a/src/db/config.js b/src/db/config.js new file mode 100644 index 0000000..eeeb1e2 --- /dev/null +++ b/src/db/config.js @@ -0,0 +1,34 @@ +module.exports = Object.seal({ + "port": "8080", + "motd": "You agree to read this message.", + "_id_PrivateKey": "boppity", + "defaultUsername": "Anonymous", + "defaultRoomColor": "#3b5054", + "defaultLobbyColor": "#19b4b9", + "defaultLobbyColor2": "#801014", + "adminpass": "adminpass_h4gKJCX2", + "quotas":{ + "chat":{ + "amount": 4, + "time": 4000 + }, + "name":{ + "amount": 30, + "time": 30 * 60000 + }, + "room":{ + "time": 500 + }, + "cursor":{ + "time": 16 + }, + "kickban":{ + "amount": 2, + "time": 1000 + }, + "crowned_chat":{ + "amount": 10, + "time": 4000 + } + } +}) diff --git a/src/db/config.json b/src/db/config.json deleted file mode 100644 index ce8db5c..0000000 --- a/src/db/config.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "port": "3000", - "motd": "You agree to read this message.", - "_id_PrivateKey": "boppity", - "defaultUsername": "Anonymous", - "defaultRoomColor": "#3b5054", - "defaultLobbyColor": "#19b4b9", - "defaultLobbyColor2": "#801014", - "adminpass": "adminpass" -}