Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kingshot Gift Code Redeemer

This project is a Node.js automation script built with Playwright that redeems a Kingshot gift code for multiple player IDs in sequence. It simulates real user behavior by interacting with the official gift code webpage, handling login, redemption, logout. The script accepts a gift code via a CLI argument, iterates over a list of player IDs, and safely redeems the code while respecting server limits using delays. Requires Node.js and Playwright to run.

How to Run

  1. Install dependencies: npm install
  2. Install Playwright browsers (required once): npx playwright install
  3. Populate playerId.js with the player IDs you want to redeem the gift code for.
image
  1. Run the script with the gift code: npm run redeem -- --giftcode=XXXXX

Note that there has been cases where redeeming too quickly after the code has been release will "redeem" the code but will not show up in the mail. In cases like these try re-running the script at a later time for it to show up in the mail. Recommended to run the script around an hour of a new gift code releasing

About

Automation of Kinghot giftcodes for a group of players.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages