New game from the panel instead of an uploaded save (2.9.3)
World & Backups -> Start new game (console: new-game, also when stopped): the save is backed up and replaced by a new-game marker (also as reset point). Joining players are told to start a new game; the server pulls the first player's save and from then on runs normally. Reset world returns to a new game when the reset point is one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -708,6 +708,10 @@ function renderWorld(page) {
|
||||
h("div", { class: "stat-label" }, "Reset world"),
|
||||
h("p", { class: "muted" }, "Everything goes back to the reset point (the save game as it was uploaded to the server). The current state is backed up first. Everyone reconnects."),
|
||||
h("button", { class: "btn danger", type: "button", onclick: () => worldAction("reset", { title: "Reset the whole world?", text: "Moved objects, bought items, doors, vehicle values and player positions are reset to the reset point. The current state is kept as a backup.", danger: true, button: "Reset world" }) }, "Reset world")),
|
||||
h("div", { class: "card" },
|
||||
h("div", { class: "stat-label" }, "New game"),
|
||||
h("p", { class: "muted" }, "Start a completely fresh My Summer Car game instead of an uploaded save. The current save game is backed up first. The first player to join creates the new world."),
|
||||
h("button", { class: "btn danger", type: "button", onclick: () => worldAction("newgame", { title: "Start a new game?", text: "The current save game and all changes in the world are replaced by a fresh new game (the current state is kept as a backup). “Reset world” then also goes back to a new game. Everyone reconnects.", danger: true, button: "Start new game" }) }, "Start new game")),
|
||||
h("div", { class: "card" },
|
||||
h("div", { class: "stat-label" }, "Backup"),
|
||||
h("p", { class: "muted" }, "Save a copy of the current server save game. The last 5 backups are kept."),
|
||||
|
||||
+14
-2
@@ -13,6 +13,18 @@
|
||||
window.MSCO_LANG = lang;
|
||||
|
||||
const DE = {
|
||||
// Neues Spiel
|
||||
"New game": "Neues Spiel",
|
||||
"Start a completely fresh My Summer Car game instead of an uploaded save. The current save game is backed up first. The first player to join creates the new world.":
|
||||
"Ein komplett neues My-Summer-Car-Spiel statt eines hochgeladenen Spielstands. Der aktuelle Spielstand wird vorher gesichert. Der erste Spieler, der beitritt, legt die neue Welt an.",
|
||||
"Start new game": "Neues Spiel starten",
|
||||
"Start a new game?": "Neues Spiel starten?",
|
||||
"The current save game and all changes in the world are replaced by a fresh new game (the current state is kept as a backup). “Reset world” then also goes back to a new game. Everyone reconnects.":
|
||||
"Der aktuelle Spielstand und alle Änderungen in der Welt werden durch ein frisches neues Spiel ersetzt (der jetzige Stand bleibt als Backup). „Welt zurücksetzen“ geht danach ebenfalls auf ein neues Spiel zurück. Alle verbinden sich neu.",
|
||||
"New game started - the first player to join creates the new world": "Neues Spiel gestartet - der erste Spieler, der beitritt, legt die neue Welt an",
|
||||
"New game set up - start the server; the first player to join creates the new world": "Neues Spiel eingerichtet - starte den Server; der erste Spieler, der beitritt, legt die neue Welt an",
|
||||
"World reset to a new game": "Welt auf ein neues Spiel zurückgesetzt",
|
||||
|
||||
// Tags
|
||||
"Tags": "Tags",
|
||||
"e.g. german, roleplay, vanilla": "z.B. deutsch, roleplay, vanilla",
|
||||
@@ -387,8 +399,8 @@
|
||||
.replace(" - the new port only applies after the whole program restarts (docker compose restart); in Docker publish it in docker-compose.yml first",
|
||||
" - der neue Port gilt erst nach einem Neustart des ganzen Programms (docker compose restart); in Docker vorher in docker-compose.yml freigeben")],
|
||||
[/^The server is already (\w+)$/, (m, s) => "Der Server " + (s === "running" ? "läuft schon" : "startet schon")],
|
||||
[/^No save game yet - upload one as ZIP in the panel \(World & Backups\) or copy it to data\/save$/,
|
||||
"Noch kein Spielstand - lade einen als ZIP/RAR im Panel hoch (Welt & Backups) oder kopiere ihn nach data/save"],
|
||||
[/^No save game yet - upload one as ZIP in the panel \(World & Backups\), start a new game there or copy it to data\/save$/,
|
||||
"Noch kein Spielstand - lade einen als ZIP/RAR im Panel hoch (Welt & Backups), starte dort ein neues Spiel oder kopiere ihn nach data/save"],
|
||||
[/^No license key set - (.+)$/, "Kein Lizenzschlüssel gesetzt - hol dir einen unter msco.mbm.wtf/keys und trag ihn in den Einstellungen ein"],
|
||||
[/^License key invalid: (.+)$/, "Lizenzschlüssel ungültig: $1"],
|
||||
[/^Update available: (.+)$/, "Update verfügbar: $1"],
|
||||
|
||||
Reference in New Issue
Block a user