Easily delist all your items whenever you go AFK, and easily relist them whenever you're back.
- You need to have NodeJS installed.
- Clone the repository. This can be done in many ways, but the easiest way is to download the zip file and extract it.
- Execute the following command in the extracted folder in order to install the necessary dependencies:
npm install
- Rename the
.env.example
file to.env
and replaceYOUR_API_KEY
with your CSGOEmpire API key, which can be found here.
Execute npm run offline
or node src/index.js offline
in the root folder.
Execute npm run online
or node src/index.js online
in the root folder. This will automatically relist all your items for the same custom percentage as they were previously listed for. If you wish to list them for the same price (rounded to the closest percentage) instead, you can execute npm run online -- --same-price
or node src/index.js online --same-price
instead.
The updates should generally speaking not break anything, but it is still recommended to delete the state.json
file and run npm install
after upgrading. Note that this will remove any offline state you've saved, which is why we recommend being online when upgrading.