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

@ianpants/project-zomboid-server

v0.86.0

Published

project-zomboid-construct =========================

Downloads

6

Readme

project-zomboid-construct

This will provide a project zomboid server runnning on EC2. Server configs will be generated at synth. If you provide a file under assets/mods.txt you can use a space seperated Modname:ModID format to list server mods. See the current mod list in this repo. This way they will be downloaded and managed at server start.

It is assumed you have a VPC and HostedZone to hook into.

The stack will provide the following:

  • The four needed config files, and a systemd unit file
    • Generated by template (coming soon, more config)
  • MultiPartUserData
    • Install system dependencies
    • Install game via steamcmd
    • Create cdk assets from the files generated at synth
      • Add file commands (including unzip of main files) to UserData
    • Write, enable, and start a systemd unit file on start-server.sh
  • A subdomain on the provided HostedZone (server name is your domain name, without a ".com")
  • Steam ingress rules
  • If provided, IP address whitelisting for a set of users (required until NLB is finished)
  • An EC2 instance using all above

Note: As of this commit access is provided by IP address ingress rules. This will remain until I finish the networking portion.

Config Props

Requires config interfaces for the infrastructue and game itself:


export interface InfraConfig {
  region: string,
  keyName: string;
  role: iam.IRole,
  subdomain?: string,
  vpc: ec2.IVpc,
  sg: ec2.ISecurityGroup,
  hz: r53.IHostedZone,
  vol: ec2.IVolume,
  instancetype?: string,
}

export interface GameConfig {
  distdir: string,
  servername?: string,
  modFile?: Buffer,
  public?: Boolean;
  fresh?: boolean,
}

modFile

You can provide a list of mods. Place a file called mods.txt in assets/ to load it. Otherwise the below modlist will be used. This file must be in a certain format (below) to be properly parsed. Currently this pacakge has the following mods.txt file embedded. If you want to change it. Mods are included in ther server.ini file:


2503622437 SkillRecoveryJournal
2667899942 VFExpansion1
2701170568 ExtraMapSymbols 
2701170568 ExtraMapSymbolsUI
1910606509 CookingTime
1911229825 LearningTime
2039234811 RelaxingTime
1926311864 ClearingTime
2244879881 ExploringTime
1105347046 PZGate
1510950729 FRUsedCars 
1510950729 FRUsedCarsNRN
2489148104 87cruiser
2441990998 89def110
2529746725 EasyConfigChucked
2458631365 ExpandedHelicopterEvents
2756615186 rx7fc
1299328280 ToadTraits
2686972114 DylansZombieLoot
2695471997 myclothinguimod
2711057211 CleanDirt
2699828474 RebalancedPropMoving
2169435993 modoptions
2619072426 TheStar
2734705913 MapSymbolSizeSlider
2392709985 tsarslib
2478768005 TMC_Trolley

Altogether after deploy a player would be able to use sub.example.com on port 16261 and 8766 as well as necessary ports for Steam.