You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 24, 2025. It is now read-only.
Ethan Snow edited this page Nov 23, 2020
·
6 revisions
What is HeadlessInterface
Headless interface is a Neos.js plugin that wraps around the Headless Client, Giving you a promise based stdin/stdout and some support functions
constHeadlessInterface=require("@bombitmanbomb/neosjs/Plugins/HeadlessInterface")constServer=newHeadlessInterface("C:path/to/headless/folder");// Requires having Mono on LinuxServer.on("ready",(sessionId)=>{Server.Send("invite bombitmanbomb").then((response)=>console.log(response))// "Invite Sent!"console.log(`session ${sessionId} started`)// You can use this with neos.js to get server info!})