npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

starfield-ts-ml-screens

v0.3.2

Published

Screens allows you to put different `iframe`s on your screen. This allows you to put custom webpages floating all around your cockpit. Or a custom webpage showing in your pause menu, or inventory, or in a certain position.

Downloads

1

Readme

starfield-ts-screens

Screens allows you to put different iframes on your screen. This allows you to put custom webpages floating all around your cockpit. Or a custom webpage showing in your pause menu, or inventory, or in a certain position.

How does this works?

You need to create a configuration for it, and add it to the screen lists in config.yml. An example config would be:

screens:
- name: 'Name' # This is where you define the name. Must be unique
  url: 'https://whatever.com' # The URL of your screen. Keep in mind that must allow iframes, but not all allows it. Google webpage wont work, but embded youtube videos will.
  frameImage: 'https://whatever.com/frame.png' # This is the frame that would appear surrounding the screen. If you want super cool MFD frames, you can!
  padding: 20 # This is the padding between the frame, and the screen. Basically how much the border size is
  alpha: 1 # This is the alpha for the screen, in case you want holographic screens
  hud: # This is a list of menus where this screen will appear. You can use this to filter cockpit only HUDs, player only HUDs, or even pause menus HUDs. If the HUD is in printAllMenus and visible, the HUD will appear.
  - PausedMenu
  - HUDMenu
  hideInHud: # Same as above, but the opposite. If a game HUD on this list is being shown, the screen will hide. You can use a combination of both to get different results. On this config, for example, the HUD will appear anywhere except cockpit.
  - SpaceshipHudMenu
  size: # The size, in pixels of the screen
    x: 250
    y: 250
  position: # The position where this screen is located. The Z controls the zIndex, in case you want screens appearing in top of others
    x: 80
    y: 10
    z: 0
  rotation: # 3D rotation of screens.
    x: 20
    y: 20
    z: 0
  cells: # Cells where this HUD will be shown
  - cell: 'Jemison' # The cell name. On this example, all cells containing Jemison will trigger this HUD
    position: # Use this to filter an exact position. On this case, if the player is near the position 0, 0, 0, will trigger this HUD
      x: 0
      y: 0
      z: 0
    distance: 100 # The distance where the player needs to be at maximum for this HUD to appear. You can put a really big number to disable the position filtering

Keep in mind that the URL must be IFrame compatible, and not all webpages allows to insert them into iframes

Requirements

My other mods