This commit is contained in:
+2
-5
@@ -2,12 +2,9 @@ FROM alpine:3.19
|
|||||||
|
|
||||||
WORKDIR /server
|
WORKDIR /server
|
||||||
|
|
||||||
COPY server.properties .
|
COPY server/ ./server/
|
||||||
COPY --chmod=755 entrypoint.sh .
|
|
||||||
|
|
||||||
RUN apk add --no-cache openjdk17-jre wget vim
|
RUN apk add --no-cache openjdk17-jre vim
|
||||||
|
|
||||||
RUN wget -O server.jar https://github.com/Better-than-Adventure/bta-download-repo/releases/download/v7.3_04/bta.v7.3_04.server.jar
|
|
||||||
|
|
||||||
VOLUME ["/server/world"]
|
VOLUME ["/server/world"]
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
exec java -Xms${JAVA_MIN_MEM} -Xmx${JAVA_MAX_MEM} -jar /server/server.jar
|
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
java -Dfabric.runtimeMappingNamespace=official -Xms${JAVA_MIN_MEM} -Xmx${JAVA_MAX_MEM} -jar /server/fabric-server-launch.jar
|
||||||
Binary file not shown.
@@ -0,0 +1,2 @@
|
|||||||
|
#Sat Aug 12 17:40:53 CEST 2023
|
||||||
|
serverJar=server.jar
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,13 @@
|
|||||||
|
log4j.appender.file=org.apache.log4j.rolling.RollingFileAppender
|
||||||
|
log4j.appender.file.layout=org.apache.log4j.PatternLayout
|
||||||
|
log4j.appender.file.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1} - %m%n
|
||||||
|
log4j.appender.file.rollingPolicy=org.apache.log4j.rolling.TimeBasedRollingPolicy
|
||||||
|
log4j.appender.file.rollingPolicy.FileNamePattern=./logs/%d{yyyy-MM-dd}.log
|
||||||
|
log4j.appender.file.rollingPolicy.ActiveFileName=./logs/latest.log
|
||||||
|
|
||||||
|
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
|
||||||
|
log4j.appender.stdout.Target=System.out
|
||||||
|
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
|
||||||
|
log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1} - %m%n
|
||||||
|
|
||||||
|
log4j.logger.Minecraft=DEBUG, file, stdout
|
||||||
Binary file not shown.
Binary file not shown.
@@ -1,20 +1,19 @@
|
|||||||
#Minecraft server properties
|
#Minecraft server properties
|
||||||
#Fri Mar 06 15:17:05 UTC 2026
|
#Mon Aug 28 19:09:22 CEST 2023
|
||||||
default-gamemode=survival
|
default-gamemode=survival
|
||||||
view-distance=12
|
view-distance=12
|
||||||
language=en_US
|
language=en_US
|
||||||
uuid-service=https\://api.minecraftservices.com/minecraft/profile/lookup/name/%s
|
uuid-service=https://api.minecraftservices.com/minecraft/profile/lookup/name/%s
|
||||||
server-ip=
|
server-ip=
|
||||||
stats-token=only-enter-a-value-if-you-are-a-registered-server
|
stats-token=only-enter-a-value-if-you-are-a-registered-server
|
||||||
forceSaveAllChunksOnAutosave=false
|
forceSaveAllChunksOnAutosave=false
|
||||||
level-seed=
|
level-seed=
|
||||||
server-port=25565
|
server-port=25565
|
||||||
allow-nether=true
|
allow-nether=true
|
||||||
sleep-percentage=0
|
sleep-percentage=51
|
||||||
autosaveInterval=5
|
autosaveInterval=5
|
||||||
login-timeout-time=90000
|
login-timeout-time=90000
|
||||||
world-type=minecraft\:overworld.extended
|
world-type=minecraft:overworld.default
|
||||||
join-message=
|
|
||||||
allow-paradise=false
|
allow-paradise=false
|
||||||
level-name=world
|
level-name=world
|
||||||
motd=BakaLand!
|
motd=BakaLand!
|
||||||
@@ -24,11 +23,12 @@ enable-item-clumping=true
|
|||||||
spawn-animals=true
|
spawn-animals=true
|
||||||
difficulty=3
|
difficulty=3
|
||||||
disable-photomode=false
|
disable-photomode=false
|
||||||
spawn-monsters=true
|
|
||||||
summon-limit=10
|
summon-limit=10
|
||||||
|
spawn-monsters=true
|
||||||
max-players=20
|
max-players=20
|
||||||
maxChunksSavedPerAutosave=24
|
maxChunksSavedPerAutosave=24
|
||||||
spawn-protection=1
|
spawn-protection=1
|
||||||
online-mode=true
|
online-mode=true
|
||||||
packet-delay=1
|
packet-delay=1
|
||||||
allow-flight=false
|
allow-flight=false
|
||||||
|
join-message=Have fun!
|
||||||
Reference in New Issue
Block a user