Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

space-engineers

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

space-engineers

A complete Node.js API for the Space Engineers Remote API.

  • 1.5.4
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

space-engineers

Space Engineers Node.js API Based on the Official Rest API.

Using

This project uses node config. Inorder to setup, copy /config to the root of your project. Then create config/local.json to store your server secret in the "SpaceEngineers" object.

Example config/local.json:

{
  "SpaceEngineers": {
    "baseUrl": "http://your.domain.or.ip.here",
    "secret": "YourSecretHashKeyHere=="
  }
}

If you already use config, make sure to add the following to your default.json

{
  "SpaceEngineers": {
    "baseUrl": "http://localhost",
    "port": 8080,
    "prefix": "/vrageremote"
  }
}

Exports

{
  // Admin Routes
  admin: {
    demotePlayer,
    bannedPlayers,
    banPlayer,
    kickedPlayers,
    kickPlayer,
    promotePlayer
  },
  // API Routes
  api: {
    api
  },
  // Express Server Instance
  app,
  // Server Routes
  server: {
    info,
    ping,
    stop
  },
  // Session Routes
  session: {
    asteroids,
    characters,
    chat,
    economyAnalysis,
    floatingObjects,
    grids,
    planets,
    players,
    save 
  }
}

Most methods will return an array or single object. In every object, you might find additional methods attached:

  • remove
  • stop
  • power.on
  • power.off

For the players method, objects will have additional methods.

  • ban
  • kick
  • promote
  • demote

Keywords

FAQs

Package last updated on 17 Aug 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc