Skip to content

A networking protocol designed to facilitate remote control of the Ship of Harkinian client.

Notifications You must be signed in to change notification settings

HarbourMasters/sail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

Sail is a networking protocol designed to facilitate remote control of the Ship of Harkinian client. It is intended to be utilized alongside a Sail server, for which we provide a few straightforward implementations here in this repo. The current implementations available allow integration with Twitch chat and SAMMI Bot, feel free to contribute your own!

How to

  • Download the associated SoH Build
  • Install Deno
  • Clone this repository
  • Run either the custom or JSON sail, the differences are explained below
cd <path to this repo>/examples
deno run --allow-net --allow-read twitch_json_sail.ts

Sail Types

Out of the box both of the twitch types are configured with the same commands/rewards, primarily to show you an example of how to configure them.

Twitch JSON Sail

The JSON sail is configuration driven by a JSON file, while it is easier to configure and get running, it is less flexible than the custom sail. I'd start here until you need to do something that the JSON sail doesn't support.

Twitch Custom Sail

The custom sail is a TypeScript file that is compiled and run by Deno. It is more flexible than the JSON sail, but requires a bit more knowledge of programming to configure to your liking. Your limit is your imagination here.

SAMMI Sail

The SAMMI sail is meant to be used with the SAMMI bot, it simply redirects traffic between your SAMMI bot and SoH. You can configure the sail with env variables to point to your SAMMI's webhook endpoint with SAMMI_WEBHOOK_URL and have SAMMI point to the Sail's endpoint at http://localhost:43383

About

A networking protocol designed to facilitate remote control of the Ship of Harkinian client.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published