feat: wowmine: voice messages
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
port=36575
|
||||
bind_address=
|
||||
voice_host=wowmine.bfs.band:36575
|
||||
force_voice_chat=false
|
||||
@@ -16,6 +16,14 @@ let
|
||||
url = "https://edge.forgecdn.net/files/9527/851/sleeptimeskip-neoforge-1.21.1-1.1.0.jar";
|
||||
hash = "sha256-VXyBWvU+P95RMNRs2vTUFcqQPBeit2oJDTbSngwXAIM=";
|
||||
};
|
||||
voiceChat = pkgs.fetchurl {
|
||||
url = "https://cdn.modrinth.com/data/9eGKb6K1/versions/2s7zUspF/voicechat-neoforge-1.21.1-2.6.22.jar";
|
||||
hash = "sha256-YxFqTSG9VyIUgtlx3YWCL3xyPCELYEEWcM2wqiaHPKw=";
|
||||
};
|
||||
voiceMessages = pkgs.fetchurl {
|
||||
url = "https://cdn.modrinth.com/data/WWLeFuHa/versions/EMJ5tqkD/voicemessages-neoforge-1.0.14-1.21.1.jar";
|
||||
hash = "sha256-tgMyYKwk4lSM/iPa7E3G0gC1Lw/aomju4h80dT2uB9w=";
|
||||
};
|
||||
in
|
||||
{
|
||||
sops.secrets."minecraft/storage-box-pack-key" = {
|
||||
@@ -45,6 +53,8 @@ in
|
||||
services.minecraft-servers.servers.wowMineMap.serverProperties.motd =
|
||||
serverMotd;
|
||||
|
||||
networking.firewall.allowedUDPPorts = [ 36575 ];
|
||||
|
||||
services.minecraft-backups.servers.wowMineMap.announcementCommand =
|
||||
pkgs.writeShellScript "wowmine-backup-announce" ''
|
||||
set -eu
|
||||
@@ -62,6 +72,10 @@ in
|
||||
"${serverDir}/mods/wowmine-world-policy.jar"
|
||||
${pkgs.coreutils}/bin/install -Dm444 \
|
||||
${sleepTimeSkip} "${serverDir}/mods/wowmine-sleep-time-skip.jar"
|
||||
${pkgs.coreutils}/bin/install -Dm444 \
|
||||
${voiceChat} "${serverDir}/mods/wowmine-simple-voice-chat.jar"
|
||||
${pkgs.coreutils}/bin/install -Dm444 \
|
||||
${voiceMessages} "${serverDir}/mods/wowmine-voice-messages.jar"
|
||||
${pkgs.coreutils}/bin/cp -rT --no-preserve=mode \
|
||||
${./wowmine-server-config} "${serverDir}/config"
|
||||
${pkgs.coreutils}/bin/mkdir -p "${serverDir}/world/datapacks/wowmine-rules"
|
||||
|
||||
Reference in New Issue
Block a user