First commit
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
## Send commands to the neoforge server as if in the server console
|
||||
#
|
||||
# Example usage:
|
||||
# ./cm give pizza2d1 minecraft:oak_log 1
|
||||
|
||||
command=()
|
||||
while [[ ! -z "${1}" ]]; do
|
||||
command+=("${1}")
|
||||
shift
|
||||
done
|
||||
sudo docker exec -i neoforge_server rcon-cli "${command[@]}"
|
||||
@@ -0,0 +1,14 @@
|
||||
services:
|
||||
mc:
|
||||
container_name: neoforge_server
|
||||
image: itzg/minecraft-server
|
||||
environment:
|
||||
EULA: true
|
||||
TYPE: NEOFORGE
|
||||
VERSION: 1.21.1
|
||||
NEOFORGE_VERSION: latest
|
||||
ports:
|
||||
- "7777:7777" # Replace with game ports
|
||||
#- "9987:9987/udp" # For voicemod (optional)
|
||||
volumes:
|
||||
- ./mc:/data
|
||||
@@ -0,0 +1 @@
|
||||
{"@type":"me.itzg.helpers.forge.ForgeManifest","timestamp":"2026-08-03T17:07:47.063667021Z","files":null,"minecraftVersion":"1.21.1","forgeVersion":"21.1.248","serverEntry":"run.sh"}
|
||||
@@ -0,0 +1 @@
|
||||
password=16ef9ac8c52e0d26e272cef8
|
||||
@@ -0,0 +1 @@
|
||||
password: "16ef9ac8c52e0d26e272cef8"
|
||||
@@ -0,0 +1,4 @@
|
||||
SERVER="run.sh"
|
||||
FAMILY="FORGE"
|
||||
VERSION="1.21.1"
|
||||
TYPE="NEOFORGE"
|
||||
Reference in New Issue
Block a user