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/
Auf dieser Seite können Sie das Online-Video TShock Plugin Development Tutorial: Basic Configuration (#2) mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Average 07 Januar 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 896 Mal angesehen und es wurde von 23 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!