7Placer

typescript pixelplace.io bot

目前为 2024-06-16 提交的版本。查看 最新版本

作者
4271X
评分
0 0 0
版本
v1.3.1a
创建于
2024-06-16
更新于
2024-06-16
大小
27.5 KB
许可证
暂无
适用于

--- 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 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.
multibot(command, index?) // Here are the available commands for multibot: ('connectall'), ('connect', index), ('disconnectAll'), ('disconnect', index).

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)

Rest of the credits are in the github.