Comments (6)
Awesome work nwesterhausen! I saw the change log this morning, you're a wizard :) thank you for your hard work.
from valheim-discordconnector.
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.
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.
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.
Just released 0.5.0 with randomized messages. Stats tracking will be later this week.
from valheim-discordconnector.
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)
- Enhancement Request - Quests & Marketplace events leaderboard
- Chat Shout | Potential Issue HOT 9
- Leaderboard Data Update | Issue HOT 1
- Update configuration documentation
- Toggle for Extra Logging HOT 1
- More specific death messages HOT 1
- more easy to look in discord channel with debug
- Server Start/Stop notifications when player leaves or joins HOT 2
- valheim update 0.216.9
- Make a way to display local IP when server start HOT 4
- [BUG] records.db isn't getting populated from records.db.log HOT 1
- [BUG] Player join/leave notifications no longer working HOT 1
- [Feature Request] A notification for when bosses are killed...
- Inquiry on web exception log HOT 1
- [BUG] TWO IPs displaying with webhook on discord instead of ONE HOT 2
- [BUG] Server fails to start with latest BepInEx 5.4.2201 HOT 3
- [BUG] looks like thunderstore kicked the mod - maybe a re-upload would be enough? HOT 3
- [BUG] The output for our current game includes stats from a previous world/game HOT 2
- [BUG] Ping shows player's pos instead of ping's target HOT 2
- [BUG] no messages to discord channel (System.Net.WebException: Error: NameResolutionFailure) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from valheim-discordconnector.