7Placer

typescript pixelplace.io bot

Автор
Azti
Щоденних встановлень
0
Всього встановлень
24
Рейтинги
0 0 0
Версія
1.4.0b
Створено
16.06.2024
Оновлено
19.06.2024
Ліцензія
Н/Д
Відноситься до

--- 7Placer pixelplace.io bot ---

Pixelplace.io websocket userscript written in TypeScript using trim21's webpack userscript template.
Made by azti with love.
If you want to make your own version, visit the GitHub

To execute commands or change variables, do it in the devtools console (F12 or CTRL+SHIFT+I): seven.commandhere()

Make sure to be in the top javascript context (the dropdown at the top left in the console.)

Current keybinds:

X - Makes a square, press to select Pos1 then Pos2. (select color normally)
Alt + B - Press on the coordinate to start, drop image.

Current commands:

getAuth() // Returns the auth of the currently logged account.
saveAuth(username, authId, authKey, authToken) // Saves the account auth and username from the arguments.
saveAccount() // Automatically saves the currently logged account.
deleteAccount(username or index)// Deletes either the username or the index of the accounts list in the args.
connect(username or 'all') // Connects bots to the websocket for the multibot.
disconnect(username or 'all') // Disconnects bots from the websocket for the multibot.

Current global variables:

bots: [], // array of active bots (there will be always 1, which is the client)
pixelspeed: 21, // ms from one pixel to the next one.
queue: [], // current pixels in the queue.
inprogress: false, // queue in progress. (boolean)
protect: false, // queue pixel protection.
tickspeed: 1000, // lag prevention from continous loops. (lower to reduce lag)
order: 'fromCenter', // Current sorting methods are 'rand', 'colors', 'vertical', 'horizontal', 'circle'. (if invalid will be circle)

Rest of the credits are in the github.