diff --git a/minecraft-2/.env b/minecraft-2/.env new file mode 100644 index 0000000..5deec1f --- /dev/null +++ b/minecraft-2/.env @@ -0,0 +1,50 @@ +ALLOW_FLIGHT=true +ALLOW_NETHER=true +ANNOUNCE_PLAYER_ACHIEVEMENTS=true +BROADCAST_CONSOLE_TO_OPS=true +BROADCAST_RCON_TO_OPS=true +CONSOLE=false +ENABLE_AUTOPAUSE=true +ENABLE_COMMAND_BLOCK=true +ENABLE_JMX=false +ENABLE_RCON=true +ENABLE_STATUS=true +ENABLE_WHITELIST=true +ENFORCE_WHITELIST=true +ENTITY_BROADCAST_RANGE_PERCENTAGE=100 +EULA=true +FORCE_GAMEMODE=false +FUNCTION_PERMISSION_LEVEL=2 +GENERATE_STRUCTURES=true +HARDCORDE=false +ICON= +LEVEL_TYPE=DEFAULT +MAX_BUILD_HEIGHT=512 +MAX_MEMORY=4G +MAX_TICK_TIME=-1 +MAX_PLAYERS=64 +MAX_WORLD_SIZE=30000000 +MODE=survival +MOTD= +NETWORK_COMPRESSION_THRESHOLD=256 +PVP=true +SERVER_NAME=minecraft.serguzim.me +SNOOPER_ENABLED=false +SPAWN_ANIMALS=true +SPAWN_MONSTERS=true +SPAWN_NPCS=true +SPAWN_PROTECTION=0 +SYNC_CHUNK_WRITES=true +TYPE=PAPER +ONLINE_MODE=true +OP_PERMISSION_LEVEL=4 +OPS=_Jmie,Serguzim +OVERRIDE_ICON=true +OVERRIDE_SERVER_PROPERTIES=true +PLAYER_IDLE_TIMEOUT=0 +PREVENT_PROXY_CONNECTIONS=false +SEED=jmie2023 +USE_NATIVE_TRANSPORT=true +VERSION=LATEST +VIEW_DISTANCE=10 +WHITELIST=_Jmie,Serguzim diff --git a/minecraft-2/docker-compose.yml b/minecraft-2/docker-compose.yml new file mode 100644 index 0000000..a792704 --- /dev/null +++ b/minecraft-2/docker-compose.yml @@ -0,0 +1,15 @@ +version: '3.2' + +services: + minecraft: + ports: + - "25565:25565" + volumes: + - data:/data + env_file: + - .env + image: itzg/minecraft-server + restart: always + +volumes: + data: