- export_presets.cfg: ajout preset.1 Linux Server (dedicated_server=true, embed_pck=true, x86_64) - builds/DauphinCraftServer.x86_64: binaire serveur Linux 76MB - builds/run_server.sh: launcher avec port configurable - deploy/: dauphincraft.service (systemd) + install.sh (VM setup) - deploy_package/: tarball + scripts prêts à transférer sur VM - Rebuild client Windows inclus (DauphinCraft.exe 100MB, exit 0) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
10 lines
236 B
Bash
10 lines
236 B
Bash
#!/bin/bash
|
|
# DauphinCraft Dedicated Server Launcher
|
|
# Usage: ./run_server.sh [port]
|
|
|
|
PORT="${1:-7777}"
|
|
BINARY_DIR="$(dirname "$(readlink -f "$0")")"
|
|
cd "$BINARY_DIR"
|
|
|
|
exec ./DauphinCraftServer.x86_64 --server --port "$PORT" --headless
|