Releases: Southclaws/sampctl
1.2.4-RC12
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
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
1.2.1
v1.2.0
- 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
Made init
a bit more helpful and made app-version show properly (that one's for you J0sh)
v1.1.0
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
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 gamemodegamemodes
: an array of strings for multiple gamemodes
v1.0.0
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.