Skip to content

Citrinate/CS2Script

Repository files navigation

Counter-Strike 2 Script for ArchiSteamFarm

Check out my other ArchiSteamFarm projects GitHub all releases

Introduction

This userscript allows you to perform several Counter-Strike 2 actions directly from the Steam Community website.

Installation

  1. Install a userscript manager like Violentmonkey
  2. Go here and click "Install"
  3. Make sure that you have:

Features

Storage Unit Management

Access your storage unit contents directly from your Steam inventory. Interact with individual storage units or all of them at once. Once loaded, the contents are cached, and can be viewed without your ASF bot.

Storage Unit Selection Storage Unit Interface


Store Access

View and purchase items from the in-game store. Look for the "View Store" button at the top of your CS2 inventory.

Storage Unit Selection


Item Inspection

View detailed item information in Steam inventories or on the Steam marketplace. Each ASF bot can inspect one item per second, so the more bots you have, the faster you'll be able to inspect large amounts of items. This can be disabled under "Settings" if you're also using another tool that provides a similar feature.

Inventory Items Market Items

Usage

Status and controls for the script can be found in the account dropdown menu while on any Steam inventory or market listing page. If using non-default IPC settings with ASF, you'll need to configure how the script connects to ASF under "Settings".

Menu Settings

Most actions require a connection to the CS2 game coordinator via the ASF CS2 Interface plugin. The script will prompt you to start the interface for these actions. By default, the interface automatically stops after a period of inactivity (viewing a page with the script is considered activity). You can also manually stop the interface from the dropdown menu.

Item inspection also requires the interface to be running on at least one ASF bot. However, the script will not prompt you to start it for this. You must instead start the interface manually from the dropdown menu. If you want certain bots to have the interface always running for this purpose, it is recommended to configure those bots to auto-start the interface.

Is this safe to use?

This userscript and its associated ASF plugin work without knowing any of your private account details (their connection to Steam is fully managed by ArchiSteamFarm). All source code is open source, and all releases obtained from official sources are verifiably built from that source code.

Nothing here interacts with the Counter-Strike 2 game client, nor are you even required to have the game installed, and so there is no risk of receiving a VAC ban. No Steam account data, CS2 item data, or any other information is shared through usage of this script or its associated plugin.

This tool works by sending requests to the Counter-Strike 2 game coordinator. No serious attempt is made to trick Valve's servers into thinking these requests are coming from an authentic Counter-Strike 2 game client, and so it should be assumed that Valve can identify all accounts using tools like this. Valve has not been known to take action against such accounts, but there is no guarantee that this will always be the case.