Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit b6caa31

Browse files
committed
Update v3.0
1 parent 3503920 commit b6caa31

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+3576
-2297
lines changed

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true

.eslintignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node_modules
2+
dist
3+
out
4+
.gitignore

.eslintrc.cjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
extends: ['eslint:recommended', '@electron-toolkit', '@electron-toolkit/eslint-config-prettier']
3+
}

.gitignore

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
node_modules
2-
release-builds
32
dist
4-
package-lock.json
3+
out
4+
package-lock.json
5+
.DS_Store
6+
*.log*
7+
.vscode

.prettierignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
out
2+
dist
3+
pnpm-lock.yaml
4+
LICENSE.md
5+
tsconfig.json
6+
tsconfig.*.json

.prettierrc.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
singleQuote: true
2+
semi: false
3+
printWidth: 100
4+
trailingComma: none

README.md

Lines changed: 79 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<p align="center">
2-
<img src="https://cdn.discordapp.com/attachments/1101173583956422736/1101178737875234816/fqwefqef.png"/>
2+
<img src="https://github.com/RattlesHyper/TrafficerMC/assets/83329088/28ffc234-65f7-4847-a0ad-1df8a52a368d"/>
33
</p>
4-
<p align="center">The best, free and open source Minecraft botting tool.</p>
4+
<p align="center"><b style="font-size: 20px">The best, free and open source Minecraft botting tool.</b></p>
55
<p align="center">
66
<a href="https://github.com/RattlesHyper/TrafficerMC/releases/latest">
77
<img src="https://img.shields.io/github/v/release/RattlesHyper/Trafficermc?color=red&style=for-the-badge"/>
@@ -12,40 +12,51 @@
1212
</a>
1313
</p>
1414

15-
<hr />
1615

