Skip to content

Releases: Armatura-Create/ConnectHistoryCS2

v3.1.4

Choose a tag to compare

@github-actions github-actions released this 23 Sep 11:52

Fixed

  • metamod: unloading no longer passes garbage to Metamod git1467 and newer

Build

  • update MaxMind.GeoIP2 to 5.4.1 and keep it off 6.x
  • metamod: update libmaxminddb to 1.14.1 and mariadb-connector-c to the latest 3.4

CI

  • refresh GeoLite2 for every release archive, the metamod ones included

Requires MySQL 5.7 / 8.0+ (or MariaDB 10.4+).

Archive Requirements
ConnectHistory_cssharp_3.1.4.zip CounterStrikeSharp >= 1.0.369 (hence Metamod:Source)
ConnectHistory_swiftly_3.1.4.zip SwiftlyS2 >= 1.4.9, Metamod not needed
ConnectHistory_metamod_linux_3.1.4.zip Metamod:Source >= 2.0.0-git1460, Linux
ConnectHistory_metamod_windows_3.1.4.zip Metamod:Source >= 2.0.0-git1460, Windows

Extract into the root of your game server. Settings live in:

Target Config directory
CounterStrikeSharp addons/counterstrikesharp/configs/plugins/ConnectHistory/
SwiftlyS2 addons/swiftlys2/configs/plugins/ConnectHistory/
Metamod:Source addons/configs/ConnectHistory/

Fill in the Database section of Settings.json and run ch_reload.
The plugin creates its tables itself.

Schema and query cookbook: docs/DATABASE.md.

v3.1.3

Choose a tag to compare

@github-actions github-actions released this 10 Sep 11:09

Fixed

  • metamod: keep CreateInterface exported on Linux, hide only the vendored archives

Build

  • metamod: hide symbols pulled in from static libraries on Linux

CI

  • read the export list from a file, not a pipe, in the release check
  • fail the build and the release when the native plugin does not export CreateInterface
  • verify the native plugin carries the tag version, like the C# targets already do

Requires MySQL 5.7 / 8.0+ (or MariaDB 10.4+).

Archive Requirements
ConnectHistory_cssharp_3.1.3.zip CounterStrikeSharp >= 1.0.369 (hence Metamod:Source)
ConnectHistory_swiftly_3.1.3.zip SwiftlyS2 >= 1.4.9, Metamod not needed
ConnectHistory_metamod_linux_3.1.3.zip Metamod:Source >= 2.0.0-git1460, Linux
ConnectHistory_metamod_windows_3.1.3.zip Metamod:Source >= 2.0.0-git1460, Windows

Extract into the root of your game server. Settings live in:

Target Config directory
CounterStrikeSharp addons/counterstrikesharp/configs/plugins/ConnectHistory/
SwiftlyS2 addons/swiftlys2/configs/plugins/ConnectHistory/
Metamod:Source addons/configs/ConnectHistory/

Fill in the Database section of Settings.json and run ch_reload.
The plugin creates its tables itself.

Schema and query cookbook: docs/DATABASE.md.

v3.1.1

Choose a tag to compare

@github-actions github-actions released this 09 Sep 09:00

Added

  • metamod: collect match stats through one gamedata offset, no other plugin needed

Build

  • metamod: rebuild test objects when a header they include changes

Requires MySQL 5.7 / 8.0+ (or MariaDB 10.4+).

Archive Requirements
ConnectHistory_cssharp_3.1.1.zip CounterStrikeSharp >= 1.0.369 (hence Metamod:Source)
ConnectHistory_swiftly_3.1.1.zip SwiftlyS2 >= 1.4.9, Metamod not needed
ConnectHistory_metamod_linux_3.1.1.zip Metamod:Source >= 2.0.0-git1460, Linux
ConnectHistory_metamod_windows_3.1.1.zip Metamod:Source >= 2.0.0-git1460, Windows

Extract into the root of your game server. Settings live in:

Target Config directory
CounterStrikeSharp addons/counterstrikesharp/configs/plugins/ConnectHistory/
SwiftlyS2 addons/swiftlys2/configs/plugins/ConnectHistory/
Metamod:Source addons/configs/ConnectHistory/

Fill in the Database section of Settings.json and run ch_reload.
The plugin creates its tables itself.

Schema and query cookbook: docs/DATABASE.md.

v3.1.0

Choose a tag to compare

@github-actions github-actions released this 09 Sep 08:34

Breaking changes

  • metamod: port to KHook and collect match stats through Pisex Utils

Fixed

  • metamod: look up the player controller without CEntitySystem::GetEntityIdentity

Requires MySQL 5.7 / 8.0+ (or MariaDB 10.4+).

