You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 5, 2025. It is now read-only.
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.
49
60
50
61
## What a script would look like
51
62
```
@@ -74,9 +85,12 @@ disconnect
74
85
### Chat
75
86
Sends a message to the servers chat.
76
87
Usage: `chat <message>`
88
+
89
+
Variables: Player Name: `{player}`, Random String: `{random}`
90
+
77
91
Example:
78
92
```
79
-
chat Hello there!
93
+
chat Hello there! {player}
80
94
chat /help
81
95
```
82
96
### useHeld
@@ -85,38 +99,51 @@ Usage: `useHeld`
85
99
### setHotbar
86
100
Sets hotbar to the selected slot.
87
101
Usage: `setHotbar <number>`
88
-
Example:
102
+
103
+
Example:
89
104
```
90
105
setHotbar 0
91
106
setHotbar 3
92
107
```
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`.
95
110
Usage: `winClick <number> <type>`
111
+
96
112
Example:
97
113
```
98
114
winClick 36 0
99
115
winClick 24 1
100
116
```
101
117
**If you are struggling on what slots you should click, here are some images to represent!**
@@ -128,76 +155,53 @@ Enables/Disables Anti-AFK on the bot.
128
155
Usage: `afkOn/afkOff`
129
156
### Disconnect
130
157
Disconnects the Bot.
131
-
Usage: `disconnect`
132
-
### Reconnect
158
+
Usage: `disconnect`
159
+
### Reconnect
133
160
Reconnects the bot.
134
161
Usage: `reconnect`
135
162
### startScript
136
163
Starts the script.
137
164
Usage: `startScript`
138
-
### Delay
165
+
### Delay
139
166
Delays the next task.
140
-
Usage: `delay <milliseconds - 1000 by default>`
167
+
Usage: `delay <milliseconds>` default 1000
168
+
141
169
Example:
142
170
```
143
171
chat Hi
144
172
delay 1200
145
173
chat Hello
146
174
```
147
175
# 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**
149
179
## What an account file would look like
150
180
```
151
181
vampers
152
182
nVoid
153
183
Danilo764
154
184
```
155
185
# 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.
158
187
## What a proxy file would look like
159
188
```
160
-
12.34.56.78:9876
161
-
54.3.210.123:45678
189
+
ProxyIP:ProxyPORT:Username:Password
162
190
98.7.65.4:32101
163
191
```
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.
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.
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:
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`)
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`
0 commit comments