Giter Club home page Giter Club logo

Comments (6)

raziell74 avatar raziell74 commented on June 15, 2024 1

Awesome work nwesterhausen! I saw the change log this morning, you're a wizard :) thank you for your hard work.

from valheim-discordconnector.

nwesterhausen avatar nwesterhausen commented on June 15, 2024

Thanks for the suggestions!

Randomly choosing from a list of messages should be something I can implement relatively easily.

The stats thing, I could see that working as a message from the server on a trigger, like someone logs in or dies and the server could tag on a message of how many times. Or on startup or a time send some total stats for everyone, but right now the way the messages get sent is one directional. Always from the game server to discord. I like the idea of it working like a bot and ask for stats but for right now I don't see how to simply accomplish that. I could listen on the game server chat for a specific message to work as a trigger to send stats to discord. And of course, for all of this I have to add some stat tracking into the mix.

from valheim-discordconnector.

raziell74 avatar raziell74 commented on June 15, 2024

I was thinking it could keep a yml file on the server with counts, or to keep it simple you could keep the counts in a config or something as an encoded string. Not many people will be looking at config files on a server haha. I appreciate you taking the time to read our ideas. Really looking forward to how this evolves :D

from valheim-discordconnector.

nwesterhausen avatar nwesterhausen commented on June 15, 2024

Yeah the plan at the moment is to store the counts in a json file on the server, since I"m already pulling in a library for json serialization. Trying to figure out the "best practice" place to put it. Probably in the game directory since it isn't really configuration related and is just data used when running the server.

from valheim-discordconnector.

nwesterhausen avatar nwesterhausen commented on June 15, 2024

Just released 0.5.0 with randomized messages. Stats tracking will be later this week.

from valheim-discordconnector.

nwesterhausen avatar nwesterhausen commented on June 15, 2024

I appreciate it! You're welcome. I still have to include the stats inside the messages but they are being tracked as of version 0.5.1.

from valheim-discordconnector.

Related Issues (20)

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.