Closed leopoldhub closed 2 years ago
Update the way servers are stored.
let serverList = {
hub: {
host: 'localhost',
port: 25565,
isDefault: true,
isFallback: true
},
minigames: {
host: 'localhost',
port: 25566
}
}
to
let serverList = [
{
name: "hub",
settings: {
host: 'localhost',
port: 25565,
isDefault: true,
isFallback: true
}
},
{
name: "minigames",
settings: {
host: 'localhost',
port: 25566
}
},
];
Add a prettier config and reformat the files.
Update node-minecraft-protocol version. Add the possibility to make custom plugins for the proxy and localServer. Add the possibility to cancel sended packets. An example is also created to help peoples.