From f567486c47365aa953b74db3b576917456c09ed9 Mon Sep 17 00:00:00 2001 From: Lucas Nicodemus Date: Sat, 12 Jun 2021 22:27:39 -0700 Subject: [PATCH] Change default config for respawn timer to 10s The default value for the respawn timer was 5 seconds, but this always looked wrong because the default game respawn time is at least 10 seconds for classic characters. This can always be changed in the config file, but looks significantly better when it matches the default imho. --- CHANGELOG.md | 1 + TShockAPI/ConfigFile.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c3aac867..fa48e43f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ This is the rolling changelog for TShock for Terraria. Use past tense when addin * Fixed ridiculous typo in `Amethyst Gemtree` text. (@hakusaro) * Fixed `CTRL + C` / interactive console interrupt not safely shutting down the server. Now, interrupts will cause a safe shutdown (saving the world and disconnecting all players before fully shutting down). Previously, interrupts caused an unsafe shutdown (not saving the world). (@hakusaro) * Changed "success message" color to `Color.LimeGreen` instead of `Color.Green`. `Color.Green` looks ugly. `Color.LimeGreen` looks less ugly but isn't as offensively bright as pure green. (@hakusaro) +* Changed the default respawn timer to 10 seconds, so as to not desynchronize from the game by default. (@hakusaro) * Fixed `/home` allowing players to bypass the respawn timer. (@hakusaro) ## TShock 4.5.4 * Fixed ridiculous typo in `GetDataHandlers` which caused TShock to read the wrong field in the packet for `usingBiomeTorches`. (@hakusaro, @Arthri) diff --git a/TShockAPI/ConfigFile.cs b/TShockAPI/ConfigFile.cs index e02ad808..86b33593 100644 --- a/TShockAPI/ConfigFile.cs +++ b/TShockAPI/ConfigFile.cs @@ -262,7 +262,7 @@ namespace TShockAPI /// The number of seconds a player must wait before being respawned. Cannot be longer than normal value now. Use at your own risk. [Description("The number of seconds a player must wait before being respawned. Cannot be longer than normal value now. Use at your own risk.")] - public int RespawnSeconds = 5; + public int RespawnSeconds = 10; /// The number of seconds a player must wait before being respawned if there is a boss nearby. Cannot be longer than normal value now. Use at your own risk. [Description("The number of seconds a player must wait before being respawned if there is a boss nearby. Cannot be longer than normal value now. Use at your own risk.")]