From a20a83f0390a097effbaa06a82c039ca8ea187fa Mon Sep 17 00:00:00 2001 From: "Eric J. Bowersox" Date: Tue, 17 Nov 2015 18:16:09 -0700 Subject: [PATCH] First attempt at building a server pack Upgraded Forge to 10.13.4.1558; added the Forge Installer to set up the basic server directory; added templates for certain server config files; set up makefile rules for building the server pack --- CHANGELOG | 3 +++ Makefile | 26 ++++++++++++++++-- mods-source/forge/modlist.txt | 3 ++- scripts/eula.txt.template | 3 +++ scripts/launch.bat.template | 1 + scripts/launch.sh.template | 6 +++++ scripts/server.properties.template | 33 +++++++++++++++++++++++ technicpack-resources/overview.markup.txt | 2 +- 8 files changed, 73 insertions(+), 4 deletions(-) create mode 100644 scripts/eula.txt.template create mode 100644 scripts/launch.bat.template create mode 100644 scripts/launch.sh.template create mode 100644 scripts/server.properties.template diff --git a/CHANGELOG b/CHANGELOG index 269bfdc..dfdda2b 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +NEWVERSION - DATE +- Upgraded Forge to 10.13.4.1558. + Version 0.03 - 9-Nov-2015 - Factorization: Disable Colossi. - Added PowerConverters. diff --git a/Makefile b/Makefile index eed1d07..4374974 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,11 @@ # Makefile for Erbosoft Vista modpack -# EJB 11/5/2015 +# EJB 11/17/2015 VERSION=0.03 -FORGEMOD=forge-1.7.10-10.13.4.1448-1.7.10-universal.jar +FORGEMOD=forge-1.7.10-10.13.4.1558-1.7.10-universal.jar +FORGEINSTALLER=forge-1.7.10-10.13.4.1558-1.7.10-installer.jar + +all: client-modpack server-pack client-modpack: verify-mods mkdir -p build/client @@ -19,6 +22,25 @@ client-modpack: verify-mods -rm -f build/erbosoft-vista-${VERSION}.zip cd build/client; zip -r ../erbosoft-vista-${VERSION}.zip . +server-pack: verify-mods + mkdir -p build/server + -rm -rf build/server/* + cp mods-source/forge/${FORGEINSTALLER} build/server + cd build/server; java -jar ./${FORGEINSTALLER} -installServer + rm -f build/server/${FORGEINSTALLER}* + mkdir build/server/config + mkdir build/server/mods + cp mods-source/server/*.jar build/server/mods + cp -r config-source/* build/server/config + sed -e 's/@FORGEJAR@/${FORGEMOD}/' scripts/launch.sh.template > build/server/launch.sh + chmod 755 build/server/launch.sh + sed -e 's/@FORGEJAR@/${FORGEMOD}/' scripts/launch.bat.template > build/server/launch.bat + unix2dos build/server/launch.bat + cp scripts/eula.txt.template build/server/eula.txt + sed -e 's/@VERSION@/${VERSION}/' scripts/server.properties.template > build/server/server.properties + -rm -f build/erbosoft-vista-server-${VERSION}.zip + cd build/server; zip -r ../erbosoft-vista-server-${VERSION}.zip . + verify-mods: scripts/verify-mod-downloads mods-source/forge scripts/verify-mod-downloads mods-source/server diff --git a/mods-source/forge/modlist.txt b/mods-source/forge/modlist.txt index 5dbae54..32da47f 100644 --- a/mods-source/forge/modlist.txt +++ b/mods-source/forge/modlist.txt @@ -1 +1,2 @@ -forge-1.7.10-10.13.4.1448-1.7.10-universal.jar|http://files.minecraftforge.net/ +forge-1.7.10-10.13.4.1558-1.7.10-installer.jar|http://files.minecraftforge.net/ +forge-1.7.10-10.13.4.1558-1.7.10-universal.jar|http://files.minecraftforge.net/ diff --git a/scripts/eula.txt.template b/scripts/eula.txt.template new file mode 100644 index 0000000..1d91214 --- /dev/null +++ b/scripts/eula.txt.template @@ -0,0 +1,3 @@ +#By changing the setting below to TRUE you are indicating your agreement to our EULA (https://account.mojang.com/documents/minecraft_eula). +#Tue Nov 17 17:47:41 MST 2015 +eula=true diff --git a/scripts/launch.bat.template b/scripts/launch.bat.template new file mode 100644 index 0000000..c5c6399 --- /dev/null +++ b/scripts/launch.bat.template @@ -0,0 +1 @@ +java -Xmx2G -XX:MaxPermSize=256m -jar @FORGEJAR@ \ No newline at end of file diff --git a/scripts/launch.sh.template b/scripts/launch.sh.template new file mode 100644 index 0000000..a09b61a --- /dev/null +++ b/scripts/launch.sh.template @@ -0,0 +1,6 @@ +#!/bin/sh +MEMSZ=2G +PERMSZ=256m +FORGEJAR=@FORGEJAR@ + +exec java -Xmx$MEMSZ -XX:MaxPermSize=$PERMSZ -jar $FORGEJAR diff --git a/scripts/server.properties.template b/scripts/server.properties.template new file mode 100644 index 0000000..81cd7f9 --- /dev/null +++ b/scripts/server.properties.template @@ -0,0 +1,33 @@ +#Minecraft server properties +#Tue Nov 17 17:51:25 MST 2015 +generator-settings= +op-permission-level=4 +allow-nether=true +level-name=world +enable-query=false +allow-flight=false +announce-player-achievements=true +server-port=25565 +level-type=DEFAULT +enable-rcon=false +level-seed= +force-gamemode=false +server-ip= +max-build-height=256 +spawn-npcs=true +white-list=false +spawn-animals=true +hardcore=false +snooper-enabled=true +online-mode=true +resource-pack= +pvp=true +difficulty=1 +enable-command-block=false +gamemode=0 +player-idle-timeout=0 +max-players=20 +spawn-monsters=true +generate-structures=true +view-distance=10 +motd=Erbosoft Vista @VERSION@ Server diff --git a/technicpack-resources/overview.markup.txt b/technicpack-resources/overview.markup.txt index 2a6f720..8f081fe 100644 --- a/technicpack-resources/overview.markup.txt +++ b/technicpack-resources/overview.markup.txt @@ -3,7 +3,7 @@ The original Erbosoft modpack was designed for Erbo's personal server, running on a 1.6 version of Minecraft. This server supported play with our godsons. We updated to version 1.7.2 with the Erbosoft Plus! pack. This new pack is a rebuild of that pack for 1.7.10, with a few additional mods added and some that were available in the original pack but not in Erbosoft Plus! making a reappearance. Users of this modpack include Erbo and Phoenix, their godchildren, their godchildren's mother, and members of Phoenix's gaming clan (Iron Rain Elite Squad, or IRES). [u][b]List of mods in this pack:[/b][/u] -Forge Universal 10.13.4.1448 +Forge Universal 10.13.4.1558 Advanced Machines 59.0.2 Advanced Repulsion Systems 59.0.3 Applied Energistics rv2-stable-10