Merge pull request #104 from duckietm/Dev

🆙 Added CryptoV2
This commit is contained in:
DuckieTM
2026-04-24 16:33:11 +02:00
committed by GitHub
+83 -158
View File
@@ -1,6 +1,8 @@
{ {
"socket.url": "ws://localhost:2096", "socket.url": "ws://localhost:2096",
"crypto.ws.enabled": false, "crypto.ws.enabled": false,
"crypto.ws.signing.enabled": true,
"crypto.ws.signing.public_key": "### PASTE HERE THE PUBLIC KEY !!!! NOT THE PRIVATE !!!! ###",
"api.url": "http://localhost:2096", "api.url": "http://localhost:2096",
"asset.url": "https://localhost/nitro/bundled", "asset.url": "https://localhost/nitro/bundled",
"image.library.url": "https://localhost/c_images/", "image.library.url": "https://localhost/c_images/",
@@ -41,7 +43,7 @@
"room.color.skip.transition": true, "room.color.skip.transition": true,
"room.landscapes.enabled": true, "room.landscapes.enabled": true,
"room.zoom.enabled": true, "room.zoom.enabled": true,
"login.screen.enabled": false, "login.screen.enabled": true,
"login.endpoint": "${api.url}/api/auth/login", "login.endpoint": "${api.url}/api/auth/login",
"login.register.endpoint": "${api.url}/api/auth/register", "login.register.endpoint": "${api.url}/api/auth/register",
"login.forgot.endpoint": "${api.url}/api/auth/forgot-password", "login.forgot.endpoint": "${api.url}/api/auth/forgot-password",
@@ -51,7 +53,8 @@
"login.check-username.endpoint": "${api.url}/api/auth/check-username", "login.check-username.endpoint": "${api.url}/api/auth/check-username",
"login.room_templates.endpoint": "${api.url}/api/auth/room-templates", "login.room_templates.endpoint": "${api.url}/api/auth/room-templates",
"login.remember.endpoint": "${api.url}/api/auth/remember", "login.remember.endpoint": "${api.url}/api/auth/remember",
"login.turnstile.enabled": false, "login.server_key.endpoint": "${api.url}/api/auth/server-key",
"login.turnstile.enabled": true,
"login.turnstile.sitekey": "", "login.turnstile.sitekey": "",
"avatar.mandatory.libraries": [ "avatar.mandatory.libraries": [
"bd:1", "bd:1",
@@ -64,18 +67,15 @@
"dance.4" "dance.4"
], ],
"avatar.default.figuredata": { "avatar.default.figuredata": {
"palettes": [ "palettes": [{
{
"id": 1, "id": 1,
"colors": [ "colors": [{
{
"id": 99999, "id": 99999,
"index": 1001, "index": 1001,
"club": 0, "club": 0,
"selectable": false, "selectable": false,
"hexCode": "DDDDDD" "hexCode": "DDDDDD"
}, }, {
{
"id": 99998, "id": 99998,
"index": 1001, "index": 1001,
"club": 0, "club": 0,
@@ -83,228 +83,195 @@
"hexCode": "FAFAFA" "hexCode": "FAFAFA"
} }
] ]
}, }, {
{
"id": 3, "id": 3,
"colors": [ "colors": [{
{
"id": 10001, "id": 10001,
"index": 1001, "index": 1001,
"club": 0, "club": 0,
"selectable": false, "selectable": false,
"hexCode": "EEEEEE" "hexCode": "EEEEEE"
}, }, {
{
"id": 10002, "id": 10002,
"index": 1002, "index": 1002,
"club": 0, "club": 0,
"selectable": false, "selectable": false,
"hexCode": "FA3831" "hexCode": "FA3831"
}, }, {
{
"id": 10003, "id": 10003,
"index": 1003, "index": 1003,
"club": 0, "club": 0,
"selectable": false, "selectable": false,
"hexCode": "FD92A0" "hexCode": "FD92A0"
}, }, {
{
"id": 10004, "id": 10004,
"index": 1004, "index": 1004,
"club": 0, "club": 0,
"selectable": false, "selectable": false,
"hexCode": "2AC7D2" "hexCode": "2AC7D2"
}, }, {
{
"id": 10005, "id": 10005,
"index": 1005, "index": 1005,
"club": 0, "club": 0,
"selectable": false, "selectable": false,
"hexCode": "35332C" "hexCode": "35332C"
}, }, {
{
"id": 10006, "id": 10006,
"index": 1006, "index": 1006,
"club": 0, "club": 0,
"selectable": false, "selectable": false,
"hexCode": "EFFF92" "hexCode": "EFFF92"
}, }, {
{
"id": 10007, "id": 10007,
"index": 1007, "index": 1007,
"club": 0, "club": 0,
"selectable": false, "selectable": false,
"hexCode": "C6FF98" "hexCode": "C6FF98"
}, }, {
{
"id": 10008, "id": 10008,
"index": 1008, "index": 1008,
"club": 0, "club": 0,
"selectable": false, "selectable": false,
"hexCode": "FF925A" "hexCode": "FF925A"
}, }, {
{
"id": 10009, "id": 10009,
"index": 1009, "index": 1009,
"club": 0, "club": 0,
"selectable": false, "selectable": false,
"hexCode": "9D597E" "hexCode": "9D597E"
}, }, {
{
"id": 10010, "id": 10010,
"index": 1010, "index": 1010,
"club": 0, "club": 0,
"selectable": false, "selectable": false,
"hexCode": "B6F3FF" "hexCode": "B6F3FF"
}, }, {
{
"id": 10011, "id": 10011,
"index": 1011, "index": 1011,
"club": 0, "club": 0,
"selectable": false, "selectable": false,
"hexCode": "6DFF33" "hexCode": "6DFF33"
}, }, {
{
"id": 10012, "id": 10012,
"index": 1012, "index": 1012,
"club": 0, "club": 0,
"selectable": false, "selectable": false,
"hexCode": "3378C9" "hexCode": "3378C9"
}, }, {
{
"id": 10013, "id": 10013,
"index": 1013, "index": 1013,
"club": 0, "club": 0,
"selectable": false, "selectable": false,
"hexCode": "FFB631" "hexCode": "FFB631"
}, }, {
{
"id": 10014, "id": 10014,
"index": 1014, "index": 1014,
"club": 0, "club": 0,
"selectable": false, "selectable": false,
"hexCode": "DFA1E9" "hexCode": "DFA1E9"
}, }, {
{
"id": 10015, "id": 10015,
"index": 1015, "index": 1015,
"club": 0, "club": 0,
"selectable": false, "selectable": false,
"hexCode": "F9FB32" "hexCode": "F9FB32"
}, }, {
{
"id": 10016, "id": 10016,
"index": 1016, "index": 1016,
"club": 0, "club": 0,
"selectable": false, "selectable": false,
"hexCode": "CAAF8F" "hexCode": "CAAF8F"
}, }, {
{
"id": 10017, "id": 10017,
"index": 1017, "index": 1017,
"club": 0, "club": 0,
"selectable": false, "selectable": false,
"hexCode": "C5C6C5" "hexCode": "C5C6C5"
}, }, {
{
"id": 10018, "id": 10018,
"index": 1018, "index": 1018,
"club": 0, "club": 0,
"selectable": false, "selectable": false,
"hexCode": "47623D" "hexCode": "47623D"
}, }, {
{
"id": 10019, "id": 10019,
"index": 1019, "index": 1019,
"club": 0, "club": 0,
"selectable": false, "selectable": false,
"hexCode": "8A8361" "hexCode": "8A8361"
}, }, {
{
"id": 10020, "id": 10020,
"index": 1020, "index": 1020,
"club": 0, "club": 0,
"selectable": false, "selectable": false,
"hexCode": "FF8C33" "hexCode": "FF8C33"
}, }, {
{
"id": 10021, "id": 10021,
"index": 1021, "index": 1021,
"club": 0, "club": 0,
"selectable": false, "selectable": false,
"hexCode": "54C627" "hexCode": "54C627"
}, }, {
{
"id": 10022, "id": 10022,
"index": 1022, "index": 1022,
"club": 0, "club": 0,
"selectable": false, "selectable": false,
"hexCode": "1E6C99" "hexCode": "1E6C99"
}, }, {
{
"id": 10023, "id": 10023,
"index": 1023, "index": 1023,
"club": 0, "club": 0,
"selectable": false, "selectable": false,
"hexCode": "984F88" "hexCode": "984F88"
}, }, {
{
"id": 10024, "id": 10024,
"index": 1024, "index": 1024,
"club": 0, "club": 0,
"selectable": false, "selectable": false,
"hexCode": "77C8FF" "hexCode": "77C8FF"
}, }, {
{
"id": 10025, "id": 10025,
"index": 1025, "index": 1025,
"club": 0, "club": 0,
"selectable": false, "selectable": false,
"hexCode": "FFC08E" "hexCode": "FFC08E"
}, }, {
{
"id": 10026, "id": 10026,
"index": 1026, "index": 1026,
"club": 0, "club": 0,
"selectable": false, "selectable": false,
"hexCode": "3C4B87" "hexCode": "3C4B87"
}, }, {
{
"id": 10027, "id": 10027,
"index": 1027, "index": 1027,
"club": 0, "club": 0,
"selectable": false, "selectable": false,
"hexCode": "7C2C47" "hexCode": "7C2C47"
}, }, {
{
"id": 10028, "id": 10028,
"index": 1028, "index": 1028,
"club": 0, "club": 0,
"selectable": false, "selectable": false,
"hexCode": "D7FFE3" "hexCode": "D7FFE3"
}, }, {
{
"id": 10029, "id": 10029,
"index": 1029, "index": 1029,
"club": 0, "club": 0,
"selectable": false, "selectable": false,
"hexCode": "8F3F1C" "hexCode": "8F3F1C"
}, }, {
{
"id": 10030, "id": 10030,
"index": 1030, "index": 1030,
"club": 0, "club": 0,
"selectable": false, "selectable": false,
"hexCode": "FF6393" "hexCode": "FF6393"
}, }, {
{
"id": 10031, "id": 10031,
"index": 1031, "index": 1031,
"club": 0, "club": 0,
"selectable": false, "selectable": false,
"hexCode": "1F9B79" "hexCode": "1F9B79"
}, }, {
{
"id": 10032, "id": 10032,
"index": 1032, "index": 1032,
"club": 0, "club": 0,
@@ -314,16 +281,14 @@
] ]
} }
], ],
"setTypes": [ "setTypes": [{
{
"type": "hd", "type": "hd",
"paletteId": 1, "paletteId": 1,
"mandatory_f_0": true, "mandatory_f_0": true,
"mandatory_f_1": true, "mandatory_f_1": true,
"mandatory_m_0": true, "mandatory_m_0": true,
"mandatory_m_1": true, "mandatory_m_1": true,
"sets": [ "sets": [{
{
"id": 99999, "id": 99999,
"gender": "U", "gender": "U",
"club": 0, "club": 0,
@@ -331,29 +296,25 @@
"selectable": false, "selectable": false,
"preselectable": false, "preselectable": false,
"sellable": false, "sellable": false,
"parts": [ "parts": [{
{
"id": 1, "id": 1,
"type": "bd", "type": "bd",
"colorable": true, "colorable": true,
"index": 0, "index": 0,
"colorindex": 1 "colorindex": 1
}, }, {
{
"id": 1, "id": 1,
"type": "hd", "type": "hd",
"colorable": true, "colorable": true,
"index": 0, "index": 0,
"colorindex": 1 "colorindex": 1
}, }, {
{
"id": 1, "id": 1,
"type": "lh", "type": "lh",
"colorable": true, "colorable": true,
"index": 0, "index": 0,
"colorindex": 1 "colorindex": 1
}, }, {
{
"id": 1, "id": 1,
"type": "rh", "type": "rh",
"colorable": true, "colorable": true,
@@ -363,16 +324,14 @@
] ]
} }
] ]
}, }, {
{
"type": "bds", "type": "bds",
"paletteId": 1, "paletteId": 1,
"mandatory_f_0": false, "mandatory_f_0": false,
"mandatory_f_1": false, "mandatory_f_1": false,
"mandatory_m_0": false, "mandatory_m_0": false,
"mandatory_m_1": false, "mandatory_m_1": false,
"sets": [ "sets": [{
{
"id": 10001, "id": 10001,
"gender": "U", "gender": "U",
"club": 0, "club": 0,
@@ -380,22 +339,19 @@
"selectable": false, "selectable": false,
"preselectable": false, "preselectable": false,
"sellable": false, "sellable": false,
"parts": [ "parts": [{
{
"id": 10001, "id": 10001,
"type": "bds", "type": "bds",
"colorable": true, "colorable": true,
"index": 0, "index": 0,
"colorindex": 1 "colorindex": 1
}, }, {
{
"id": 10001, "id": 10001,
"type": "lhs", "type": "lhs",
"colorable": true, "colorable": true,
"index": 0, "index": 0,
"colorindex": 1 "colorindex": 1
}, }, {
{
"id": 10001, "id": 10001,
"type": "rhs", "type": "rhs",
"colorable": true, "colorable": true,
@@ -403,29 +359,24 @@
"colorindex": 1 "colorindex": 1
} }
], ],
"hiddenLayers": [ "hiddenLayers": [{
{
"partType": "bd" "partType": "bd"
}, }, {
{
"partType": "rh" "partType": "rh"
}, }, {
{
"partType": "lh" "partType": "lh"
} }
] ]
} }
] ]
}, }, {
{
"type": "ss", "type": "ss",
"paletteId": 3, "paletteId": 3,
"mandatory_f_0": false, "mandatory_f_0": false,
"mandatory_f_1": false, "mandatory_f_1": false,
"mandatory_m_0": false, "mandatory_m_0": false,
"mandatory_m_1": false, "mandatory_m_1": false,
"sets": [ "sets": [{
{
"id": 10010, "id": 10010,
"gender": "F", "gender": "F",
"club": 0, "club": 0,
@@ -433,8 +384,7 @@
"selectable": false, "selectable": false,
"preselectable": false, "preselectable": false,
"sellable": false, "sellable": false,
"parts": [ "parts": [{
{
"id": 10001, "id": 10001,
"type": "ss", "type": "ss",
"colorable": true, "colorable": true,
@@ -442,43 +392,31 @@
"colorindex": 1 "colorindex": 1
} }
], ],
"hiddenLayers": [ "hiddenLayers": [{
{
"partType": "ch" "partType": "ch"
}, }, {
{
"partType": "lg" "partType": "lg"
}, }, {
{
"partType": "ca" "partType": "ca"
}, }, {
{
"partType": "wa" "partType": "wa"
}, }, {
{
"partType": "sh" "partType": "sh"
}, }, {
{
"partType": "ls" "partType": "ls"
}, }, {
{
"partType": "rs" "partType": "rs"
}, }, {
{
"partType": "lc" "partType": "lc"
}, }, {
{
"partType": "rc" "partType": "rc"
}, }, {
{
"partType": "cc" "partType": "cc"
}, }, {
{
"partType": "cp" "partType": "cp"
} }
] ]
}, }, {
{
"id": 10011, "id": 10011,
"gender": "M", "gender": "M",
"club": 0, "club": 0,
@@ -486,8 +424,7 @@
"selectable": false, "selectable": false,
"preselectable": false, "preselectable": false,
"sellable": false, "sellable": false,
"parts": [ "parts": [{
{
"id": 10002, "id": 10002,
"type": "ss", "type": "ss",
"colorable": true, "colorable": true,
@@ -495,38 +432,27 @@
"colorindex": 1 "colorindex": 1
} }
], ],
"hiddenLayers": [ "hiddenLayers": [{
{
"partType": "ch" "partType": "ch"
}, }, {
{
"partType": "lg" "partType": "lg"
}, }, {
{
"partType": "ca" "partType": "ca"
}, }, {
{
"partType": "wa" "partType": "wa"
}, }, {
{
"partType": "sh" "partType": "sh"
}, }, {
{
"partType": "ls" "partType": "ls"
}, }, {
{
"partType": "rs" "partType": "rs"
}, }, {
{
"partType": "lc" "partType": "lc"
}, }, {
{
"partType": "rc" "partType": "rc"
}, }, {
{
"partType": "cc" "partType": "cc"
}, }, {
{
"partType": "cp" "partType": "cp"
} }
] ]
@@ -536,8 +462,7 @@
] ]
}, },
"avatar.default.actions": { "avatar.default.actions": {
"actions": [ "actions": [{
{
"id": "Default", "id": "Default",
"state": "std", "state": "std",
"precedence": 1000, "precedence": 1000,