1716
## Features
1817
TrafficerMC has a variety of features. Some of them are:
19-
- Anti-AFK
18+
- Anti AFK
19+
- Spam with Bypass
20+
- Name Generator
21+
- Full Inventory Control
22+
- Movement Control
23+
- EasyMC Support
24+
- Auto Reconnect
2025
- Killaura
21-
- Spam w/ Anti-Spam prevention
2226
- [Scripting](#scripting)
23-
- [Accounts](#account-file)
2427
- [Proxies](#proxies)
25-
- [Theme](#theme)
26-
- Linear Delay
27-
- Auto Reconnect
28-
- EasyMC Support
2928
- and way more!
3029

3130
#### Minecraft Version 1.8.x - 1.20
3231

32+
##### Check out [Build Guide](#build-guide) to build TrafficerMC for your machine.
33+
3334
## Media
3435

35-
![](https://media.discordapp.net/attachments/1101173583956422736/1105880170751078400/image.png)
36+
![TrafficerMC v3.0](https://github.com/RattlesHyper/TrafficerMC/assets/83329088/f0d90bb4-ca3b-4a7c-acdc-b851e386d632)
37+
**TrafficerMC v3.0**
38+
39+
![Settings](https://github.com/RattlesHyper/TrafficerMC/assets/83329088/b1b103f1-1720-46fc-91ae-22e4ac186227)
40+
**Settings**
41+
42+
![Botting](https://github.com/RattlesHyper/TrafficerMC/assets/83329088/b1951a59-7c90-40a9-b273-1b0feab52d92)
43+
**Botting**
44+
45+
![Scripting](https://github.com/RattlesHyper/TrafficerMC/assets/83329088/2a25acd9-0c63-4042-8f11-68179aec0baa)
46+
**Scripting**
3647

37-
![](https://media.discordapp.net/attachments/1101173583956422736/1105881853849772062/TrafficerMC_BCQhRUpAWj.png)
48+
![Proxy](https://github.com/RattlesHyper/TrafficerMC/assets/83329088/36f7cf6d-80e3-4d63-bb4f-ed23e8df8df1)
49+
**Proxy**
3850

39-
![](https://media.discordapp.net/attachments/1101173583956422736/1105881852948009090/TrafficerMC_Agn7kon7Np.png)
4051
## Tutorials
4152
[![](https://img.youtube.com/vi/lD3poymjVAk/maxresdefault.jpg)](https://www.youtube.com/watch?v=lD3poymjVAk)
42-
TrafficerMC v2.1
53+
TrafficerMC v2.1 Tutorial Video
4354

4455
[![](https://img.youtube.com/vi/eAe9m-d-el0/maxresdefault.jpg)](https://www.youtube.com/watch?v=eAe9m-d-el0)
45-
TrafficerMC v0.4
56+
TrafficerMC v0.4 Preview Video (Outdated)
4657

4758
# Scripting
48-
Scripting can allow the bot to do things automatically without any user input. It can also help if you are making multiple bots do the same things.
59+
Scripting can allow the bot to do things automatically without any user input. It can also help if you are making multiple bots do the same things. All script executions will be shown on manual inputs, it can be used in scripting.
4960

5061
## What a script would look like
5162
```
@@ -74,9 +85,12 @@ disconnect
7485
### Chat
7586
Sends a message to the servers chat.
7687
Usage: `chat <message>`
88+
89+
Variables: Player Name: `{player}`, Random String: `{random}`
90+
7791
Example:
7892
```
79-
chat Hello there!
93+
chat Hello there! {player}
8094
chat /help
8195
```
8296
### useHeld
@@ -85,38 +99,51 @@ Usage: `useHeld`
8599
### setHotbar
86100
Sets hotbar to the selected slot.
87101
Usage: `setHotbar <number>`
88-
Example:
102+
103+
Example:
89104
```
90105
setHotbar 0
91106
setHotbar 3
92107
```
93-
### winClick
94-
Clicks on a window item. To right click, use `0`. Otherwise, to left click, use `1`.
108+
### winClick
109+
Clicks on a window item. To left click, use `0`. Otherwise, to right click, use `1`.
95110
Usage: `winClick <number> <type>`
111+
96112
Example:
97113
```
98114
winClick 36 0
99115
winClick 24 1
100116
```
101117
**If you are struggling on what slots you should click, here are some images to represent!**
102-
Chest interface:
103-
![](https://cdn.discordapp.com/attachments/963491992506073108/967223630436118648/unknown.png)
104-
Inventory interface:
105-
![](https://cdn.discordapp.com/attachments/963491992506073108/967224021823397888/unknown.png)
118+
119+
**Every chest starts from `0`**
120+
121+
#### Chest interface:
122+
123+
![Chest](https://github.com/RattlesHyper/TrafficerMC/assets/83329088/058fd1d2-69c2-41f6-bfd3-3b9665c037e5)
124+
125+
#### Inventory interface:
126+
127+
![Inventory](https://github.com/RattlesHyper/TrafficerMC/assets/83329088/83f952e2-18f1-4c79-8a6d-e7a6880a6879)
128+
106129
### closeWindow
107130
Closes the current window.
108-
Usage: `closeWindow`
131+
Usage: `closeWindow`
109132
### Drop
110133
Drops the slot item if none specified drops all.
111134
Usage: `drop <number>`
135+
112136
Example:
113137
```
114138
drop
115139
drop 36
116140
```
117141
### Movement
118142
Controls the bot movement.
119-
Usage: `startControl/stopControl forward/backwards/left/right/jump/sneak/sprint`
143+
Usage: `startMove/stopMove <forward/backwards/left/right/jump/sneak/sprint>`
144+
145+
Reset controls: `resetMove`
146+
120147
Example:
121148
```
122149
startControl forward
@@ -128,76 +155,53 @@ Enables/Disables Anti-AFK on the bot.
128155
Usage: `afkOn/afkOff`
129156
### Disconnect
130157
Disconnects the Bot.
131-
Usage: `disconnect`
132-
### Reconnect
158+
Usage: `disconnect`
159+
### Reconnect
133160
Reconnects the bot.
134161
Usage: `reconnect`
135162
### startScript
136163
Starts the script.
137164
Usage: `startScript`
138-
### Delay
165+
### Delay
139166
Delays the next task.
140-
Usage: `delay <milliseconds - 1000 by default>`
167+
Usage: `delay <milliseconds>` default 1000
168+
141169
Example:
142170
```
143171
chat Hi
144172
delay 1200
145173
chat Hello
146174
```
147175
# Account File
148-
Account filing connects the bots with certain names that aren't set in General tab. It can be useful if you want to bot a server with NameMC names, for example. To make a account file, you would need to go into a text file editor, and apon entering all the usernames, you save it as a `.txt` file. You can name it anything. **Please note that you can set Max Accounts in General Tab or it will use all the names**
176+
Account file must be a `.txt` file. Put the usernames of the accounts you want to use line by line. Microsoft accounts can be used the same way.
177+
178+
**Please note that you can set Max Accounts in General Tab or it will use all the names**
149179
## What an account file would look like
150180
```
151181
vampers
152182
nVoid
153183
Danilo764
154184
```
155185
# Proxies
156-
Proxy file must be a ` .txt ` file. And it's used in Random order
157-
Proxies connects the bots with different ip addresses. This can be very useful to bypass the max connections to a server, or bypass the max registerations if it's a cracked server. To make a proxy file, you would need to go into a text file editor, and apon entering all the proxies with ports, you save it as a `.txt` file. You can name it anything. **Please note that you will need to set the SOCKS protocol in Settings Tab for the bots to join!**
186+
TrafficerMC currently support all protocols and Auth proxies, HTTP is premium only.
158187
## What a proxy file would look like
159188
```
160-
12.34.56.78:9876
161-
54.3.210.123:45678
189+
ProxyIP:ProxyPORT:Username:Password
162190
98.7.65.4:32101
163191
```
164-
# Theme
165-
Custom CSS allows you to customize TrafficerMC the way you wanted. To make a custom css file, you would need to go into a text file editor, and apon finishing the css file, you save it as a `.css` file. You can name it anything. After all that, the file must be loaded in Settings tab.
166-
## What the css file should look like
167-
```
168-
:root {
169-
--background-image: url('../icons/app/Background.svg');
170-
--bg-color: #0c0d11;
171-
--text-color: #f6f5f5;
172-
--button-color: #5b8191;
173-
--button-text-color: #f6f5f5;
174-
--button-opacity: 1;
175-
--button-border-color: #454864;;
176-
--ul-bg-color: #171a25;
177-
--ul-opacity: 0.7;
178-
--downbar-color: #3D75C9;
179-
--selected-item-color: #00e1ff88;
180-
--selected-item-opacity: 1;
181-
--downbar-opacity: 1;
182-
--sidebar-color: 0 0 0;
183-
--sidebar-opacity: 0.2;
184-
--topbar-color: 0 0 0;
185-
--topbar-opacity: 0.6;
186-
}
187-
```
188-
# Name generator
189-
Name generation randomizes the bot's name without any user input. There are 2 current options, which are `(SALT)` and `(LEGIT)`. These must be input in the Username bit in General tab.
190-
## What name generation would look like
191-
```
192-
TrafficerMC_(SALT) = TrafficerMC_hlpC / TrafficerMC_ggKt
193-
(LEGIT) = JogBeeRibTap / GitFunWitSinWar
194-
```
195-
# Building TrafficerMC
196-
If you want to run TrafficerMC in an IDE environment, you can do so. You would need [node.js](https://nodejs.org/en/download) installed before continuing. After node.js is installed, you need to make a folder to put all TrafficerMC code in, and open up a terminal or powershell in that folder. Once you have a terminal opened and on the folder, you need to execute these 3 commands:
197-
198-
1. `git clone https://github.com/RattlesHyper/TrafficerMC`
199-
2. `npm install`
200-
3. `npm start`
201-
202-
If you want to build TrafficerMC, then run `npm run <option>`. The build will be put into /dist folder.
203-
If you want to run TrafficerMC on different OSes, you can do so by doing `npm start <os>`. The current OSes supported are Windows 64-Bit (`winx64`), Windows 32-Bit (`winx86`), Linux 64-Bit (`linux64`) & Linux 32-Bit (`linux86`)
192+
193+
# Build Guide
194+
195+
**Requirements:** [NodeJS](https://nodejs.org/en/download)
196+
197+
Clone TrafficerMC repo with Git Clone: `git clone https://github.com/RattlesHyper/TrafficerMC` or Download the Source Code, then navigate to the folder. and open Terminal/Command Prompt/PowerShell
198+
199+
**Build Commands:**
200+
201+
**Windows:** `build:win`
202+
203+
**Mac:** `build:mac`
204+
205+
**Linux:** `build:linux`
206+
207+
If you want to run from source code use `npm run dev`

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.3
1+
3.0

electron-builder.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
appId: com.rattleshyper.trafficermc
2+
productName: TrafficerMC
3+
directories:
4+
buildResources: build
5+
files:
6+
- '!**/.vscode/*'
7+
- '!src/*'
8+
- '!electron.vite.config.{js,ts,mjs,cjs}'
9+
- '!{.eslintignore,.eslintrc.cjs,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}'
10+
- '!{.env,.env.*,.npmrc,pnpm-lock.yaml}'
11+
asarUnpack:
12+
- resources/**
13+
win:
14+
target: portable
15+
icon: src/renderer/assets/icons/icon.png
16+
nsis:
17+
artifactName: ${name}-${version}-setup.${ext}
18+
shortcutName: ${productName}
19+
uninstallDisplayName: ${productName}
20+
createDesktopShortcut: always
21+
mac:
22+
entitlementsInherit: build/entitlements.mac.plist
23+
extendInfo:
24+
- NSCameraUsageDescription: Application requests access to the device's camera.
25+
- NSMicrophoneUsageDescription: Application requests access to the device's microphone.
26+
- NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder.
27+
- NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder.
28+
notarize: false
29+
dmg:
30+
artifactName: ${name}-${version}.${ext}
31+
linux:
32+
target:
33+
- AppImage
34+
- snap
35+
- deb
36+
maintainer: electronjs.org
37+
category: Utility
38+
appImage:
39+
artifactName: ${name}-${version}.${ext}
40+
npmRebuild: false
41+
publish:
42+
provider: generic
43+
url:

electron.vite.config.mjs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { defineConfig } from 'electron-vite'
2+
3+
export default defineConfig({
4+
main: {
5+
plugins: []
6+
},
7+
preload: {
8+
plugins: []
9+
},
10+
renderer: {}
11+
})

0 commit comments

Comments
 (0)