stashButtplugRestim - connect stashapp to buttplug or a generic tcode websocket

Plugin for stashapp that plays funscripts through Buttplug, or optionally sends raw tcode to a tcode websocket server.

Originally tried happykinksters plugin, but it didn’t work the way i needed it to, so i wrote my own.

This plugin does not interpolate commands, or have a fixed update rate, it sends a command with a duration over which the device is expected to move to the position, then repeats that for each funscript action.

Time sync drift shouldn’t be a problem as the plugin compensates for that to keep in sync. And general offset of the script playback can be adjusted

Plugin and instructions to install are over here.

Intiface Buttplug currently has a bug where its max position for a tcode device (1000) gets sent as L01000Ixxx, which is incorrect tcode. So if you play a script and it seems to be only using the lower 10% of your device, this might be why. There is a “bugfix” switch in the plugin settings that limits the commands sent to intiface to 0-99 to get around this until they fix that.