Skip to content

docs: design specs, architecture diagram, setup guide, server-ctl script - #28

Open
shiftySenpai wants to merge 3 commits into
splunk:developfrom
shiftySenpai:pr5-docs
Open

docs: design specs, architecture diagram, setup guide, server-ctl script#28
shiftySenpai wants to merge 3 commits into
splunk:developfrom
shiftySenpai:pr5-docs

Conversation

@shiftySenpai

Copy link
Copy Markdown

Summary

Split out of #23 (docs slice). No code changes — safe to review/merge independently of the other 4.

  • Adds the original design spec + implementation plan docs for the extended-logging/dependency-modernization work.
  • README.md: adds an Architecture section (Mermaid diagram of the HEC vs KV-store write paths) and a platform support matrix (which MC version(s)/logging categories each of Spigot/Paper/Forge/NeoForge/Fabric implements), and fixes a wrong path in the player-stats section (world/players/stats/<uuid>.json -> world/stats/<uuid>.json).
  • MINECRAFT_SETUP.md: reorganized so prerequisites (Splunk HEC/index/KV-token, then JDK/Maven/platform-version matrix) come before instructions.
  • Adds minecraft-server-ctl.sh: a tmux-based start/stop/restart/status/console script replacing the old foreground-only launcher.

Test plan

  • Docs only, no build impact

Part of the #23 split.

README.md: add an Architecture section (Mermaid diagram of the HEC vs
KV-store write paths) and a platform support matrix (which MC version(s)
and which logging categories each of Spigot/Paper/Forge/NeoForge/Fabric
actually implements) so it's clear up front that NeoForge/Fabric are
block/death/player only. Also fixes a wrong path in the player-stats
section (world/players/stats/<uuid>.json -> world/stats/<uuid>.json --
that's actually where vanilla Minecraft writes per-player stats).

MINECRAFT_SETUP.md: reorganized so all prerequisites (Splunk HEC/index/
KV-token, then Minecraft JDK/Maven/platform-version matrix) come before
any instructions, replacing the old structure where you'd discover a
missing requirement mid-setup.

Adds minecraft-server-ctl.sh: a single start/stop/restart/status/console
script driving the server inside a detached tmux session, replacing the
old run_minecraft.sh foreground-only launcher. The stop path specifically
avoids a footgun hit while testing this branch: once the server process
exits, its pane sits at a shell prompt ("Press any key to close..."), and
sending one more keystroke into that pane can consume the prompt and kill
the entire tmux session (not just the Minecraft process) if it's the
session's only window. This script polls for the java process to actually
exit and then kills the tmux session directly, never sending a second
keystroke into the pane.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant