Bonk.io Auto Colour Switching

Automatically rotate through bonk icon colours/teams

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
FigurativeLag
今日安裝
1
安裝總數
1,152
評價
1 0 1
版本
1.9.8
建立日期
2022-11-22
更新日期
2023-03-25
尺寸
4.4 KB
授權條款
Apache 2.0
腳本執行於

Bonk.io Auto Colour Switching

This script will automatically, randomly rotate through bonk.io team colours. It will only run in custom games; you can't change your colour in quick play, as far as I know. Look below the main game screen (where the bonk description notes are supposed to be) to see the UI. Naturally, if a different extension is already using that, they will conflict.

Some of the credit also goes to LegendBoss. I looked at his Bonk Commands script as a reference for...

  1. How to capture and send data to the WebSocket
  2. How to detect if you are in a custom game

Changelog

  • 1.9.5: Only fire the team switch command if you are in a custom game (avoid getting disabled_in_quick messages)
  • 1.9: Added quick disable/enable buttons
  • 1.8: Fixed critical bug preventing websocket sending if you visit a quick play room before a custom game
  • 1.7: Fixed critical bug preventing websocket sending if Bonk Commands isn't installed
  • 1.5: Added interval editor textbox
  • 1.4: Switch to websocket as backend rather than HTML buttons
  • 1.3: Switch to checkboxes as UI
  • 1.0: Initial release

Changes not listed are too minor to be worth describing.