SmartSniper is a high tech adaptive sniper. This sniper's autosniping and automatic delay tuning assists in helping you obtain the best username possible! Rewrite coming out soon!
Join the Discord for live updates, polls, and support: https://discord.gg/KweaD6G97f
- Autosniping 3 Letters
- Auto Delay Tuning
- Gift Card Sniping
- Intuitive CUI
- Normal Sniping
- Automatic Microsoft Authorization
- Automatic NameMC Claiming
- Webhook on Success
The overseeing design goal for SmartSniper is to make the experience for all users to be as interactive and hands free as possible.
We hope to make the sniping experience so automated that once you let it run, it will snipe a name without any interaction.
WARNING: This is not stable yet. There will be bugs that need to be fixed. We are not liable for any missed names.
SmartSniper requires Python v3.8 to run. It also helps to install Git for installation of SmartSniper.
Install the dependencies and start the program.
git clone https://github.com/snipesmarter/smart-sniper.git
cd smart-sniper
pip install -r requirements.txt
You can replace the first step with just downloading the zipped file of this and extracting. You will, however, need to open CMD/*sh to the folder afterwards.
Open CMD/*sh in the folder and run this command:
python main.py
What account type? Enter `g` for giftcard snipes and `m` for mojang and `ms` for microsoft accounts, if you want to get your micorsoft/gc token automatically type `v`: (Choose your option)
What is your bearer token: (look at the section below if you dont know what this means, or how to get it!)
selected mojang account, transferring to mojang sniper.
Account Email: (enter your mojang email here)
Password: (enter your password here)
200
{clientToken: , accessToken: }
200
Here, you will choose autosniper or manual sniping.
What sniper mode? Enter `a` for autosniper and `n` for single name sniping: a
starting
What delay: (enter 0 if you dont know what to do here)
{'name': 'l1c', 'dropdate': 1620408382}
delay tuned
delay is now: 0
droptime: 1620408382
Now you are set to autosnipe with your giftcard.
What sniper mode? Enter `a` for autosniper and `n` for single name sniping: n
what name do you want to snipe: (enter the name you want to snipe)
what delay do you want: (try 250 at the start)
droptime: 1620607024 (this will vary on the name)
Response received @ 2021-05-09 17:37:04.086939 with the status 429
Response received @ 2021-05-09 17:37:04.105448 with the status 403
Response received @ 2021-05-09 17:37:04.123321 with the status 200
265 inputted delay
0:00:00.123813
['00', '123813']
changeint 23
delay: 265 tuned_delay 288
To get your bearer token manually:
- Sign in to your Minecraft account at minecraft.net
- open the chrome / firefox dev tools (ctrl + shift + i) or right click and click inspect
- Go to the "console" tab
- paste the following code into the console:
console.log(document.cookie.match(/bearer_token=([^;]+)/)?.[1] ?? 'There is no bearer token in your cookies, make sure you are on minecraft.net and that you are logged into your account.')
Copy the output, this is your bearer token.
warning, if you have generated a token in the past 12 hours dont do it again your token is saved to the token txt file!, click enter to continue...
NOTE: IF YOU HAVE NOT INSTALLED THE AUTHENTICATION SERVER GO HERE ( https://github.com/coolkidmacho/McMsAuth ), THIS WILL NOT WORK WITHOUT IT, click enter to continue
Microsoft email: (email)
Microsoft password: (password)
(your token)
If you plan to use NameMC auto-claimer, you must be using Mojang accounts. This process works on Windows and Linux.
Your first task is to unzip the file called namemc
after doing that, follow these instructions to the T (run in CMD/*sh):
cd namemc
python setup.py install
This is a very important step. After completing this, edit your config.json file to have NameMC autoclaim set to True
.
Thanks to Cypheriel#3837 for the original code, this could not be done without him. Check him out here: GitHub
Smart Sniper utilizes public APIs and software made by me (@coolkidmacho) and others.
- 3USER
- Public API to check upcoming 3 letter names.
- https://api.3user.xyz/list
- Kqzz's API
- Used to determine drop times.
- https://github.com/Kqzz/MC-API
- PyCraft
- Used to help auto-claim NameMC profiles.
- https://github.com/ammaraskar/pyCraft
The programs listed here are helpful, but not required.
- Dimension 4
- Used to sync time with world time servers (NTP).
- http://www.thinkman.com/dimension4/download.htm
Want to contribute? Great!
Contribute to our GitHub at https://github.com/snipesmarter/smart-sniper/.
Here are some suggested contributions:
- Work on issues!
- Fix bugs, determine invalid or valid, get info.
- Vanity edits!
- Things like tidying the README, cleaning code, etc.
Note that you don't have to do one something from this list, it's just some ideas.
SmartSniper is licensed under the GNU General Public License v3.0.
You may:
- Commercially use this software.
- Make sure to disclose source upon request if done.
- Modify and redistribute.
- Disclose modifications and keep the license the same.
- Patent and private use.
Head to /LICENSE for full license information.
Thanks to coolkidmacho for:
- maintaining this repo
- lots of code
Thanks to Kqzz for:
- helping a lot with this project
- code snippets from MCsniperPY for Mojang authentication
Thanks to Cypheriel#3837 on Discord for:
- NameMC automatic claim script
Thanks to MohanadHosny for:
- Microsoft authentication code (specifically
msauth.py
).
Thanks to chrommie and kenny for:
- main.py updates
- prompt tidying
Thanks to chrommie and peet for:
- main.py updates
- type declarations
Thanks to surprise for:
- updated bearer grabber script
- main.py tidying
Thanks to coolkidmacho, overestimate, [TanujKS], and Kqzz for:
- this README and it's contents
Thanks to issue submitters, issue commenters, stargazers, and anyone missed here for:
- making this project grow
- helping to find and fix bugs