Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
python-version: "3.9"

- name: Check shell syntax
run: bash -n paperscript.sh tests/live-smoke.sh
run: bash -n paperscript.sh 1MB-minecraft.sh tests/live-smoke.sh

- name: Check Python syntax
run: python -m py_compile paperscript/paperscript.py tests/test_paperscript.py
run: python -m py_compile paperscript/paperscript.py tests/test_paperscript.py tests/test_1mb_minecraft.py

- name: Run unit tests
run: python -m unittest discover -s tests -p "test_*.py" -v
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ state.json
paperscript/backups/
paperscript/downloads/
paperscript/cache/
paperscript/locks/
paperscript/logs.log
paperscript/config.json
paperscript/state.json
Expand Down
596 changes: 596 additions & 0 deletions 1MB-minecraft.sh

Large diffs are not rendered by default.

297 changes: 178 additions & 119 deletions README.md

Large diffs are not rendered by default.

8 changes: 3 additions & 5 deletions paperscript/config.example.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@
"tmux_session": "mcserver",
"default_channel": "STABLE",
"check_latest_channel_only": "STABLE",
"allow_cross_version_auto_upgrade": false,
"allow_same_version_build_upgrade": true,
"keep_backups": 10,
"cleanup_backups_after_install": true,
"running_server_action": "ask",
"graceful_stop_command": "stop",
"keep_server_jars": 2,
"keep_archived_jars": 5,
"reconcile_server_jars_after_stage": true,
"http_timeout_seconds": 30,
"status_show_all_channels": true,
"download_filename_pattern": "Paper-{version}-{build}.jar",
"log_file": "logs.log",
"backup_dir": "backups",
"downloads_dir": "downloads",
Expand Down
Loading