SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Source-checkedWorld generation

PlanetsLib

by thesixthroc · for Factorio

Code and graphics to help modders creating planets, moons and other systems. This is a community project.

123KDownloads
27d agoLast updated
MITLicense
2.1Latest game version

About PlanetsLib

From Factorio Mod Portal

Code and graphics to help modders creating planets, moons and other systems. This is a community project.

foundrygg.comDiscordGitHub

PlanetsLib

Code and graphics to help modders creating planets, moons and other systems. This library is a community project. Anyone is welcome to open a pull request on Github. For feature requests, please open an issue. For general discussion, use Discord.

Since other mods make use of the 'orbit structure' this mod provides to the solar system, it is recommended to add PlanetsLib compatibility to your planet mod either by defining your planet prototype using PlanetsLib (as in the first image in the mod portal gallery), or by calling PlanetsLib:update in data-updates.lua (second image in the gallery). Besides improving compatibility with PlanetsLib consumers, this means if another mod updates the position of your planet's orbital parent without moving your planet, your planet will be moved too.

We aim to never make any breaking API changes such that the library is safe to use. We sometimes deprecate APIs by removing them from the documentation, but they stay functional.

Documentation

Contributors

thesixthroc, MeteorSwarm, Midnighttigger, Tserup, notnotmelon, Frontrider, Zwvei, allisonlastname, Hoochie63, SirPuck, Osmo, Thremtopod, Kryzeth.

Discord

Highlights

From source data

Game versions

Built for Factorio 2.1.

Footprint

Rated a light load on a server.

License

Published under MIT.

PlanetsLib on Nxeon

From our catalogue
One-click install
Supported on Nxeon Factorio servers. We download it from Factorio Mod Portal, place it, and restart the server.
Server side
Required on the server
Server load
light
Smallest plan we suggest
Factorio — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
2.3.6, released 2026-10-25

Recent builds

BuildReleasedGame versionsLoaders
2.3.62026-10-252.1n/a
2.3.52026-10-252.1n/a
2.3.42026-10-242.1n/a
2.3.32026-10-232.1n/a
2.3.22026-10-222.1n/a
2.3.12026-10-222.1n/a

Dependencies

Declared by the newest build that lists any. Required ones are installed with it on one-click installs.

Run PlanetsLib on a Factorio server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Factorio Mod Portal as “Mods”

World generation

Changes or adds to how new terrain, biomes and structures are created.

Runs on your server

From source side support

Factorio Mod Portal lists PlanetsLib as required on the server. Check its Factorio Mod Portal page to see whether players need it too.

Compatibility

Game
Factorio
Runs on
Serverrequired on the server
Game versions
2.1

Verified at the source

  • ✓Factorio Mod PortalOfficial listing, checked 2026-10-26Open ↗
  • ✓Authorthesixthroc, as published on Factorio Mod Portal
  • ✓LicenseMITFree

PlanetsLib, answered

Generated from the mod’s own source data.

Do my players need to install PlanetsLib?

Factorio Mod Portal lists PlanetsLib as required on the server. Check its Factorio Mod Portal page to see whether players need it too.

Is it free?

Yes. PlanetsLib is free to download from Factorio Mod Portal. Its license is MIT.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run PlanetsLib on a Factorio server.

Deploy in about a minute from $2.99 a month, then add PlanetsLib in one click.