
Research
SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.
servercraft
Advanced tools
Download Java, if you haven't already. Then run
sudo npm i servercraft -g in your command-line.
If you want to use it programmatically, install it with npm i servercraft in your command-line.
Get a full list of commands:
servercraft
Set up your server
servercraft setup <version>
Omit version to download the latest version
Setup & start your server
servercraft start
Get your IP
ip
const servercraft = require('servercraft')
const server = new servercraft()
server.setup(startAfter, args, config, version)
If startAfter is false, you can omit or pass null for the args and config parameters. If startAfter is true, you can omit the config parameter.
server.start(args, config)
server.stop()
server.ip()
Args are command-line arguments, and config is a JSON object. You can find a list of all the arguments here. You can find a list of all the config options here
FAQs
Make your own Minecraft server
We found that servercraft demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

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.

Research
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.