HerrMagiic / CSS-CreateCustomCommands

The Custom Commands Plugin allows you to create and customize commands for your server. These commands can display messages, perform server-side actions, and more.
https://github.com/HerrMagiic/CSS-CreateCustomCommands/tree/main/Examples
MIT License
40 stars 2 forks source link

Better Json Validation #21

Open HerrMagiic opened 5 months ago

HerrMagiic commented 5 months ago

Right now my Json validation for getting the Commands.json file/files is horrible (you can find my implementation here CustomCommands/Services/LoadJson.cs). There is 100% a better way of doing it. I just dont have the time right now to do it because this way works at first as well.

If someone wants to refactor my horrible code feel free to do it. Just create a pull request and if its good i will accept it.