A Rollup plugin for deploying code to the Screeps MMO game world. Version 1.0.4 is the latest stable release, updated sporadically. It automates uploading compiled JavaScript bundles to Screeps servers via the official API, with support for automatic branch naming from Git, source map uploading, and config file-based authentication. Unlike generic upload plugins, this is purpose-built for Screeps' unique upload protocol and branch system. It ships TypeScript types.
npm install rollup-plugin-screeps-worldNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows a minimal Rollup config using TypeScript and the screeps plugin to upload the bundle to Screeps.
Use import syntax in your Rollup config and ensure your project uses ESM (type: module in package.json) or use a dynamic import.
Replace `token` with a config file or inline credentials.
Ensure both output file and .map file are present in the output directory, or set `sourcemap: false`.
Set a static branch name in config, or ensure your project is a git repository.
Change to import syntax: `import screeps from 'rollup-plugin-screeps-world'`
Use `import screeps from 'rollup-plugin-screeps-world'`
Ensure the file exists at the specified path, or provide inline options.
Verify credentials in screeps.json or environment variables.
No dependency data recorded yet.