This is the last release before merging .NET 9 support.
Notable changes in this release
- Updated
TShockAPI.Handlers.SendTileRectHandler
(@LaoSparrow):- Fixed incorrect validating range in
TileRectMatch.MatchRemoval
. - Fixed tile rect changes (e.g. turning on and off campfires) are not synced between clients.
- Fixed unable to place Hat Rack without permission
tshock.ignore.sendtilesquare
.
- Fixed incorrect validating range in
- Changed Bouncer to block updates which set the following fields to infinity or NaN: player position, projectile position, projectile velocity, item position, and item velocity. (@Arthri)
- Rewrote bed spawning for SSC. (@PotatoCider)
- Removed
TSPlayer.s{X,Y}
in favour of using desyncing client and server spawnpoint values (Terraria.Player.Spawn{X,Y}
) until the player has changed their spawnpoint per session. - Partially fixed the bed spawning bug when SSC is enabled. Players would need to spawn at their beds at least once to tell TShock that the player's spawnpoint has changed.
- Removed
- Added a constructor for
TShockAPI.PlayerData
that accepts theincludingStarterInventory
parameter, which is responsible for loading the TShock inventory. (@AgaSpace) - Declared the constructor
TShockAPI.PlayerData
accepting the argumentTShockAPI.TSPlayer
obsolete. (@AgaSpace) - Updated the
PlayerData.StoreSlot
method: Added an overload that takesTShockAPI.NetItem
. (@AgaSpace) - Added a new permission,
tshock.world.time.usemoondial
, for regulating use of Enchanted Moondial. (@Arthri) - Added a set of new permissions,
tshock.specialeffects.{type}
, for regulating use of new special effects(Packet 51) which are not yet recognized by TShock. (@Arthri) - Added check for
tshock.npc.summonboss
permission for Skeletron summoning. (@Arthri) - Fixed
DisableDungeonGuardian
disabling Skeletron summon instead. The config option is useless as of writing. (@Arthri) - Seed initial group database with default and guest names from config. (@drunderscore)
- Improved checks on the previous state handling changes to prevent users from connecting and having activity on the server without fully completing the player handshake. (@ohayo)
- Filtered outgoing data to clients that aren't fully connected, to improve the privacy of the server. (@ohayo)
- Prevent spamming spawned enemies that aren't on the enemies list. (@ohayo)
- Updated
GetDataHandlers
to ignoreNpcItemStrike(msgid 24)
, which should never be sent by a vanilla client. (@LaoSparrow)
Upgrading
Before installing, make a complete backup of your existing server and all files and folders, including tshock.sqlite
and the tshock
folder. We are not responsible for failed installations. Please make sure you backup your data. Severe data loss or gain may occur.
To upgrade TShock, replace all of the files in the location of your server installation with all of the files from the release zip we provide. Overwrite all files. No data will be lost.