This commit is contained in:
idklol725 2024-09-04 12:01:02 +00:00
parent 1687d30417
commit 5556e41acd
4 changed files with 811 additions and 228 deletions

1030
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -16,6 +16,7 @@
"@types/ws": "8.5.4",
"chalk": "5.2.0",
"dotenv": "16.0.3",
"jimp": "^1.2.0",
"minecraft-protocol": "^1.26.5",
"node-fetch": "3.3.1",
"parse-domain": "7.0.1",
@ -24,8 +25,8 @@
"prismarine-chunk": "1.33.0",
"prismarine-registry": "1.6.0",
"semver": "^7.6.0",
"sharp": "^0.33.2",
"ws": "8.12.0"
"sharp": "^0.33.5",
"ws": "^8.18.0"
},
"type": "module"
}

View File

@ -1,2 +1,2 @@
cd ~/$REPL_SLUG/build
cd build
node index.js

View File

@ -8,7 +8,7 @@ export const config: Config = {
name: "EaglerProxy",
bindHost: "0.0.0.0",
bindPort: 8080,
maxConcurrentClients: 20,
maxConcurrentClients: 100,
// set this to false if you are unable to install sharp due to either the use of a platform that does not support native modules
// or if you are unable to install the required dependencies. this will cause the proxy to use jimp instead of sharp, which may
// degrade your proxy's performance.