Skip to content

Releases: Southclaws/sampctl

1.2.4-RC12

29 Sep 10:56
Compare
Choose a tag to compare

Changelog

bce4f3f version bump

Docker images:

  • southclaws/sampctl:1.2.4-RC12

Automated with GoReleaser
Built with go version go1.9 linux/amd64

1.2.3

28 Sep 12:13
Compare
Choose a tag to compare

Changelog

c3e31e9 implemented basic amx execution
53a4906 Merge branch 'master' of github.com:Southclaws/sampctl
d5e252e started work on exec subcommand


Automated with GoReleaser
Built with go version go1.9 linux/amd64

1.2.2

27 Sep 20:33
Compare
Choose a tag to compare

Changelog

d48e8ca resolved #17
3ead71c maybe travis is the issue
fd2cddd maybe goreleaser needs a .yml?
2499025 updated goreleaser to try docker support, removed -a in git tag


Automated with GoReleaser
Built with go version go1.9 linux/amd64

1.2.1

27 Sep 20:04
Compare
Choose a tag to compare

Changelog

7ebb264 version
e8e8321 added docker line
7be5251 made plugin check only run if there are plugins in the config
e599cc6 implementing goreleaser


Automated with GoReleaser
Built with go version go1.8.1 windows/amd64

v1.2.0

27 Sep 06:15
Compare
Choose a tag to compare
  • Started work on container mode, use --container with Docker installed to try it
  • Added feature to check if all resources are present before starting the server
  • Made cache directory auto-create if not present
  • Added missing output setting
  • Resolved issues with paths not being expanded
  • Added some minor adjustments to cfg when compiling server.cfg on linux

v1.1.1

24 Sep 20:37
Compare
Choose a tag to compare

Made init a bit more helpful and made app-version show properly (that one's for you J0sh)

v1.1.0

24 Sep 02:01
Compare
Choose a tag to compare

Added an init subcommand to help newcomers to SA:MP bootstrap their servers faster and avoid common pitfalls in the setup process.

Usage: sampctl init followed by the following questions:

  • Hostname - required
  • RCON Password - if left blank, a strong one is generated
  • Port number - default 7777
  • Gamemodes - if gamemodes/ exists, choose one or more gamemodes
  • Filterscripts - if filterscripts/ exists, choose zero or more filterscripts
  • Plugins - if plugins/ exists, choose zero or more .dll/.so files depending on OS

A summary is shown afterwards with a complexity score of the password to help encourage strong RCON password usage.

v1.0.1

24 Sep 00:03
Compare
Choose a tag to compare

Minor bug fixes with settings generation that caused server to not launch properly.

Adjusted gamemode JSON field, there are now two fields:

  • gamemode: a single string for a single gamemode
  • gamemodes: an array of strings for multiple gamemodes

v1.0.0

22 Sep 23:10
Compare
Choose a tag to compare

First version!

The first release of sampctl! Pretty minimal but hopefully solid enough to get started.

Usage

sampctl run Will run a server in your current directory. If there are no binaries, it will automatically download them.

sampctl download Just downloads the binaries to the current directory.

Config

If your current directory has a JSON file named samp.json, the values will be used to generate a server.cfg file. The setting names are the same.

You can also use environment variables to configure, just prefix them with SAMP_ and uppercase the rest.

For example: rcon_password's environment variable is SAMP_RCON_PASSWORD.

Crashloops and Exponential Backoff

Crashes, crashlooks and backoff timing is handled by the app. If the server crashes, it will be restarted. If it crashes repeatedly, it will be restarted with an exponentially increasing amount of time between tries - in case it's waiting for a database to spin up or something. Once the backoff time reaches 15s, it quits.