Southclaws / sampctl

The Swiss Army Knife of SA:MP - vital tools for any server owner or library maintainer.
GNU General Public License v3.0
241 stars 33 forks source link

Add SA-MP version for URM GTA: Criminal Russia #119

Closed pawnoholic closed 6 years ago

pawnoholic commented 6 years ago

is it possible to add server support for the most popular adaptation sa-mp for URM GTA: Criminal Russia.

Official Thread: http://forum.sa-mp.com/showthread.php?t=155070

The executable file names are different from SA-MP

Criminal Russia Multiplayer Rev C3 Windows Server Criminal Russia Multiplayer Rev C3 Linux Server

Southclaws commented 6 years ago

This is something I'm very interested in supporting 👍

I've had a few people ask, so I will add support for custom endpoints soon.

I think the best way to do this would be to move all the hard-coded URLs for SA:MP versions out of the source code and into a JSON file hosted on GitHub which users could then modify to contribute custom servers such as Criminal Russia or RW-MP.

It will be similar to Homebrew's "Taps", APT's "Repositories" or Scoop.sh's "Buckets" systems.

Southclaws commented 6 years ago

Please submit a pull request to this file: https://github.com/sampctl/runtimes/blob/master/runtimes.json this is now where sampctl 1.7 will read download links for servers from.