{"id":34314382,"url":"https://github.com/splewis/csgo-retakes","last_synced_at":"2026-03-12T18:48:14.367Z","repository":{"id":23609605,"uuid":"26978737","full_name":"splewis/csgo-retakes","owner":"splewis","description":"CS:GO Sourcemod plugin for a site-retake gamemode","archived":false,"fork":false,"pushed_at":"2023-05-15T01:33:06.000Z","size":432,"stargazers_count":325,"open_issues_count":46,"forks_count":113,"subscribers_count":38,"default_branch":"master","last_synced_at":"2025-12-20T22:04:00.601Z","etag":null,"topics":["counter-strike","counter-strike-global-offensive","csgo","sourcemod"],"latest_commit_sha":null,"homepage":"","language":"SourcePawn","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/splewis.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}},"created_at":"2014-11-21T21:31:56.000Z","updated_at":"2025-08-13T18:58:02.000Z","dependencies_parsed_at":"2023-01-14T00:00:13.919Z","dependency_job_id":"ff51d96e-6f34-438c-87cd-df5ba5999c74","html_url":"https://github.com/splewis/csgo-retakes","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/splewis/csgo-retakes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splewis%2Fcsgo-retakes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splewis%2Fcsgo-retakes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splewis%2Fcsgo-retakes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splewis%2Fcsgo-retakes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/splewis","download_url":"https://codeload.github.com/splewis/csgo-retakes/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splewis%2Fcsgo-retakes/sbom","scorecard":{"id":841815,"data":{"date":"2025-08-11","repo":{"name":"github.com/splewis/csgo-retakes","commit":"9aae1570ff4c13b2b501a6f336562486c40d3c81"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":8,"reason":"Found 24/30 approved changesets -- score normalized to 8","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.3.4 not signed: https://api.github.com/repos/splewis/csgo-retakes/releases/9225918","Warn: release artifact v0.3.3 not signed: https://api.github.com/repos/splewis/csgo-retakes/releases/8863213","Warn: release artifact v0.3.2 not signed: https://api.github.com/repos/splewis/csgo-retakes/releases/2966696","Warn: release artifact v0.3.1 not signed: https://api.github.com/repos/splewis/csgo-retakes/releases/2930864","Warn: release artifact v0.3.0 not signed: https://api.github.com/repos/splewis/csgo-retakes/releases/1905524","Warn: release artifact v0.3.4 does not have provenance: https://api.github.com/repos/splewis/csgo-retakes/releases/9225918","Warn: release artifact v0.3.3 does not have provenance: https://api.github.com/repos/splewis/csgo-retakes/releases/8863213","Warn: release artifact v0.3.2 does not have provenance: https://api.github.com/repos/splewis/csgo-retakes/releases/2966696","Warn: release artifact v0.3.1 does not have provenance: https://api.github.com/repos/splewis/csgo-retakes/releases/2930864","Warn: release artifact v0.3.0 does not have provenance: https://api.github.com/repos/splewis/csgo-retakes/releases/1905524"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 24 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T20:38:50.597Z","repository_id":23609605,"created_at":"2025-08-23T20:38:50.597Z","updated_at":"2025-08-23T20:38:50.597Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30438511,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T14:34:45.044Z","status":"ssl_error","status_checked_at":"2026-03-12T14:09:33.793Z","response_time":114,"last_error":"SSL_read: 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-global-offensive","csgo","sourcemod"],"created_at":"2025-12-17T10:57:17.444Z","updated_at":"2026-03-12T18:48:14.351Z","avatar_url":"https://github.com/splewis.png","language":"SourcePawn","funding_links":[],"categories":[],"sub_categories":[],"readme":"csgo-retakes\n=============\n\n[![Build status](http://ci.splewis.net/job/csgo-retakes/badge/icon)](http://ci.splewis.net/job/csgo-retakes/)\n[![GitHub Downloads](https://img.shields.io/github/downloads/splewis/csgo-retakes/total.svg?style=flat-square\u0026label=Downloads)](https://github.com/splewis/csgo-retakes/releases/latest)\n[![Discord Chat](https://img.shields.io/discord/926309849673895966.svg)](https://discord.gg/zmqEa4keCk)\n\nThis is a CS:GO [Sourcemod](http://www.sourcemod.net) plugin that creates a competitive-minded gamemode called retakes. The idea is that the T players spawn in a bombsite with the bomb, while the CT spawn on rotation routes and try to retake the site and defuse the bomb.\n\n**Status: Maintained. Not actively developed.**\n\n\n## For plugin developers\n\nMy goal is to keep the base retakes plugin as simple as possible. See [retakes.inc](scripting/include/retakes.inc) for how to extend the plugin.\n\nHere are some examples of what could be done using those natives:\n- different weapon allocation policies (by default, everyone gets an AK/M4, armor/helmet, and a kit)\n- change how players get put into teams by changing their \"round points\", the team ratios, or by changing who is in the waiting queue if the game is full\n- change how the bombsite is chosen each round (by default one is randomly picked each round)\n\n\n## Download\nStable releases are in the [GitHub Releases](https://github.com/splewis/csgo-retakes/releases) section.\n\nYou may download the [latest development build](http://ci.splewis.net/job/csgo-retakes/lastSuccessfulBuild/) if you wish. If you report any bugs from these, make sure to include the build number (when typing ``sm plugins list`` into the server console, the build number will be displayed with the plugin version).\n\n\n## Installation\n\n#### Requirements\n\n**Only Sourcemod 1.9 or later is supported.**\n\n#### Instructions\nDownload the archive and extract the files to the game server. From the download, you should have installed the following (to the ``csgo`` directory):\n- ``addons/sourcemod/plugins/retakes.smx``\n- ``addons/sourcemod/translations``\n- ``cfg/sourcemod/retakes``\n\n#### Configuration\nThe file ``cfg/sourcemod/retakes/retakes.cfg`` will be autogenerated when the plugin is first run and you can tweak it if you wish.\n\nYou may also tweak the values in ``cfg/sourcemod/retakes/retakes_game.cfg``, which is executed by the plugin each map start.\n\nHere are a few important cvars that are in ``cfg/sourcemod/retakes/retakes.cfg``:\n- ``sm_retakes_maxplayers``: maximum number of players allowed in the game at once\n- ``sm_retakes_ratio_constant``: what percentage of players go on the T team\n\nYou can enable optional addon plugins for more features, read the [Addon Plugins](#addon-plugins) section for more information.\n\n\n## Building\nThe build process is managed by my [smbuilder](https://github.com/splewis/sm-builder) project. You can still compile retakes.sp without it in the normal fashion, however.\n\nTo compile, you will need:\n- [SMLib](https://github.com/bcserv/smlib)\n\nYou should make sure you have a relatively recent version of smlib - some changes were made to accommodate sourcemod 1.7 changes. The plugin is currently compiled against sourcemod 1.7.1.\n\n\n## Creating and Editing Spawns\n\nEdit mode can be launched by using the ``sm_edit`` command (!edit in chat), which requires the map-change admin flag. Doing this brings up the edit menu which makes it easy to modify spawns.\n\nHere is how to operate the spawn editor via commands:\n- use ``sm_edit`` to launch into edit mode, this makes more spawn-editing commands avaliable (you shouldn't do this on a live, public server). Example: ``!edit`` in chat on a map whose spawns you want to edit\n- use ``sm_new`` to create a new spawn. Example: ``!new ct a`` in chat will create a new CT spawn for bombsite A where you are standing.\n- use ``sm_show`` to show the spawns for a site. Example: ``!show a`` in chat will show all spawns for bombsite A.\n- use ``sm_delete`` to delete the nearest spawn. Example: ``!deletespawn`` in chat.\n- use ``sm_goto`` to go to a spawn. Spawns are indexed from 0 upwards. Example: ``!goto 10`` to go to spawn 10.\n- use ``sm_iteratespawns`` to fake ``sm_goto`` commands every few seconds to visit every spawn in the map.\n- use ``sm_deletemapspawns`` to delete all spawns for the current map\n\nNote: the plugin automatically saves the changed spawns on map ends to a file in addons/sourcemod/configs/retakes.\n\n\n## Addon plugins\n\nThe following plugins are optional and disabled by default. To enable them move them up from the ``addons/sourcemod/plugins/disabled`` directory to ``addons/sourcemod/plugins``.\n\n#### retakes_sitepicker\nThis plugin adds a simple admin command sm_site to let an admin pick between bombsites being used. For example, then can type: \"!site a\" or \"!site any\".\n\n#### retakes_standardallocator\nThis plugin provides a simple ``sm_guns`` (!guns in chat) command that lets users choose between regular and silenced M4's and whether they want to ever recieve an AWP. It also randomly gives out a small amount of grenades.\n\n#### retakes_pistolallocator\nThis plugin is an alternative to retakes_standardallocator (meaning: you shouldn't use both of these plugins, just one!) that makes every round a pistol round and lets players choose which pistol they have.\n\n## Contribution and Suggestions\nFirst, check the [issue tracker](https://github.com/splewis/csgo-retakes/issues?state=open) to ask questions or make a suggestion.\nIf you have a suggestion you can mark it as an enhancement.\n\n**Style/gameplay design choices that don't have to made here, should not be made here**. Spawns can be edited by anyone running a server. How weapons are given can be set by the natives and forwards provided. Please don't submit requests to change these, since everyone will want something different.\n\nGuidelines\n- Create a fork on github, clone that, then create a branch to work on ``git checkout -b mybranchname``\n- Follow the code-style already used as much as you can\n- Submit a pull request when you're happy with the new feature/enhancement/bugfix\n- Favor readability and correctness over all else\n- For a moderately advanced feature, it may be simpler to write it as a plugin that uses the retakes natives from [retakes.inc](scripting/include/retakes.inc)\n- **Keep it simple, stupid**\n\n### Discord Chat\n\nA [Discord](https://discord.gg/zmqEa4keCk) channel is available for general discussion.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsplewis%2Fcsgo-retakes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsplewis%2Fcsgo-retakes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsplewis%2Fcsgo-retakes/lists"}