Code Monkey home page Code Monkey logo

valheim-discordconnector's Introduction

Discord Connector

CodeQL Build GitHub release (latest by date) Thunderstore.io NexusMods Built against Valheim version

Connect your Valheim server to Discord. (See website for installation or configuration instructions). This plugin is largely based on valheim-discord-notifier, but this plugin supports randomized messages, muting players, and Discord message embeds.

Plugin Details

See the README for the plugin.

Changelog

See the changelog.

Building

To build, first get the path to your Valheim installation and also use the publicize tool to create a publicized version of the game. I'm not sure without that, if it will fail to build or not.

Then, run the following command to build the project:

dotnet build \
   -c Release \
   /p:GamePath="C:\Program Files (x86)\Steam\steamapps\common\Valheim" \
   valheim-discordconnector.sln

Post build, the compiled library and its dependencies get copied into bin/DiscordConnector which enables you to simply copy that folder into $(GamePath)/BePinEx/plugins for testing or use.

The compiled plugin will be in a zip ready for upload at bin/DiscordConnector.zip.

Dependencies

For JSON serialization, using Newtonsoft.Json

For data storage/retrieval using LiteDB (If you want to read the database file generated, you can use LiteDB Studio)

Release Steps

Before release, to bump the version the following needs changed:

  1. Update the version of the plugin in these files
    • src/PluginInfo.cs
    • Metadata/DiscordConnector-Nexus.readme
    • Metadata/manifest.json
    • Metadata/thunderstore.toml
  2. Finalize the changelog entry in docs/changelog.md
  3. Copy changelog notes into Metadata/README.md

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.