parent
df2b7a63d8
commit
cd7669a9c6
@ -1,12 +1,14 @@
|
||||
FROM ubuntu:18.04
|
||||
MAINTAINER aurel1on
|
||||
RUN apt-get update && apt-get install -y default-jdk && apt-get install -y default-jre && apt-get install -y libc6-x32 libc6-i386 wget
|
||||
COPY ./scripts ./scripts
|
||||
COPY ./work ./work
|
||||
RUN apt-get update && apt-get install -y default-jdk default-jre libc6-x32 libc6-i386 wget sudo git
|
||||
RUN wget https://download.oracle.com/java/18/latest/jdk-18_linux-x64_bin.deb -O java-18.deb && dpkg -i java-18.deb
|
||||
RUN wget https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar -O mineserver.jar
|
||||
RUN chmod +x /scripts/start-tools.sh && ./scripts/start-tools.sh
|
||||
RUN chmod +x /scripts/start-server.sh && ./scripts/start-server.sh
|
||||
RUN sed -i 's/false/true/g' eula.txt $$ ./scripts/start-server.sh
|
||||
RUN wget https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar -O mines$RUN chmod +x /scripts/start-tools.sh && bash /scripts/start-tools.sh
|
||||
RUN chmod +x /scripts/start-server.sh && bash /scripts/start-server.sh
|
||||
RUN sed -i 's/false/true/g' /work/eula.txt
|
||||
CMD bash /scripts/start-server.sh
|
||||
|
||||
|
||||
|
||||
# docker run -p25565:25565
|
||||
# docker run -p25565:25565
|
||||
|
@ -1,20 +0,0 @@
|
||||
FROM ubuntu:18.04
|
||||
MAINTAINER aurel1on
|
||||
RUN apt-get update && apt-get install -y default-jdk default-jre libc6-x32 libc6-i386 wget sudo git
|
||||
RUN wget https://download.oracle.com/java/18/latest/jdk-18_linux-x64_bin.deb -O java-18.deb && dpkg -i java-18.deb
|
||||
RUN wget https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar -O mineserver.jar
|
||||
RUN chmod +x /scripts/start-tools.sh && ./scripts/start-tools.sh
|
||||
RUN chmod +x /scripts/start-server.sh && ./scripts/start-server.sh
|
||||
RUN sed -i 's/false/true/g' eula.txt $$ ./scripts/start-server.sh
|
||||
|
||||
|
||||
|
||||
# docker run -p25565:25565
|
||||
#FROM ubuntu:18.04
|
||||
#MAINTAINER aurel1on
|
||||
##COPY ./scripts ./scripts
|
||||
#RUN apt-get update && apt-get install -y default-jdk default-jre libc6-x32 libc6-i386 wget sudo git
|
||||
#RUN wget https://download.oracle.com/java/18/latest/jdk-18_linux-x64_bin.deb -O java-18.deb && dpkg -i java-18.deb
|
||||
#RUN wget https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar -O mine$RUN chmod +x /scripts/start-tools.sh && bash /scripts/start-tools.sh
|
||||
##RUN chmod +x /scripts/start-server.sh && bash /scripts/start-server.sh
|
||||
#CMD sed -i 's/false/true/g' work/eula.txt $$ bash /scripts/start-server.sh
|
@ -0,0 +1,57 @@
|
||||
#Minecraft server properties
|
||||
#Wed Aug 17 12:44:31 UTC 2022
|
||||
allow-flight=false
|
||||
allow-nether=true
|
||||
broadcast-console-to-ops=true
|
||||
broadcast-rcon-to-ops=true
|
||||
difficulty=medium
|
||||
enable-command-block=false
|
||||
enable-jmx-monitoring=false
|
||||
enable-query=false
|
||||
enable-rcon=false
|
||||
enable-status=true
|
||||
enforce-secure-profile=true
|
||||
enforce-whitelist=false
|
||||
entity-broadcast-range-percentage=100
|
||||
force-gamemode=false
|
||||
function-permission-level=2
|
||||
gamemode=survival
|
||||
generate-structures=true
|
||||
generator-settings={}
|
||||
hardcore=false
|
||||
hide-online-players=false
|
||||
level-name=world
|
||||
level-seed=
|
||||
level-type=minecraft\:normal
|
||||
max-chained-neighbor-updates=1000000
|
||||
max-players=8
|
||||
max-tick-time=60000
|
||||
max-world-size=29999984
|
||||
motd=PoridgeClub Vanila
|
||||
network-compression-threshold=256
|
||||
online-mode=false
|
||||
op-permission-level=4
|
||||
player-idle-timeout=0
|
||||
prevent-proxy-connections=false
|
||||
previews-chat=false
|
||||
pvp=true
|
||||
query.port=25565
|
||||
rate-limit=0
|
||||
rcon.password=
|
||||
rcon.port=25575
|
||||
require-resource-pack=false
|
||||
resource-pack=
|
||||
resource-pack-prompt=
|
||||
resource-pack-sha1=
|
||||
server-ip=
|
||||
server-port=25565
|
||||
simulation-distance=10
|
||||
spawn-animals=true
|
||||
spawn-monsters=true
|
||||
spawn-npcs=true
|
||||
spawn-protection=16
|
||||
sync-chunk-writes=true
|
||||
text-filtering-config=
|
||||
use-native-transport=true
|
||||
view-distance=10
|
||||
white-list=false
|
Loading…
Reference in new issue