IdlePixel Custom Interactor

Sends, receives, and displays CUSTOM websocket frames

当前为 2024-04-08 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Lux-Ferre
评分
0 0 0
版本
2.3.0
创建于
2023-04-14
更新于
2024-04-08
大小
10.5 KB
许可证
MIT
适用于

Custom Interactor

Note: This is a development tool and has no use for players that aren't working with custom network messages.

Dev tool which adds a panel (linked at top of page) to conveniently use CUSTOM type websocket messages. Panel is responsive and will match theme to UI-Tweaks if it is present. Messages should follow the ACS format: CUSTOM=player~callbackId:plugin:command:payload

'callbackId' is handled by IP+
'plugin' is taken from the plugin override input on send, or defaults to "interactor"
'command' is taken from the command input on send
'payload' is taken from the payload input on send

Note: If no payload is given, that part of the message will be omitted fully eg: CUSTOM=player~callbackId:plugin:command

Received messages will be parsed on the assumption of the ACS format. If a message is received that does not follow this format it will be treated as if it was as follows: CUSTOM=player~callbackId:unknown:unknown:payload

Although callbackId is handled by IP+, if not callbackId is present, it will be displayed as -1 in the pseudo-console.

IP+ Configs:

  • receiver: string
    • Default account messages will be sent to.
  • textareaLines: int
    • Number of lines in pseudo-console (<30 will shrink panel to match.)
  • ignorePluginList: string
    • Comma separated list of plugins to ignore in pseudo-console.
  • defaultCommandList: string
    • Comma separated list of commands to populate the commands dropdown with.
  • pluginOverride: string
    • Default plugin name to override "interactor" with.
  • rememberCommand: bool
    • Retain last sent command in pseudo-console.