// This folder contains options for both the bridge and networking adapter. // Environment files and .env files are available here. Set the value of any config option to process.env. export const config = { adapter: { name: "EaglerProxy", bindHost: "0.0.0.0", bindPort: 8080, 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. useNatives: true, skinServer: { skinUrlWhitelist: undefined, cache: { useCache: true, folderName: "skinCache", skinCacheLifetime: 60 * 60 * 1000, skinCachePruneInterval: 10 * 60 * 1000, }, }, motd: true ? "FORWARD" // "FORWARD" regularly polls the server for the MOTD : { iconURL: "motd.png", // must be a valid file path l1: "yes", l2: "no", }, // providing an object as such will allow you to supply your own MOTD ratelimits: { lockout: 10, limits: { http: 100, ws: 100, motd: 100, skins: 1000, // adjust as necessary skinsIp: 10000, connect: 100, }, }, origins: { allowOfflineDownloads: true, originWhitelist: null, originBlacklist: null, }, server: { host: "127.0.0.1", port: 1111, }, tls: undefined, }, };