Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Add players command to show online + offline players, alert when players connect + disconnected #12

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

cavanpage
Copy link

@cavanpage cavanpage commented Apr 2, 2022

I got inspiration and mirrored the logic from this other valheim repo which loops through log file to find online + offline players : https://github.com/cklokmose/vhstatus

core logic based off this: https://github.com/cklokmose/vhstatus/blob/2e505b75ebc2a72b8653e57711e9385454d36c96/index.js#L29

Features Added:

  • ;players command to show online + offline players
  • send notification when a user connects or disconnects from the server
  • update regex to support more complex player names

Note - only supports 1 character per client since client ID is same for all users on a single machine/client

@cavanpage cavanpage changed the title Add players command to show online + offline players, add start bat script Add players command to show online + offline players, add start script Apr 2, 2022
@cavanpage cavanpage changed the title Add players command to show online + offline players, add start script Add players command to show online + offline players, alert when players connect + disconnected Apr 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant