Skip to content

Releases: CrystalENVT/POPHockey

v2.0.0

31 Dec 06:29
edffdff

Choose a tag to compare

All commands in this version use a hard-coded identifier (~). A future version will allow for this to be configurable.

Commands

  • ~ping > responds with pong & delay
  • ~help / ~h > responds with a help message
  • ~listTeams > get list of teams in NHL (& their teamNumber)
  • ~setup / ~setupTeam > setup a new publisher for the current channel (provide teamNumber, & optionally end with true for stats publisher)
  • ~deleteTeam > stop tracking a publisher in this channel

Download & Run

Download POPHockey-2.0.0-all.jar & run with java -jar /path/to/jar/POPHockey-2.0.0-all.jar <discord api token> to start it running. Stop it with SIGINT / Ctrl-c.

Cache File location

The created Cache File when the program runs is in the home directory:

  • On Windows it is at C:\<Your Username>\POPHockey\nhl_cache
  • On *nix systems (e.g. MacOS & Linux), it is at ~/.config/POPHockey/nhl_cache

This version & newer does not use slf4j-log4j (instead uses slf4j-api), & is therefore not potentially susceptible to the log4shell vulnerability

v1.0.1

12 Dec 06:08

Choose a tag to compare

v1.0.1 Pre-release
Pre-release

All commands in this version use a hard-coded identifier (~). A future version will allow for this to be configurable.

Note: This release is marked as a pre-release as of 2023.12.31, due to this release not working with the *NEW* NHL API. This was a finished release at the time.

Commands

  • ~ping > responds with pong & delay
  • ~listTeams > get list of teams in NHL (& their teamNumber)
  • ~setup / ~setupTeam > setup a new publisher for the current channel (provide teamNumber, & optionally end with true for stats publisher)
  • ~deleteTeam > stop tracking a publisher in this channel

Download & Run

Download POPHockey-1.0.1-all.jar & run with java -jar /path/to/jar/POPHockey-1.0.1-all.jar <discord api token> to start it running. Stop it with SIGINT / Ctrl-c.

Cache File location

The created Cache File when the program runs is in the home directory called .nhl_cache as a hidden file.


This version & newer does not use slf4j-log4j (instead uses slf4j-api), & is therefore not potentially susceptible to the log4shell vulnerability

Initial Release - v1.0.0

02 Jan 22:07

Choose a tag to compare

Pre-release

This version included slf4j-log4j12, which uses log4j 1.2 as the backend. I have since switched out this logger for another (just slf4j-api). Even though I wasn't doing any logging, one of my dependencies was, so make sure to update to v1.0.1 for security purposes

All commands in this version use a hard-coded identifier (~). A future version will allow for this to be configurable.

Note: This release is marked as a pre-release as of 2023.12.31, due to this release not working with the *NEW* NHL API. This was a finished release at the time.

Commands

  • ~ping > responds with pong & delay
  • ~listTeams > get list of teams in NHL (& their teamNumber)
  • ~setup / ~setupTeam > setup a new publisher for the current channel (provide teamNumber, & optionally end with true for stats publisher)
  • ~deleteTeam > stop tracking a publisher in this channel

Download & Run

Download POPHockey-1.0.0-all.jar & run with java -jar /path/to/jar/POPHockey-1.0.0-all.jar <discord api token> to start it running. Stop it with SIGINT / Ctrl-c.

Cache File location

The created Cache File when the program runs is in the home directory called .nhl_cache as a hidden file.