2.3.1
This is a placeholder
Neos.js Plugin - HeadlessInterface
HeadlessInterface
Extends EventEmitter
Accept a friend request
(String)
Promise<String>
Set a new world access level
Ban the given user
Can the headless client send another command right now?
Close the currently focused world
Exit Async Logging Mode
Focus world
((Number | String))
List all incoming friend requests
Forces a full garbage collection
Invite a user to the server
Kick the given user from the session
End the Process
any
Login to an account
Send a message!
Respawn the given user
Restart the current world
Assign a role to the given user
Send a command to the Headless Client
Save the currently focused world
Saves the current settings into the original config file Usage: SaveConfig(filename) (optional, will save in place without)
(String?)
Get the ID of the current session
Get the Headless Client SessionId
Get the URL of the current session
Silence the given user
Enter Async Extended Logging Mode Use .on("message", ()=>{}) to get outputs. Commands can not run properly while in logging mode. (Yet)
Start a new world from template
Start a world with a url
Only Guarenteed to be filled after HeadlessInterface#ready has fired
({Running: Boolean, Ready: Boolean, Starting: Boolean, CompatibilityHash: String, MachineID: String, log: Boolean, logMsg: Number, sessionId: String, sessionIdAttempts: Number})
Show the status of the current world
Unban the given user
Remove silence from the given user
Lists all users in the world
List all active worlds
Type: String
Fires when the headless client is Ready