Archive Requirements
ConnectHistory_cssharp_3.1.0.zip CounterStrikeSharp >= 1.0.369 (hence Metamod:Source)
ConnectHistory_swiftly_3.1.0.zip SwiftlyS2 >= 1.4.9, Metamod not needed
ConnectHistory_metamod_linux_3.1.0.zip Metamod:Source >= 2.0.0-git1460, Linux
ConnectHistory_metamod_windows_3.1.0.zip Metamod:Source >= 2.0.0-git1460, Windows

Extract into the root of your game server. Settings live in:

Target Config directory
CounterStrikeSharp addons/counterstrikesharp/configs/plugins/ConnectHistory/
SwiftlyS2 addons/swiftlys2/configs/plugins/ConnectHistory/
Metamod:Source addons/configs/ConnectHistory/

Fill in the Database section of Settings.json and run ch_reload.
The plugin creates its tables itself.

Schema and query cookbook: docs/DATABASE.md.

v3.0.4

Choose a tag to compare

@github-actions github-actions released this 08 Sep 15:53

Added

  • metamod: answer player commands in chat and collect the average ping

Requires MySQL 5.7 / 8.0+ (or MariaDB 10.4+).

Archive Requirements
ConnectHistory_cssharp_3.0.4.zip CounterStrikeSharp >= 1.0.369 (hence Metamod:Source)
ConnectHistory_swiftly_3.0.4.zip SwiftlyS2 >= 1.4.9, Metamod not needed
ConnectHistory_metamod_linux_3.0.4.zip Metamod:Source >= 2.0.0-git1322, Linux
ConnectHistory_metamod_windows_3.0.4.zip Metamod:Source >= 2.0.0-git1322, Windows

Extract into the root of your game server. Settings live in:

Target Config directory
CounterStrikeSharp addons/counterstrikesharp/configs/plugins/ConnectHistory/
SwiftlyS2 addons/swiftlys2/configs/plugins/ConnectHistory/
Metamod:Source addons/configs/ConnectHistory/

Fill in the Database section of Settings.json and run ch_reload.
The plugin creates its tables itself.

Schema and query cookbook: docs/DATABASE.md.

v3.0.3

Choose a tag to compare

@github-actions github-actions released this 06 Sep 13:58

Fixed

  • metamod: stop verifying the database certificate on Preferred and Required
  • metamod: create the spool directory before writing to it

Requires MySQL 5.7 / 8.0+ (or MariaDB 10.4+).

Archive Requirements
ConnectHistory_cssharp_3.0.3.zip CounterStrikeSharp >= 1.0.369 (hence Metamod:Source)
ConnectHistory_swiftly_3.0.3.zip SwiftlyS2 >= 1.4.9, Metamod not needed
ConnectHistory_metamod_linux_3.0.3.zip Metamod:Source >= 2.0.0-git1322, Linux
ConnectHistory_metamod_windows_3.0.3.zip Metamod:Source >= 2.0.0-git1322, Windows

Extract into the root of your game server. Settings live in:

Target Config directory
CounterStrikeSharp addons/counterstrikesharp/configs/plugins/ConnectHistory/
SwiftlyS2 addons/swiftlys2/configs/plugins/ConnectHistory/
Metamod:Source addons/configs/ConnectHistory/

Fill in the Database section of Settings.json and run ch_reload.
The plugin creates its tables itself.

Schema and query cookbook: docs/DATABASE.md.

v3.0.2

Choose a tag to compare

@github-actions github-actions released this 06 Sep 13:42

Breaking changes

  • metamod: read the configs from addons/configs/ConnectHistory

Fixed

  • metamod: complain about a config that is filled in wrong

Requires MySQL 5.7 / 8.0+ (or MariaDB 10.4+).

Archive Requirements
ConnectHistory_cssharp_3.0.2.zip CounterStrikeSharp >= 1.0.369 (hence Metamod:Source)
ConnectHistory_swiftly_3.0.2.zip SwiftlyS2 >= 1.4.9, Metamod not needed
ConnectHistory_metamod_linux_3.0.2.zip Metamod:Source >= 2.0.0-git1322, Linux
ConnectHistory_metamod_windows_3.0.2.zip Metamod:Source >= 2.0.0-git1322, Windows

Extract into the root of your game server. Settings live in:

Target Config directory
CounterStrikeSharp addons/counterstrikesharp/configs/plugins/ConnectHistory/
SwiftlyS2 addons/swiftlys2/configs/plugins/ConnectHistory/
Metamod:Source addons/configs/ConnectHistory/

Fill in the Database section of Settings.json and run ch_reload.
The plugin creates its tables itself.

Schema and query cookbook: docs/DATABASE.md.

v3.0.1

Choose a tag to compare

@github-actions github-actions released this 06 Sep 13:13

Breaking changes

  • config: move the server number into the Server section

Fixed

  • ci: stop the archive checks from failing on a successful match
  • metamod: write the VDF path with forward slashes
  • metamod: create the config directory together with its parents

