mirror of
https://codeberg.org/polyteknisk-radiogruppe/the_prg_server_configuration.git
synced 2026-06-14 02:38:58 +02:00
Add AllTheMods10 modpack and configure additional server settings
This commit is contained in:
parent
bafafa33e0
commit
497dfe1a6b
2 changed files with 83 additions and 6 deletions
|
|
@ -305,6 +305,9 @@ in {
|
|||
minecraft = {
|
||||
address = "[::]:25565";
|
||||
};
|
||||
minecraft_modded = {
|
||||
address = "[::]:25566";
|
||||
};
|
||||
|
||||
# Minecraft Bedrock (default port 19132) - expose both TCP and UDP
|
||||
minecraft-bedrock-tcp = {address = "[::]:19132";};
|
||||
|
|
@ -663,6 +666,11 @@ in {
|
|||
{address = "10.1.1.244:25565";}
|
||||
];
|
||||
};
|
||||
minecraft_modded.loadBalancer = {
|
||||
servers = [
|
||||
{address = "10.1.1.244:25566";}
|
||||
];
|
||||
};
|
||||
|
||||
# TCP service for Minecraft Bedrock
|
||||
minecraft-bedrock-tcp.loadBalancer = {
|
||||
|
|
@ -1041,8 +1049,8 @@ in {
|
|||
};
|
||||
|
||||
# Allow common HTTP/S and control ports,
|
||||
networking.firewall.allowedTCPPorts = [80 443 10022 30033 8448 9001 3001 993 465 25 25565 24454 2456 2457 2458 26000 1234 3979 2022 19132];
|
||||
networking.firewall.allowedUDPPorts = [80 443 9987 9001 3001 993 465 25 25565 24454 2022 2456 2457 2458 26000 1234 3979 2022 19132];
|
||||
networking.firewall.allowedTCPPorts = [80 443 10022 30033 8448 9001 3001 993 465 25 25565 25566 24454 2456 2457 2458 26000 1234 3979 2022 19132];
|
||||
networking.firewall.allowedUDPPorts = [80 443 9987 9001 3001 993 465 25 25565 25566 24454 2022 2456 2457 2458 26000 1234 3979 2022 19132];
|
||||
|
||||
system.stateVersion = "25.11";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue