This commit is contained in:
magmaus3 2024-09-07 19:19:20 +02:00
commit ef0bd3757b
Signed by: magmaus3
GPG key ID: 84BC6F564FD017BE
7 changed files with 70 additions and 0 deletions

5
.dockerignore Normal file
View file

@ -0,0 +1,5 @@
.dockerignore
.git
.gitignore
Dockerfile
server/

3
.gitattributes vendored Normal file
View file

@ -0,0 +1,3 @@
# mcman: use lfs for worlds
**/worlds/*.zip filter=lfs diff=lfs merge=lfs -text

7
.gitignore vendored Normal file
View file

@ -0,0 +1,7 @@
# mcman: Exclude mcman build outputs
**/server
# mcman: Exclude exported mrpacks
*.mrpack
# mcman: Exclude local dotenv files
**/.env

10
Dockerfile Normal file
View file

@ -0,0 +1,10 @@
FROM ghcr.io/paradigmmc/mcman:latest as builder
WORKDIR /server
COPY . .
RUN mcman build
FROM eclipse-temurin:17-alpine
USER 1000:1000
WORKDIR /server
COPY --from=builder --chown=1000:1000 /server/server/ /server
ENTRYPOINT [ "/server/start.sh" ]

13
README.md Normal file
View file

@ -0,0 +1,13 @@
# dynmap-honeypot
[![mcman badge](https://img.shields.io/badge/uses-mcman-purple?logo=github)](https://github.com/ParadigmMC/mcman)
<!-- run 'mcman md' to update! -->
<!--start:mcman-server-->
<!--end:mcman-server-->
## Plugins
<!--start:mcman-addons-->
<!--end:mcman-addons-->

6
config/server.properties Normal file
View file

@ -0,0 +1,6 @@
server-port=${PORT:25567}
motd=${SERVER_NAME:A Minecraft Server}
level-type=flat
generator-settings={"layers": [], "biome": "minecraft:the_void"}
simulation-distance=0
view-distance=0

26
server.toml Normal file
View file

@ -0,0 +1,26 @@
name = "dynmap-honeypot"
mc_version = "1.21.1"
[jar]
type = "paper"
[variables]
PORT = "25567"
[launcher]
eula_args = true
nogui = true
memory = '2G'
[markdown]
files = ["README.md"]
auto_update = false
[options]
success_line = ""
stop_command = ""
[[plugins]]
type = "mr"
id = "dynmap"
version = "AdtrWcU2"