added Makefile and remaining build infrastructure
This commit is contained in:
3
scripts/eula.txt.template
Normal file
3
scripts/eula.txt.template
Normal file
@@ -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
|
||||
1
scripts/launch.bat.template
Normal file
1
scripts/launch.bat.template
Normal file
@@ -0,0 +1 @@
|
||||
java -Xmx4G -XX:MaxPermSize=256m -jar @FORGEJAR@
|
||||
6
scripts/launch.sh.template
Normal file
6
scripts/launch.sh.template
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
MEMSZ=4G
|
||||
PERMSZ=256m
|
||||
FORGEJAR=@FORGEJAR@
|
||||
|
||||
exec java -Xmx$MEMSZ -XX:MaxPermSize=$PERMSZ -jar $FORGEJAR
|
||||
17
scripts/list-mods
Executable file
17
scripts/list-mods
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/perl
|
||||
# list-mods - Lists out the contents of the modlist.txt to just show the mod JAR names.
|
||||
# AGRB 1/24/2023
|
||||
|
||||
die "Usage: $0 directory-name\n" if $#ARGV < 0;
|
||||
my $dir = $ARGV[0];
|
||||
die "$0: $dir is not a directory\n" unless -d $dir;
|
||||
die "$0: $dir does not contain a modlist.txt\n" unless -f "$dir/modlist.txt";
|
||||
open MODLIST, "<$dir/modlist.txt" or die "$0: unable to open $dir/modlist.txt";
|
||||
while (<MODLIST>) {
|
||||
chomp;
|
||||
next if /^\s*#/;
|
||||
($modjar, $url) = split(/\|/);
|
||||
print "$modjar\n"
|
||||
}
|
||||
close MODLIST;
|
||||
exit 0;
|
||||
33
scripts/server.properties.template
Normal file
33
scripts/server.properties.template
Normal file
@@ -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 Sierra @VERSION@ Server
|
||||
Reference in New Issue
Block a user