TShock Plugin Development Tutorial: Basic Configuration (#2)

Publicado em: 07 Janeiro 2023
no canal de: Average
896
23

Concepts Introduced: Configuration, code cleanup from last episode.

Today we take our plugin from last episode and add the ability to generate, store and read information from a configuration file, typically accessible as a JSON file. I also employ some better practices in our plugin that I overlooked in last episode.

00:00 - Brief Intro & Concept Overview
00:43 - Code Cleanup & Improvements
02:22 - Adding our configuration class
02:41 - What is a config file?
03:30 - Writing our configuration class
06:45 - Implementing our config in our main class
08:30 - Allowing our config to reloaded
09:30 - Quick Test
10:09 - Example utilization of config
11:55 - Testing the plugin
12:38 - Implementing a reload message
13:12 - Not working correctly
13:44 - Fixing the issue
14:30 - Testing our functional plugin
15:15 - Outro

Download & Install - Visual Studio: https://visualstudio.microsoft.com/vs/


Nesta página do site você pode assistir ao vídeo on-line TShock Plugin Development Tutorial: Basic Configuration (#2) duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Average 07 Janeiro 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 896 vezes e gostou 23 espectadores. Boa visualização!