Code Monkey home page Code Monkey logo

valheim-server-utility's Introduction

Valheim Server Setup Script (for Debian systems)

This script automates the setup of a Valheim game server on a Linux system. It installs necessary packages, creates a Valheim user, sets up the server directory, and configures the server with user-provided details.

Usage

  1. Open a terminal and navigate to the directory containing the script.

    cd /path/to/script

  2. Make the script executable.

    chmod +x valheim_setup.sh

  3. Run the script.

    ./valheim_setup.sh

  4. Follow the prompts to enter the desired server executable name, server name, and a new password.

Important Notes

  • This script assumes a Debian-based Linux distribution and uses apt for package management. Adjustments may be needed for other distributions.

  • The script creates a valheim user and sets up the server directory under /home/valheim/server.

  • It installs required packages such as software-properties-common, lib32gcc-s1, and steamcmd.

  • The Valheim server executable is configured using the provided server name and password.

  • The script redirects server logs to server_logs.txt and runs the server in the background.

  • Server information including IP, port, name, and password is displayed upon completion.

  • To terminate the server, use the command: sudo kill <SERVER_PID> Replace with the actual server process ID.

  • Monitor server logs in real-time with:

    tail -f /home/valheim/server/server_logs.txt

Feel free to customize the script or seek assistance if needed. Enjoy your Valheim server!

valheim-server-utility's People

Contributors

noahsamoa avatar

Watchers

 avatar

valheim-server-utility's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.