TCP client and bootstrap tooling for MineCombat-Evaluation (Minecraft combat benchmarks)
Project description
MineCombat-Evaluation
Paper plugin + TCP JSON protocol for combat-survival benchmarks on Minecraft 26.1 (Paper 26.1.2, plugin 0.1.0-SNAPSHOT, protocol 1).
Quick start
cp .env.example .env # JAVA_21, JAVA_25, SERVER
python3 -m venv .venv && source .venv/bin/activate
pip install -e . # CLI + versioned world artifact (5.5 MB zip in package)
minecombat-eval bootstrap # Paper + plugin + mcbench_flat-v1 + config
minecombat-eval server start # join localhost, then:
minecombat-eval run-suite l1-v1 -o results/l1-v1-ref.jsonl
Docker: docker compose up --build → join :25565 → minecombat-eval run-suite l1-v1 --port 8765
Full path: planning/run-benchmark.md · World artifact: artifacts/README.md
Releases (PyPI + GitHub)
Tagging v* now triggers .github/workflows/release.yml, which:
- builds Python wheel + sdist
- publishes
minecombat-evalto PyPI - creates a GitHub Release with:
- wheel + sdist
- world artifact zip (
mcbench_flat-v1.zip) manifest.jsonSHA256SUMS.txt
One-time repository setup
- Configure trusted publishing for PyPI project
minecombat-eval(recommended), or setPYPI_API_TOKENif you prefer token mode. - Ensure the GitHub Actions environment named
pypiexists and is allowed for release workflow.
Brand Assets
- Prompt pack for polished banners/icon:
assets/branding-prompts.md - Generated files should live under
assets/(e.g.minecombat-banner-hero.png,minecombat-icon.png)
Scripts
From repo root (loads .env):
| Script | Purpose |
|---|---|
./scripts/run-gradle.sh … |
Build plugin (JDK 21) |
./scripts/run-paper.sh |
Start Paper (JDK 25) |
./scripts/sync-config.sh |
Copy repo config.yml → server (restart Paper after) |
python3 scripts/summarize_results.py |
JSONL → tables / CSV |
JAR output: paper-plugin/build/libs/minecombat-evaluation-0.1.0-SNAPSHOT.jar
.env example
JAVA_21=/path/to/temurin-21/Contents/Home
JAVA_25=/path/to/temurin-25/Contents/Home
SERVER=$HOME/minecraft-paper-mcbench
World: mcbench_flat (level-name in server.properties). L2 arenas are not generated from config — see planning/world-setup.md.
Python eval
Requires Paper + plugin + one player online. Stdlib only (Python 3.10+).
python3 run_eval.py --scenario ZombieRoom-v0 --episodes 3 --seed-base 0
python3 run_suite.py --suite benchmarks/l1-v1/suite.json -o results/l1-v1.jsonl
Flags and scenario ids: planning/commands-and-scenarios.md. Custom policies: planning/agent-integration.md.
Official baseline: ReferenceCombatPolicy (minecombat_eval/reference_policy.py).
Eval logs (episodes.jsonl, results/) are gitignored.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file minecombat_eval-0.2.0.tar.gz.
File metadata
- Download URL: minecombat_eval-0.2.0.tar.gz
- Upload date:
- Size: 5.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2b96eccf15bbd7fcdb9b7f058eee470dc2a5c662cb653eeddeb971ba0e212bc
|
|
| MD5 |
8981936ba34906a852b5002b50ce506a
|
|
| BLAKE2b-256 |
c74fdd66add5a7ae993a7ffea1d7fcf42a5963342e9e482c7ac317af582c27ef
|
Provenance
The following attestation bundles were made for minecombat_eval-0.2.0.tar.gz:
Publisher:
release.yml on SamC1249/MineCombat-Evaluation
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
minecombat_eval-0.2.0.tar.gz -
Subject digest:
d2b96eccf15bbd7fcdb9b7f058eee470dc2a5c662cb653eeddeb971ba0e212bc - Sigstore transparency entry: 1701990333
- Sigstore integration time:
-
Permalink:
SamC1249/MineCombat-Evaluation@d776a6fd24eeca16f6c490618fb0cc137d672c73 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/SamC1249
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d776a6fd24eeca16f6c490618fb0cc137d672c73 -
Trigger Event:
push
-
Statement type:
File details
Details for the file minecombat_eval-0.2.0-py3-none-any.whl.
File metadata
- Download URL: minecombat_eval-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9f414f7b57d7add4acf01d43337afd34d6725b37f7c8c0ccb57e2e1b8accf45
|
|
| MD5 |
b47adacf3defbd9f45f19ea9ff64a22f
|
|
| BLAKE2b-256 |
9445a9500d1209e5f6e10a6678c07c4a72768eeeb67aec8d68d7d8b345ff5646
|
Provenance
The following attestation bundles were made for minecombat_eval-0.2.0-py3-none-any.whl:
Publisher:
release.yml on SamC1249/MineCombat-Evaluation
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
minecombat_eval-0.2.0-py3-none-any.whl -
Subject digest:
b9f414f7b57d7add4acf01d43337afd34d6725b37f7c8c0ccb57e2e1b8accf45 - Sigstore transparency entry: 1701990339
- Sigstore integration time:
-
Permalink:
SamC1249/MineCombat-Evaluation@d776a6fd24eeca16f6c490618fb0cc137d672c73 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/SamC1249
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d776a6fd24eeca16f6c490618fb0cc137d672c73 -
Trigger Event:
push
-
Statement type: