diff --git a/CHANGELOG.md b/CHANGELOG.md index eeb53de2..3d902451 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -58,6 +58,7 @@ This is the rolling changelog for TShock for Terraria. Use past tense when addin * Added `TSPlayer.IsBouncerThrottled()`. (@hakusaro) * Added `TSPlayer.CheckIgnores()` and removed `TShock.CheckIgnores(TSPlayer)`. (@hakusaro) * Hooks inside TShock can now be registered with their `Register` method and can be prioritized according to the TShock HandlerList system. (@hakusaro) +* Fix message requiring login not using the command specifier set in the config file. (@hakusaro) ## TShock 4.3.25 * Fixed a critical exploit in the Terraria protocol that could cause massive unpreventable world corruption as well as a number of other problems. Thanks to @bartico6 for reporting. Fixed by the efforts of @QuiCM, @hakusaro, and tips in the right directioon from @bartico6. diff --git a/TShockAPI/Bouncer.cs b/TShockAPI/Bouncer.cs index a65f840c..01cff94b 100644 --- a/TShockAPI/Bouncer.cs +++ b/TShockAPI/Bouncer.cs @@ -861,7 +861,7 @@ namespace TShockAPI } else if (TShock.Config.RequireLogin && !args.Player.IsLoggedIn) { - args.Player.SendErrorMessage("Please /register or /login to play!"); + args.Player.SendErrorMessage("Account needed! Please {0}register or {0}login to play!", TShock.Config.CommandSpecifier); } else if (args.Player.IgnoreActionsForClearingTrashCan) {