there we go

This commit is contained in:
q13x 2023-07-05 10:24:40 -07:00
parent bdcbd1590b
commit b348c2bef2

View File

@ -14,7 +14,7 @@ const MineProtocol = PluginManager.MineProtocol;
const EaglerSkins = PluginManager.EaglerSkins; const EaglerSkins = PluginManager.EaglerSkins;
const Util = PluginManager.Util; const Util = PluginManager.Util;
const logger = new Logger("EaglerProxyAAS"); const logger = new Logger("AutoKicker");
logger.info(`Starting ${metadata.name} v${metadata.version}...`); logger.info(`Starting ${metadata.name} v${metadata.version}...`);
logger.info( logger.info(
`(internal server port: ${config.bindInternalServerPort}, internal server IP: ${config.bindInternalServerPort})` `(internal server port: ${config.bindInternalServerPort}, internal server IP: ${config.bindInternalServerPort})`
@ -30,14 +30,7 @@ let server = createServer({
}); });
server.on("login", (client) => { server.on("login", (client) => {
logger.info( logger.info(`Client ${client.username} has connected to the dummy server.`);
`Client ${client.username} has connected to the authentication server.`
);
client.on("end", () => {
logger.info(
`Client ${client.username} has disconnected from the authentication server.`
);
});
client.write("kick_disconnect", { client.write("kick_disconnect", {
reason: "NO", reason: "NO",
}); });