{"id":18621200,"url":"https://github.com/c9glax/opencs2hock","last_synced_at":"2026-02-15T23:03:23.015Z","repository":{"id":217047545,"uuid":"742996706","full_name":"C9Glax/OpenCS2hock","owner":"C9Glax","description":"Shocking Counter-Strike Innovation","archived":false,"fork":false,"pushed_at":"2025-01-16T21:48:55.000Z","size":65,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T12:24:45.148Z","etag":null,"topics":["counter-strike","counter-strike-2","electrostim","electrostimulation","estim","game","gamestate-integration","openshock","pishock","shock","shock-collars"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/C9Glax.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-01-14T01:39:45.000Z","updated_at":"2025-01-28T23:06:52.000Z","dependencies_parsed_at":"2024-01-20T21:34:27.589Z","dependency_job_id":"ad7db89e-5b4a-44fc-90bc-ec2d6fe28429","html_url":"https://github.com/C9Glax/OpenCS2hock","commit_stats":null,"previous_names":["c9glax/opencs2hock"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/C9Glax/OpenCS2hock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/C9Glax%2FOpenCS2hock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/C9Glax%2FOpenCS2hock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/C9Glax%2FOpenCS2hock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/C9Glax%2FOpenCS2hock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/C9Glax","download_url":"https://codeload.github.com/C9Glax/OpenCS2hock/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/C9Glax%2FOpenCS2hock/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29491998,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T19:29:10.908Z","status":"ssl_error","status_checked_at":"2026-02-15T19:29:10.419Z","response_time":118,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["counter-strike","counter-strike-2","electrostim","electrostimulation","estim","game","gamestate-integration","openshock","pishock","shock","shock-collars"],"created_at":"2024-11-07T04:09:41.398Z","updated_at":"2026-02-15T23:03:23.010Z","avatar_url":"https://github.com/C9Glax.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# OpenCS2hock\n![GitHub License](https://img.shields.io/github/license/c9glax/OpenCS2hock)\n![GitHub Release](https://img.shields.io/github/v/release/c9glax/OpenCS2hock)\n\nElectrifying your Counter-Strike experience. With [OpenShock](https://openshock.org/) and [PiShock](https://pishock.com/#/)! (Not Associated)\n\n## How to use\n\nDownload [latest Release](https://github.com/C9Glax/OpenCS2hock/releases/latest) and execute.\n\nExample `config.json`. Place next to executable. Will also be generated on first start.\n```json\n{\n  \"LogLevel\": 2,\n  \"Shockers\": [\n    {\n      \"ShockerIds\": [\n        \"ID HERE\"\n      ],\n      \"IntensityRange\": {\n        \"Min\": 30,\n        \"Max\": 50\n      },\n      \"DurationRange\": {\n        \"Min\": 1000,\n        \"Max\": 1000\n      },\n      \"ApiType\": 0,\n      \"Endpoint\": \"https://api.shocklink.app\",\n      \"ApiKey\": \"API KEY HERE\"\n    }\n  ],\n  \"ShockerActions\": [\n    {\n      \"TriggerEvent\": 2,\n      \"ShockerIds\": [\n        \"SAME ID HERE\"\n      ],\n      \"Action\": 2,\n      \"ValueFromInput\": false\n    }\n  ]\n}\n```\n\n## LogLevel \n[Levels](https://learn.microsoft.com/de-de/dotnet/api/microsoft.extensions.logging.loglevel?view=dotnet-plat-ext-8.0)\n\n## Shockers\n\n### ApiKey \n- For OpenShock (HTTP) get token [here](https://shocklink.net/#/dashboard/tokens)\n- For PiShock (HTTP) get information [here](https://apidocs.pishock.com/#header-authenticating)\n\n### ApiType\nCShocker [![Github](https://img.shields.io/badge/Github-8A2BE2)](https://github.com/C9Glax/cshocker) [here](https://github.com/C9Glax/CShocker/blob/master/CShocker/Shockers/Abstract/ShockerApi.cs)\n\n### ShockerIds\nList of Shocker-Ids, comma seperated.\n\n`[ \"ID-1-asdasd\", \"ID-2-fghfgh\" ]`\n\n### Intensity Range\nin percent\n\n`0-100`\n\n### Duration Range\nin ms\n- `0-30000` OpenShock\n- `0-15000` PiShock\n\n### Username (PiShockHttp only)\nFor PiShock (HTTP) get information [here](https://apidocs.pishock.com/#header-authenticating)\n\n### Sharecode (PiShockHttp only)\nFor PiShock (HTTP) get information [here](https://apidocs.pishock.com/#header-authenticating)\n\n## ShockerActions\n\n### TriggerEvent IDs\nFrom CS2GSI [![Github](https://img.shields.io/badge/Github-8A2BE2)](https://github.com/C9Glax/CS2GSI) [here](https://github.com/C9Glax/CS2GSI/blob/master/CS2GSI/CS2Event.cs)\n\n### ShockerIds\nList of Shocker-Ids, comma seperated. (Same as in configured Shocker)\n\n`[ \"ID-1\", \"ID-2\" ]`\n\n### Actions\nFrom CShocker [![Github](https://img.shields.io/badge/Github-8A2BE2)](https://github.com/C9Glax/cshocker) [here](https://github.com/C9Glax/CShocker/blob/master/CShocker/Shockers/ControlAction.cs)\n\n### ValueFromInput\nUse CS2GSI EventArgs value to determine Intensity (within configured IntensityRange)\n\n# Using\n### CS2GSI\n[![GitHub License](https://img.shields.io/github/license/c9glax/CS2GSI)](https://img.shields.io/github/license/c9glax/CS2GSI/LICENSE)\n[![NuGet Version](https://img.shields.io/nuget/v/CS2GSI)](https://www.nuget.org/packages/CS2GSI/)\n[![Github](https://img.shields.io/badge/Github-8A2BE2)](https://github.com/C9Glax/CS2GSI)\n[![GitHub Release](https://img.shields.io/github/v/release/c9glax/CS2GSI)](https://github.com/C9Glax/CS2GSI/releases/latest)\n### CShocker\n[![GitHub License](https://img.shields.io/github/license/c9glax/cshocker)](https://github.com/C9Glax/CShocker)\n[![Github](https://img.shields.io/badge/Github-8A2BE2)](https://github.com/C9Glax/cshocker)\n[![NuGet Version](https://img.shields.io/nuget/v/CShocker)](https://shields.io/badges/nu-get-version)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc9glax%2Fopencs2hock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fc9glax%2Fopencs2hock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc9glax%2Fopencs2hock/lists"}