Use by input commands below in console:
dick "install_auto PluginName"
//install via asp_urls.json
dick "install Author:Repo:Branch:File.as->LocalFile.as"
//install single as plugin (only available for Gitee for now)
This sma is my first attempt to write AMXX script, I use the json and the curl lib given by @Levenus Supremus (PolarHigh from GitHub?)
Tested on Sven Coop 5.23 both on Client and Dedicated Server
Use curl to download AS plugin from website with Remote Git Repo Service via RAW url access
Due to some network issue, single AS download (or should I call it manual download) only supports Gitee, as raw.githubusercontent is blocked by my ISP, which make it hard for me to test on GitHub.
But if a plugin is on GitHub, it can still be downloaded via configure asp_urls.json.
some assets (spr/wav) cannot be loaded inside scripts/plugins will be install use key-value to represent repo path and install path respectively, which will be introduced in next version.
An example of ASP Info Json:
Thx to those veterans who taught me a lot can I finish this little demo, I got ddl in my work recently, so I have to pause developing this unfinished plugin, hope to see some collaborators.