- IP属地
- 未知
- 2021/08/22
- 7
- 0
- · 发布于未知
问一下这个支持手机版联机吗TShock 4.5.5 (Terraria 1.4.2.3)
截至2021-07-22为止的最新版本
支持PC端Terraria最新版本v1.4.2.3
下方的蓝字均为各条更新内容的翻译/大意
由棱镜个人提供,水平有限,有错误请及时指出
原版本说明来自GitHub:https://github.com/Pryaxis/TShock/releases/tag/v4.5.5
This version of TShock includes a fix for GHSA-jq4j-v8pr-jv7j. For more information, see the advisory.
We are aware of at least three other security issues, but they are still in-progress. At least one of those will be shipping in the near future.
我们现在发现了至少3处安全问题,不过关于它们的研究还在进行中。在不久的将来,它们中的至少一个会得到处理
Notable changes
Updating
- Changed the world autosave message so that it no longer warns of a "potential lag spike." (@hakusaro)
- 现在自动保存世界的信息被修改,不再警告"将导致片刻的卡顿"
- Added /slay as an alias for /kill to be more consistent with other server mods. (@hakusaro)
- Added /god as an alias for /godmode to be more consistent with other server mods. (@hakusaro)
- 为/kill指令添加了别名/slay,为/godmode指令添加了别名/god
- 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)
- 现在按Ctrl+C终止服务器命令行将会自动保存地图
- 不保存关服需要使用/off-nosave指令了
- 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)
- 将SendSuccessMessage的文本颜色改为了Color.LimeGreen(为了看上去不那么丑)(草)
- Changed the default respawn timer to 10 seconds, so as to not desynchronize from the game by default. (@hakusaro)
- 将Config中默认的重生时间值改为了10s,防止与游戏原有机制冲突
- Fixed /home allowing players to bypass the respawn timer. (@hakusaro, @moisterrific, @Arthri)
- 修复了/home指令会让玩家跳过重生计时器的bug
- Added the config option SuppressPermissionFailureNotices. When set to true, the server will not send warning messages to players when they fail a build permission check from TSPlayer.HasBuildPermission (even if shouldWarnPlayer is set to true. (@hakusaro)
- 添加了配置项SuppressPermissionFailureNotices,当设为true时,服务器不会在玩家试图在无权限的地方进行建筑时发出警告信息(在代码中,即使HasBuildPermission的ShouldWarnPlayer参数设为true,也不会发送)
- Fixed /warp send failing a nullcheck if the warp didn't exist. The previous behavior may have always been buggy or broken. In other words, sending someone to a warp that doesn't exist should result in a nicer error. (@hakusaro, @punchready)
- 添加了/warp send指令在试图将玩家传送至一个不存在的warp点时缺少的null检查
- Fixed /group del allowing server operators to delete the default group that guests are put into. This is a really critical group and the server doesn't behave correctly when it happens. As a result, it's better to prevent this from happening than not. Additionally, GroupManagerExceptions will be thrown if this is attempted programmatically. Finally, if the exception is thrown in response to /group del (or if any other exception is thrown that the command handler can handle), the stack trace will no longer be present. Fixes #2165. (@hakusaro, @DeveloperLuxo, @Rozen4334, @moisterrific, @bartico6, @Quinci135)
- 修复了/group del指令能够删除guest组(或者说config中设置的游客组)的问题。这样的默认用户组对于服务器非常重要,其被删除将导致服务器无法正常运行。因此,更好的做法是防止该用户组被删除
- Removed the old ConfigFile class. If you are updating a plugin, you should use TShock.Config.Settings instead of the accessor you were using. This is typically a really easy change. For most plugin authors, updating to the new config format is as simple as changing the reference to the old static config to point to the new location. If you were using this for your own configs, you should swap to using a IConfigFile (see TShockAPI.Configuration.ConfigFile). (@hakusaro, @bartico6)
- 现在建议开发者创建配置文件类时使用IConfigFile接口,原TShockAPI.ConfigFile类被删除
- Added Main.worldPathName to /worldinfo command. Now, if you need to see what the location on disk for your world file is, you can simply run /worldinfo to find out. This is particularly helpful on Linux and macOS, where the world path isn't obvious. (@hakusaro)
- 现在/worldinfo将显示地图的路径,这对于Linux和macOS用户可能大有帮助
- Correct rejection message in LandGolfBallInCupHandler to output the proper expected player id. (@drunderscore)
- Clarified the error mesage that the console is presented if a rate-limit is reached over REST to indicate that "tokens" actually refers to rate-limit tokens, and not auth tokens, and added a hint as to what config setting determines this. (@hakusaro, @patsore)
- Fixed an issue where, when the console was redirected, input was disabled and commands didn't work, in TSAPI. You can now pass -disable-commands to disable the input thread, but by default, it will be enabled. Fixes #1450. (@DeathCradle, @QuiCM)
- Added summonboss permission check for Prismatic Lacewing. Players who do not have said permission will be unable to kill this critter, as it will summon the Empress of Light. Also added support for the AnonymousBossInvasions config option, if this is set to false it will now broadcast the name of the player who summoned her. (@moisterrific)
- 七彩草蛉现在被包括到summonboss的权限检测中了
- Added ForceTime config setting check for Enchanted Sundial usage. If ForceTime is set to anything other than normal, Sundial use will be rejected as this would lead to very janky game behavior. Additionally, players with cfgreload permission will be advised to change it back to normal in order to use sundial. (@moisterrific, @bartico6)
- Added %onlineplayers% and %serverslots% placeholders for MOTD. The default MOTD message was also updated to use this. (@moisterrific, @bartico6)
- 在motd.txt中有了新的变量%onlineplayers%以及%serverslots%,默认生成的配置文件中也将包含它们
- Fixed Bouncer inconsistently using TilePlacementValid when validating tile coordinates, which could cause a DoS attack due to unexpectedly large world framing. The list below shows the corrected methods within Bouncer. This was assigned GHSA-jq4j-v8pr-jv7j. (@drunderscore)
- OnTileEdit: The check was moved to be the first, and will no longer SendTileSquare upon failure.
- OnPlaceObject: The check was moved to be the first, and will no longer SendTileSquare upon failure.
- OnPlaceTileEntity: The check was newly added.
- OnPlaceItemFrame: The check was newly added.
- OnFoodPlatterTryPlacing: The check was newly added.
To update TShock, simply replace all of the files in your server folder with those from the release folder.