Pixels can be earned in a lot of ways such as defeating enemies, destroying scattered pixel capsules or finding. Or add a small chance of a hostile NPC spawning that would create an event with a fighter in a bar or just a criminal on the streets of a peaceful settlement. Pixels are a form of currency in Starbound. The idea can be complicated by adding, for example, a small number of pixels as a museum ticket fee from each NPC. There are even some handy descriptions of each item so you’ll know exactly what it. I found the NPC Spawner mod, it's good, but more suitable for creating permanent workers or regulars, but not for casual visitors. Pastebin user Wccrawford has provided a list of codes to get you exactly the item you need, when you need it.
STARBOUND SPAWN PIXELS MOD
And apparently, such a possibility already exists in the game for outposts, but for some reason there is no such simple mod that would simply separate this spawning possibility into a special object available for the player to create. This would be a great addition to various player buildings such as museums, shops, exhibitions, settlements, etc. To be relevant these boxes need to scale to the sector and difficulty of the world I think. I'd rather there not be any pixel boxes on the later sectors where a kill nets 160+ pixels but the box still only yields 6 pixels. As it happens in outposts, to create a mass of random visitors. The only thing that sucks about it is the amount of pixels that is.
![starbound spawn pixels starbound spawn pixels](https://i.imgur.com/yUO2TUN.png)
And the ability to set the maximum number of NPCs. Everyone has their own random timer, after which the NPC disappears.
![starbound spawn pixels starbound spawn pixels](https://starbounder.org/mediawiki/images/d/dd/Anvil.png)
A mod that would continuously just spawn random friendly NPCs within a certain radius around the spawn point.