This commit is contained in:
kento2 2026-08-21 17:54:37 +02:00
parent d6e4cae9c6
commit 76fb1ca699
51 changed files with 33 additions and 11 deletions

View file

@ -1,3 +0,0 @@
FROM git.lab0x13.site/scrow/papermc:0.2
COPY ./world /data/world

View file

@ -1,3 +0,0 @@
include ../container.mk
TAG := lobby
VERSION := 0.2

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

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.

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.

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.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1 +0,0 @@
þ)˜õbÝMΚo%óò{EÏ

View file

@ -21,8 +21,29 @@ COPY --chmod=755 entrypoint.sh /entrypoint.sh
COPY ./server.properties /data
RUN mkdir -p /data/config
COPY ./paper-global.yml /data/config
COPY ./ops.json /data
RUN printf eula=true > eula.txt
RUN java -jar server.jar --initSettings
RUN java -Xms3072M -Xmx3072M --add-modules=jdk.incubator.vector -XX:+UseG1GC \
-XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 \
-XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch \
-XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 \
-XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 \
-XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 \
-XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 \
-Dusing.aikars.flags=https://mcflags.emc.gs \-Daikars.new.flags=true \
-XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M \
-XX:G1ReservePercent=20 -jar server.jar --nogui --initSettings
ENTRYPOINT ["/entrypoint.sh"]
CMD ["java", "-jar", "server.jar", "--nogui"]
CMD ["java", "-Xms3072M", "-Xmx3072M", "--add-modules=jdk.incubator.vector", \
"-XX:+UseG1GC", "-XX:+ParallelRefProcEnabled", "-XX:MaxGCPauseMillis=200", \
"-XX:+UnlockExperimentalVMOptions", "-XX:+DisableExplicitGC", \
"-XX:+AlwaysPreTouch", "-XX:G1HeapWastePercent=5", "-XX:G1MixedGCCountTarget=4", \
"-XX:InitiatingHeapOccupancyPercent=15", "-XX:G1MixedGCLiveThresholdPercent=90", \
"-XX:G1RSetUpdatingPauseTimePercent=5", "-XX:SurvivorRatio=32", \
"-XX:+PerfDisableSharedMem", "-XX:MaxTenuringThreshold=1", \
"-Dusing.aikars.flags=https://mcflags.emc.gs", "-Daikars.new.flags=true", \
"-XX:G1NewSizePercent=30", "-XX:G1MaxNewSizePercent=40", \
"-XX:G1HeapRegionSize=8M", "-XX:G1ReservePercent=20", \
"-jar", "server.jar", "--nogui"]

8
images/papermc/ops.json Normal file
View file

@ -0,0 +1,8 @@
[
{
"uuid": "3218c49a-b80d-49ae-a42e-4496141eb2b1",
"name": "kento2",
"level": 4,
"bypassesPlayerLimit": false
}
]