morko / haxroomie

Haxroomie is an API and CLI to run headless HaxBall rooms without GUI.
17 stars 14 forks source link

way to control HHM plugins #1

Closed morko closed 5 years ago

morko commented 5 years ago

Add a way to

Plugin list can maybe be obtained with

HHM.manager.getEnabledPluginIds().map((id) => HHM.manager.getPluginName(id));
morko commented 5 years ago

In addition to the features above the session object now sends HHM_EVENT actions to the subscribers. The payload contains eventType and args properties. Event types are listed in https://github.com/saviola777/haxball-headless-manager/blob/master/src/namespace.js