Documentation

  • state the minimum SwiftlyS2 and Metamod:Source versions

Build

  • metamod: ship the default configs and one archive per OS

CI

  • build the release notes from the commit history

Requires MySQL 5.7 / 8.0+ (or MariaDB 10.4+).

Archive Requirements
ConnectHistory_cssharp_3.0.1.zip CounterStrikeSharp >= 1.0.369 (hence Metamod:Source)
ConnectHistory_swiftly_3.0.1.zip SwiftlyS2 >= 1.4.9, Metamod not needed
ConnectHistory_metamod_linux_3.0.1.zip Metamod:Source >= 2.0.0-git1322, Linux
ConnectHistory_metamod_windows_3.0.1.zip Metamod:Source >= 2.0.0-git1322, Windows

Extract into the root of your game server. Settings live in:

Target Config directory
CounterStrikeSharp addons/counterstrikesharp/configs/plugins/ConnectHistory/
SwiftlyS2 addons/swiftlys2/configs/plugins/ConnectHistory/
Metamod:Source addons/ConnectHistory/configs/

Fill in the Database section of Settings.json and run ch_reload.
The plugin creates its tables itself.

Schema and query cookbook: docs/DATABASE.md.

v3.0.0

Choose a tag to compare

@github-actions github-actions released this 06 Sep 09:29

Added

  • SwiftlyS2 target. A separate plugin for SwiftlyS2 servers, released as
    ConnectHistory_swiftly_<version>.zip. SwiftlyS2 needs no Metamod — it has its own
    loader via gameinfo.gi.
  • Native Metamod:Source target. A C++ plugin for servers running neither
    CounterStrikeSharp nor SwiftlyS2, released as ConnectHistory_metamod_<version>.zip
    with Windows and Linux binaries in one archive.
  • Startup banner in the server console with the plugin name, version, platform and
    server number — on all three platforms.
  • CHANGELOG.md, and release notes generated from it.

Fixed

  • spectator_seconds was never written when a session closed normally. The column
    was missing from the UPDATE, so every normally closed session left it NULL. The
    ch_players.total_seconds aggregate was correct all along — only the per-session
    history was lost. Existing rows are not backfilled; new sessions are correct.

Changed

  • Repository restructured into cssharp/, swiftly/ and metamod/. The three
    implementations share no code — only the database schema, which is now an explicit
    contract in docs/DATABASE.md.
  • Release archives are renamed to ConnectHistory_<platform>_<version>.zip. Direct
    links to ConnectHistory.zip will no longer resolve; use the release page.
  • Documentation is now in English by default (README.ru.md remains the Russian
    translation). docs/FLUTE_MODULE.md was removed — the panel module documents itself at
    ConnectHistory-Flute.
  • CI is split per target with path filters; the release workflow builds all three from a
    single tag.

Known limitations of the Metamod target

  • No match results. kills, deaths, assists, headshots, damage, mvp,
    rounds_played, team_final, team_changes and spectator_seconds are always 0;
    score, ping_* and ch_online_snapshots.bots are NULL/0. Connection history
    itself — joins, leaves, duration, map, country, "who is online now" — is complete.
    Reaching those values needs an engine address guessed at runtime (a CGameEventManager
    vtable lookup, or a CGameEntitySystem offset), which nothing in CI can verify and
    which takes the server down on load when it is wrong.
  • ch_playtime and ch_lastseen are server-console commands taking a SteamID64, not
    in-game player commands.
  • See Differences between targets.

Requires MySQL 5.7 / 8.0+ (or MariaDB 10.4+).

Archive Requirements
ConnectHistory_cssharp_3.0.0.zip CounterStrikeSharp >= 1.0.369 (Metamod:Source)
ConnectHistory_swiftly_3.0.0.zip SwiftlyS2 >= 1.4.9 (Metamod not needed)
ConnectHistory_metamod_3.0.0.zip Metamod:Source (native; Windows + Linux in one archive)

Extract into the root of your game server. The plugin creates its configs and
database tables on first run: fill in the Database section of Settings.json
and reload the configuration.

Schema and query cookbook: docs/DATABASE.md.

v2.2.0

Choose a tag to compare

@github-actions github-actions released this 05 Sep 10:02

Требуются CounterStrikeSharp >= 1.0.369 (.NET 10) и MySQL 5.7 / 8.0+.

Распакуйте архив в корень игрового сервера — структура
addons/counterstrikesharp/plugins/ConnectHistory/ уже внутри,
вместе с базами GeoLite2.

Плагин сам создаст конфиги и таблицы при первом запуске: заполните секцию
Database в Settings.json и выполните css_ch_reload.

Схема базы и готовые запросы — docs/DATABASE.md,
модуль для панели Flute CMS — docs/FLUTE_MODULE.md.

Full Changelog: v2.1.0...v2.2.0