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

@ecurrah/valheim-manager

v1.0.12

Published

A fork of the valheim-manager node.js application for managing valheim dedicated servers.

Downloads

21

Readme

Valheim Manager

A node.js application for managing valheim dedicated servers. https://www.valheimgame.com/

Features

  • Windows & Linux support
  • Steam installation/updates
  • Valheim installation/updates
  • Valheim launches and automatic restarts
  • Automatic world backups and restores
  • Admin, banned, and permitted users management
  • Automated port configuration (open/close router ports)
  • System processor and memory checks/monitor
  • Command Line Interface for setup and commands
  • Full discord integration for monitor and commands

Try Me

Join the discord server @ https://discord.gg/NJBs6PGU'

  • Try to break our dedicated server with the public bot.
  • Find additional information and setup instructions.
  • See the Valheim Manager change log and updates.
  • Report bugs and get help setting up your server.
  • Find other server hosts and recruit players.

Installation & Setup

  1. Install Node.js - https://nodejs.org/en/
  2. Open a terminal or command prompt.
  3. Run the below command to install the tool.
    • npm install -g valheim-manager
  4. Type the below command to launch the tool.
    • valheim-manager
    • Note: If you get an error stating "Cannot find module" you forgot to use -g when installing.
  5. Follow the prompt to generate a new configuration.
  6. Allow the manager to take care of the rest!

To save time on future launches, navigate to the location where you saved your configuration before starting the valheim manager.

cd C:\Users\scheg\Documents\ValheimManager\
node valheim-manager

Commands

Once the manager completes initialization, you can use any of the commands below to manage your server. These commands will also be available via discord if you chose to setup a discord bot.

  • backup-create - Creates a new backup of the configured world.
  • backup-list - Displays a list of backups available for the configured world.
  • backup-pause - disables automatic backups until re-enabled, or the next vm restart.
  • backup-restore - stops valheim, restores from a backup, and restarts valheim.
  • backup-resume - Enables automatic backups using the configured interval.
  • config-admin - Adds, removed, and lists ids from the valheim admin file.
  • config-banned - Adds, removed, and lists ids from the valheim banned file.
  • config-manager - Displays or sets a value for the valheim manager configuration.
  • config-permit - Adds, removed, and lists ids from the valheim permitted players file.
  • ports-auto-support - Determines if your router supports automatic port management services.
  • ports-close - Closes the game ports if they were automatically opened.
  • ports-open - Opens the game ports on your router using UPnP services.
  • update-manager - Checks for new versions of the valheim manager.
  • update-steam - Automatically updates to the newest version of the steam CLI.
  • update-valheim - Automatically updates to the newest version of the Valheim Dedicates Server.
  • valheim-autostart-off - Disables automatic restarts of the valheim dedicated server.
  • valheim-autostart-on - Enables automatic restarts of the valheim dedicated server.
  • valheim-stop - stops the valheim dedicated server
  • valheim-start - starts the valheim dedicated server
  • valheim-status - Shows the current status of the Valheim Dedicated Server.

Discord Bot

The Valheim Manager can be used as a discord bot. The below instructions will help you register the bot with discord and gather the configuration items the bot will need.

  1. Create a new discord application - https://discord.com/developers/applications
  2. Select Bot under the settings, and then add bot
  3. Take note of the bots TOKEN. This is essentially the bots username and password for discord.
  4. Select OAuth under setting and take not of the CLIENT ID.
  5. Invite the bot to your discord server by using the link below (replace INSERT_CLIENT_ID_HERE with your id)
    • https://discord.com/oauth2/authorize?client_id=INSERT_CLIENT_ID_HERE&scope=bot&permissions=3072
  6. Gather your discord ids by right clicking items in discord and selecting "Copy Id"
    • Discord server id - The discord server the bot should pay attention to
    • Admin / mod role - Anyone with this role will be able to use commands
    • server log channel - The server log will feed to this channel
    • command log channel - All commands will be logged here