When starting to write a new plugin there are a few things that always have to be added, and writing again and again, or making copy/paste and test the same piece of code constantly becomes very tedious. So, since I'm very lazy I did this template to stop writing the same logic one time after another.
There are different ways to get the code and start modifying, obviously is possible to do by downloading the attached .sp file and copying it in your computer, but there are more sophisticated ways.Use GitHub Codespaces: Since the GitHub repository is a Template you can get the code and start modifying it in a codespace (in the same browser or with VSCode extension). Clone repository: If you have git installed in your computer you can easily clone the repository and then get rid of the git to have the code disconnected from the template: First clone the code in your computer: Code: git clone https://github.com/Earendil-89/l4d_template.git <folder_name> Then disconnect the local repository to the template repository (cmd/*terminal must be in the project folder): Code: git remote remove origin Aditionally(and recommended) you can remove all commits to have an empty project and initialize your own repository (cmd/terminal must be on the project folder): Windows: Code: rmdir /S .git Linux: Code: rm -rf .git
git clone https://github.com/Earendil-89/l4d_template.git <folder_name>
git remote remove origin
rmdir /S .git
rm -rf .git