TShock V4.5 to V5 Migration - Brief Intro & How to Update Plugins
Hey everyone, my name is Creyess and in today's video, we will be talking a bit about the changes from TShock V4.5 to V5, and I will also be showing you how to update the plugins as well! Here are some important links you may need:
.NET Upgrade Assistant: https://dotnet.microsoft.com/en-us/platform/upgrade-assistant
OTAPI v2 to v3 Migration: https://github.com/SignatureBeef/Open-Terraria-API/wiki/%5Bupcoming%5D-6.-Upgrading-from-v2 - this goes over new method names, and some other stuff I didn't cover in the video
Download tShock Beta!: https://github.com/Pryaxis/TShock/actions
Download Visual Studio: https://visualstudio.microsoft.com/vs/
Download already-updated plugins (for v5): https://github.com/RenderBr/tShock-v5-plugins
00:00 - Intro (feel free to skip ahead)
01:12 - TShock v4.5 to 5 Changes
02:56 - Already updated V5 plugins (by yours truly)
04:35 - Obtaining TShock V5 & Dependencies for updating plugins
05:50 - Finding an old plugin to update
06:22 - Cloning repo
06:32 - Upgrading plugin to .NET Standard 2.0
07:45 - Changing plugin to x64 architecture
08:20 - Open plugin solution in Visual Studio
08:35 - Update & modify, and add dependencies
10:42 - Double check x64 build target (NOT x86!)
11:22 - Using Microsoft.Data.Sqlite (instead of Mono.Data.Sqlite)
12:15 - Updating API version, and deleting old references
12:40 - Updating TShock.Config to TShock.Config.Settings
13:10 - Fixing no "Color" method by adding Microsoft.Xna.Framework
13:23 - Talking about OTAPI.Tile
13:50 - Building & testing plugin (will it work??)
15:40 - Talking about bin folder & if the plugin requires external dependencies
Thanks for watching everyone! Hope this helped :D
Other Videos By Average
Other Statistics
Terraria Statistics For Average
There are 22,909 views in 26 videos for Terraria. His channel currently has around 22 hours worth of content for Terraria, roughly 41.82% of the content that Average has uploaded to YouTube.