mirror of
https://github.com/WorldEditAxe/eaglerproxy.git
synced 2024-12-04 06:24:13 -08:00
there we go
This commit is contained in:
parent
bdcbd1590b
commit
b348c2bef2
|
@ -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",
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user