Developers
Interfacing with Get5
-
You can write another SourceMod plugin that uses the Get5 natives and forwards. This is exactly what the get5_apistats and get5_mysqlstats plugins do.
-
You can read event logs from a file on disk (set by
get5_event_log_format
), through a RCON connection to the server console since they are output there, or through another SourceMod plugin. -
You can read the stats Get5 collects from a file on disk (set by
get5_stats_path_format
). -
You can execute any command, such as
get5_loadmatch
orget5_loadmatch_url
via another plugin or via RCON.
Building Get5 from source
If you are unfamiliar with how building SourceMod plugins works, you can use Docker to build Get5 from source. A precompiled image is available:
Before you build, please ensure you have installed the sm-json
dependency, which
is configured as a submodule. The Docker container does not do this because it can cause file permission issues with
the repository.
You must mount two volumes for the build to succeed:
/get5_src
should be mounted to the repository root./get5_build
should be mounted where you want the output build files. Note that this directory and all its files may belong toroot
.
Good to know
$PWD
means "current directory", so in this case, this command would assume you are in the repository root, and the
output will end up in a folder called /build
within there. \
in the script just escapes the new-line, so the
command is easier to read.
Custom builds are unsupported
Note that while building Get5 yourself may seem easy, we do not provide support for custom builds. If you want to report a bug, please use the latest official version.